Home
last modified time | relevance | path

Searched refs:getEncoder (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DBase64Test.java71 checkAlphabet(TABLE_1, "", Base64.getEncoder()); in testAlphabet_plain()
391 assertRoundTrip(Base64.getEncoder(), decoder, inputString, decodedBytes); in testDecoder_decodeArrayToArray()
508 checkEncoder_nullArgs(Base64.getEncoder()); in testEncoder_nullArgs()
512 checkEncoder_nullArgs(Base64.getEncoder().withoutPadding()); in testEncoder_nullArgs()
623 OutputStream result = Base64.getEncoder().wrap(new ByteArrayOutputStream()); in closedEncodeStream()
637 Encoder encoder = Base64.getEncoder(); in testEncoder_encodeArrayToArray()
670 Encoder encoder = Base64.getEncoder(); in testEncoder_encodeByteBuffer()
714 checkRoundTrip_empty(Base64.getEncoder(), Base64.getDecoder()); in testRoundTrip_empty()
739 checkRoundTrip_allBytes_singleLine(Base64.getEncoder(), Base64.getDecoder()); in testRoundTrip_allBytes_plain()
775 checkRoundTrip_simple(Base64.getEncoder(), Base64.getDecoder()); in testRoundTrip_simple_basic()
[all …]
DLibcoreIoDerivedBase64Test.java274 return Base64.getEncoder().encodeToString(data); in encode()
/libcore/ojluni/src/test/java/util/Base64/
DTestBase64.java66 test(Base64.getEncoder(), Base64.getDecoder(), numRuns, numBytes); in main()
101 testNull(Base64.getEncoder()); in main()
110 testIOE(Base64.getEncoder()); in main()
117 final byte[] decoded = Base64.getEncoder().encode(src); in main()
144 testEncoderKeepsSilence(Base64.getEncoder()); in main()
372 Base64.Encoder enc = Base64.getEncoder(); in testDecodeIgnoredAfterPadding()
DTestBase64Golden.java51 test0(Base64Type.BASIC, Base64.getEncoder(), Base64.getDecoder(), in main()
/libcore/ojluni/src/test/java/util/Properties/
DPropertiesSerialization.java114 final String base64 = Base64.getEncoder().encodeToString(byteArray); in main()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPrintStreamTest.java763 String message = "Expected " + Base64.getEncoder().encodeToString(expected) + ", got: " in assertByteArraysEqual()
764 + Base64.getEncoder().encodeToString(actual); in assertByteArraysEqual()
/libcore/ojluni/src/main/java/java/util/
DBase64.java89 public static Encoder getEncoder() { in getEncoder() method in Base64
/libcore/api/
Dcurrent.txt13398 method public static java.util.Base64.Encoder getEncoder();