- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 45 for upperCase (0.08 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketExtensionsTest.kt
fun absentValue() { assertThat(parse("permessage-deflate; server_max_window_bits")).isEqualTo( WebSocketExtensions(perMessageDeflate = true, unknownValues = true), ) } @Test fun uppercase() { assertThat(parse("PERMESSAGE-DEFLATE; SERVER_NO_CONTEXT_TAKEOVER; CLIENT_NO_CONTEXT_TAKEOVER")) .isEqualTo( WebSocketExtensions( perMessageDeflate = true,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AsciiTest.java
// Ascii.equalsIgnoreCase(), but it is a signal that its documentation may need updating as // regards edge cases. // The Unicode point {@code 00df} is the lowercase form of sharp-S (ß), whose uppercase is "SS". assertEquals("PASSWORD", "pa\u00dfword".toUpperCase()); // [*] assertFalse("pa\u00dfword".equalsIgnoreCase("PASSWORD")); // [*] assertFalse(Ascii.equalsIgnoreCase("pa\u00dfword", "PASSWORD")); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
UniAddress ua = new UniAddress(addr); // Act String called = ua.firstCalledName(); // Assert assertEquals(expectedPrefix, called, "firstCalledName should return uppercase prefix or SMBSERVER_NAME"); } @Test void nextCalledNameWithNbtAddressReturnsDelegateValue() { // Arrange NbtAddress nbtMock = mock(NbtAddress.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
assertEquals(16384, SMBUtil.readInt2(dst, descrEnd + 2)); // Verify serverTypes assertEquals(serverTypes, SMBUtil.readInt4(dst, descrEnd + 4)); // Verify domain (should be uppercase) int domainStart = descrEnd + 8; String writtenDomain = readNullTerminatedString(dst, domainStart); assertEquals(domain.toUpperCase(), writtenDomain); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
} @Nested @DisplayName("Domain and Host Fixup Tests") class FixupTests { @Test @DisplayName("Should fixup domain for uppercase NetBIOS name") void testFixupDomainWithNetBIOSName() { // Setup with uppercase server name setupReferralWithServer("SERVER"); referralData.fixupDomain("example.com");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt
\#\u03B2 s:http h:example.org p:/foo/bar f:#\u03B2 data:text/html,test#test s:data p:text/html,test f:#test # Based on http://trac.webkit.org/browser/trunk/LayoutTests/fast/url/file.html # Basic canonicalization, uppercase should be converted to lowercase file:c:\\foo\\bar.html file:///tmp/mock/path s:file p:/c:/foo/bar.html # Spaces should fail \s\sFile:c|////foo\\bar.html s:file p:/c:////foo/bar.html # This should fail
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 14.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt
} else { evictToRecoverBytes(dynamicTableByteCount - maxDynamicTableByteCount) } } } } /** * An HTTP/2 response cannot contain uppercase header characters and must be treated as * malformed. */ @Throws(IOException::class) fun checkLowercase(name: ByteString): ByteString { for (i in 0 until name.size) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 22.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt
* * This test includes tests from [Guava's](https://code.google.com/p/guava-libraries/) * MediaTypeTest. */ open class MediaTypeTest { open fun MediaType.charsetName(): String? = parameter("charset")?.uppercase() protected open fun parse(string: String): MediaType = string.toMediaTypeOrNull()!! protected open fun assertInvalid( string: String, exceptionMessage: String?, ) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 7.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
when(mockInetAddress.getHostName()).thenReturn("h.ostname"); UniAddress uniAddress = new UniAddress(mockInetAddress); // Dot at position 1, which is NOT > 1, so it doesn't substring, just uppercase assertEquals("H.OSTNAME", uniAddress.firstCalledName()); } } @Nested @DisplayName("nextCalledName method tests") class NextCalledNameTests {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0)