- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for testDecoding (0.17 seconds)
-
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
public void testEncoding() { byte[] buffer = new byte[256]; int encodedSize = context.encode(buffer, 0); assertTrue(encodedSize > 8); // Minimum size: count + padding + flags + algorithms assertEquals(context.size(), encodedSize); } @Test @DisplayName("Test context decoding") public void testDecoding() throws SMBProtocolDecodingException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
private static void testEncodingWithSeparators( BaseEncoding encoding, String decoded, String encoded) { testEncoding(encoding, decoded, encoded); // test separators work for (int sepLength = 3; sepLength <= 5; sepLength++) { for (String separator : ImmutableList.of(",", "\n", ";;", "")) { testEncoding( encoding.withSeparator(separator, sepLength), decoded,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.7K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
int statusCode = 200; response.setHttpStatusCode(statusCode); assertEquals(statusCode, response.getHttpStatusCode()); } @Test public void testEncoding() { CurlResponse response = new CurlResponse(); String encoding = "UTF-8"; response.setEncoding(encoding); assertEquals(encoding, response.getEncoding()); } @TestCreated: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 17.7K bytes - Click Count (0)