public void testUpdate() throws Exception { PrivacyCalcSQLite service = new PrivacyCalcSQLite(this.getContext()); CryptInfo ci = service.find(10); ci.setHashid(ci.hashCode()); ci.setFilename("hello.jpg"); ci.setFilepath("hi"); ci.setDestpath("happy"); service.update(ci); Log.i(tag, ci.toString()); }
public void testFind() throws Exception { PrivacyCalcSQLite service = new PrivacyCalcSQLite(this.getContext()); CryptInfo ci = service.find(10); Log.i(tag, ci.toString()); }