use autovalue for InputDataParcel and SignEncryptParcel

This commit is contained in:
Vincent Breitmoser
2017-05-23 15:04:04 +02:00
parent 040a5a2006
commit 9d485dfe9f
8 changed files with 79 additions and 146 deletions

View File

@@ -128,7 +128,7 @@ public class InputDataOperationTest {
InputDataOperation op = new InputDataOperation(spyApplication,
KeyWritableRepository.createDatabaseReadWriteInteractor(RuntimeEnvironment.application), null);
InputDataParcel input = new InputDataParcel(fakeInputUri, null);
InputDataParcel input = InputDataParcel.createInputDataParcel(fakeInputUri, null);
InputDataResult result = op.execute(input, CryptoInputParcel.createCryptoInputParcel());
@@ -308,7 +308,7 @@ public class InputDataOperationTest {
InputDataOperation op = new InputDataOperation(spyApplication,
KeyWritableRepository.createDatabaseReadWriteInteractor(RuntimeEnvironment.application), null);
InputDataParcel input = new InputDataParcel(FAKE_CONTENT_INPUT_URI_1, null);
InputDataParcel input = InputDataParcel.createInputDataParcel(FAKE_CONTENT_INPUT_URI_1, null);
return op.execute(input, CryptoInputParcel.createCryptoInputParcel());
}