Searched refs:compressTransform (Results 1 – 4 of 4) sorted by relevance
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/ |
D | SynchronousFileStorageTest.java | 76 ImmutableList.of(compressTransform, encryptTransform, identityTransform), in initStorage() 297 when(compressTransform.wrapForRead(eqParam(uriWithCompressParam), any(InputStream.class))) in read_shouldInvokeTransforms() 300 verify(compressTransform).wrapForRead(eqParam(uriWithCompressParam), any(InputStream.class)); in read_shouldInvokeTransforms() 301 verify(compressTransform).encode(eqParam(uriWithCompressParam), eq(file1Filename)); in read_shouldInvokeTransforms() 307 when(compressTransform.wrapForRead( in read_shouldInvokeTransformsWithEncoded() 311 verify(compressTransform) in read_shouldInvokeTransformsWithEncoded() 313 verify(compressTransform).encode(eqParam(uriWithCompressParamWithEncoded), eq(file1Filename)); in read_shouldInvokeTransformsWithEncoded() 319 when(compressTransform.wrapForWrite(eqParam(uriWithCompressParam), any(OutputStream.class))) in write_shouldInvokeTransforms() 322 verify(compressTransform) in write_shouldInvokeTransforms() 324 verify(compressTransform).encode(eqParam(uriWithCompressParam), eq(file1Filename)); in write_shouldInvokeTransforms() [all …]
|
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/openers/ |
D | NativeReadOpenerTest.java | 54 @Mock protected Transform compressTransform; field in NativeReadOpenerTest 61 when(compressTransform.name()).thenReturn("compress"); in initStorage() 68 ImmutableList.of(compressTransform), in initStorage() 82 verify(compressTransform, never()).wrapForRead(eqParam(compressParam), any(InputStream.class)); in nativeRead_shouldEncodeButNotInvokeTransforms() 83 verify(compressTransform).encode(eqParam(compressParam), eq(file1Filename)); in nativeRead_shouldEncodeButNotInvokeTransforms()
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/ |
D | FileStorageTestBase.java | 77 @Mock protected Transform compressTransform; field in FileStorageTestBase 127 when(compressTransform.name()).thenReturn("compress"); in initMocksAndCreateFileStorage() 128 when(compressTransform.encode(any(), any())).then(returnsSecondArg()); in initMocksAndCreateFileStorage() 129 when(compressTransform.decode(any(), any())).then(returnsSecondArg()); in initMocksAndCreateFileStorage()
|
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/internal/ |
D | MobileDataDownloadManagerTest.java | 741 Transforms compressTransform = in testGetDataFileUri_readTransform() local 748 .setFile(0, dataFileGroup.getFile(0).toBuilder().setReadTransforms(compressTransform)) in testGetDataFileUri_readTransform()
|