- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,983 for Docstring (0.05 sec)
-
src/main/webapp/WEB-INF/view/error/redirect.jsp
response.sendRedirect(redirectPage.toString()); } else { response.sendError(statusCode); } } else if("logOut".equals(type)) { redirectPage.append("/login/?type=logout&code=" + statusCode); response.sendRedirect(redirectPage.toString()); } else if("badRequest".equals(type)) { redirectPage.append("/error/badrequest/"); response.sendRedirect(redirectPage.toString()); } else if(!"badAuth".equals(type)) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 23 06:18:48 UTC 2023 - 1.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
// A simple type whose .toString() will return the same value each time, but without maintaining // a strong reference to that value. static class Key { private final int value; private WeakReference<String> toString; Key(int value) { this.value = value; } @Override public synchronized String toString() { String s; if (toString != null) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypesTest.java
assertEquals(jvmType1.toString(), ourType1.toString()); assertEquals(jvmType2.toString(), ourType2.toString()); } public void testNewArrayTypeOfArray() { Type jvmType = new TypeCapture<int[][]>() {}.capture(); Type ourType = Types.newArrayType(int[].class); assertEquals(jvmType.toString(), ourType.toString());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 19:03:19 UTC 2025 - 15.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal()).toString()); assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal(input.getBytes(UTF_8))).toString()); assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashString(input, UTF_8).toString()); assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashBytes(input.getBytes(UTF_8)).toString()); } public void testKnownInputs_mixedAlgorithms() throws Exception {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 13.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
} @Override public String toString() { return "Predicates.alwaysTrue()"; } }, /** * @see Predicates#alwaysFalse() */ ALWAYS_FALSE { @Override public boolean apply(@Nullable Object o) { return false; } @Override public String toString() { return "Predicates.alwaysFalse()"; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
"The 'next' property of the appended referral should point back to the initial referral, closing the loop."); } /** * Tests the toString method of the DfsReferral class. * It verifies that the toString method returns a string representation of the object * that accurately reflects its properties. */ @Test void testToString() { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
assertNotNull(new Organization().toString()); } @Test public void testToStringNotNonsense11() { Organization org = new Organization(); org.setName("Testing Maven Unit"); org.setUrl("https://maven.localdomain"); assertEquals("Organization {name=Testing Maven Unit, url=https://maven.localdomain}", org.toString()); } @Test
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
} @Test @DisplayName("toString includes information level in hex") void testToString() { int level = 0xABC; Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level); String str = cmd.toString(); // toString uses Hexdump.toHexString(informationLevel, 3) assertTrue(str.contains(Hexdump.toHexString(level, 3)), "toString should contain hex level");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
// toString should include the class name and (if non-null) the message String ts = ex.toString(); assertTrue(ts.contains("SMBProtocolDecodingException"), "toString should include class name"); if (message != null && !message.isEmpty()) { assertTrue(ts.contains(message), "toString should include non-empty message"); } } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java
// Assert assertEquals(0, result); } @Test @DisplayName("toString should return formatted string with pipe name") void testToString() { // Arrange transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName); // Act String result = transWaitNamedPipe.toString(); // Assert assertNotNull(result);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0)