- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 60 for upperCased (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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")); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
@Test @DisplayName("createContext: rejects NetBIOS/short host names") void createContext_rejectsShortNetbiosHost() { Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null); // Using an uppercase short name (no dot) must throw an unsupported operation SmbUnsupportedOperationException ex =Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (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);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (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
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.7K bytes - Click Count (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");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.6K bytes - Click Count (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?, ) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 7.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
return text.substring(prefix.length()); } return text; } /** * Decapitalizes a string according to JavaBeans conventions. * Note: If the first two characters are uppercase, the string will not be decapitalized. * <p> * Usage example: * </p> * * <pre> * StringUtil.decapitalize("UserId") = "userId" * StringUtil.decapitalize("ABC") = "ABC"
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 21.5K bytes - Click Count (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
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 14.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
assertTrue(result.contains("nextEntry=")); assertTrue(result.contains("action=")); assertTrue(result.contains("file=" + fileName)); // Hexdump.toHexString produces 4-character padded uppercase hex String expectedHex = String.format("%04X", action); assertTrue(result.contains("0x" + expectedHex)); } @Test @DisplayName("Test toString with empty object")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
private final String name; private final int type; private final String scope; TestNetbiosName(String name, int type, String scope) { // Ensure names are uppercase and limited to 15 characters this.name = name != null && name.length() > 15 ? name.substring(0, 15).toUpperCase() : (name != null ? name.toUpperCase() : ""); this.type = type;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0)