Home
last modified time | relevance | path

Searched refs:getEncoder (Results 1 – 4 of 4) 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/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.java87 public static Encoder getEncoder() { in getEncoder() method in Base64