Home
last modified time | relevance | path

Searched refs:ORIGTEXT_SHA256_B64 (Results 1 – 2 of 2) sorted by relevance

/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/transforms/
DIntegrityTransformTest.java52 private static final String ORIGTEXT_SHA256_B64 = "FoR1HrxdAhY05DE/gAUj0yjpzYpfWb0fJE+XBp8lY0o="; field in IntegrityTransformTest
85 assertThat(IntegrityTransform.getDigestIfPresent(uriWithHash)).isEqualTo(ORIGTEXT_SHA256_B64); in write_shouldComputeChecksum()
102 .isEqualTo(ORIGTEXT_SHA256_B64); in consumeStream_shouldComputeChecksum()
119 .isEqualTo(ORIGTEXT_SHA256_B64); in consumeStream_shouldBothVerifyAndComputeChecksum()
132 .isEqualTo(ORIGTEXT_SHA256_B64); in consumeStream_shouldBothVerifyAndComputeChecksum()
152 assertThat(IntegrityTransform.getDigestIfPresent(result.get())).isEqualTo(ORIGTEXT_SHA256_B64); in readFully_shouldComputeChecksum()
173 .isNotEqualTo(ORIGTEXT_SHA256_B64); in readWithWithPrematureClose_shouldComputeDifferentChecksum()
191 .isEqualTo(ORIGTEXT_SHA256_B64); in read_shouldValidateChecksum()
240 .isEqualTo(ORIGTEXT_SHA256_B64); in partialReadAndClose_shouldFailValidation()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/openers/
DIntegrityUriComputingOpenerTest.java39 private static final String ORIGTEXT_SHA256_B64 = "FoR1HrxdAhY05DE/gAUj0yjpzYpfWb0fJE+XBp8lY0o="; field in IntegrityUriComputingOpenerTest
60 assertThat(digest).isEqualTo(ORIGTEXT_SHA256_B64); in integrityUriComputingOpener_shouldProduceCorrectChecksum()
75 assertThat(digest).isEqualTo(ORIGTEXT_SHA256_B64); in integrityUriComputingOpener_shouldIgnoreIncorrectInitialSpec()
90 assertThat(digest).isEqualTo(ORIGTEXT_SHA256_B64); in integrityUriComputingOpener_shouldIgnoreIntegrityParamWithNoSubparam()