- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,573 for docstring (0.65 sec)
-
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"); } } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java
public void testToString_minimal() { assertNotNull("toString() should not return null", getMap().toString()); } @CollectionSize.Require(ZERO) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size0() { assertEquals("emptyMap.toString should return {}", "{}", getMap().toString()); } @CollectionSize.Require(ONE)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
HashCode hash2 = HashCode.fromString(hash1.toString()); assertEquals(hash1, hash2); } public void testRoundTrip() { for (ExpectedHashCode expected : expectedHashCodes) { String string = HashCode.fromBytes(expected.bytes).toString(); assertEquals(expected.toString, string); assertEquals( expected.toString,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
assertTrue(result.startsWith(PROTO + ":" + SERVER + "[null,"), "toString should start correctly."); assertTrue(result.contains("connect=80"), "toString should contain connect option."); assertTrue(result.contains("bind=123"), "toString should contain bind option."); } @Test void testToStringWithEndpointAndOptions() throws DcerpcException { String endpoint = "\\pipe\\srvsvc";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java
public void test_constructorWithScheduledJob() { // Test with scheduled job that has a custom toString implementation ScheduledJob scheduledJob = new ScheduledJob() { @Override public String toString() { return "TestScheduledJob[id=123]"; } };
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
PrunedTag tag = tags[0]; assertEquals("div", tag.toString().split(", ")[0].split("=")[1]); assertTrue(tag.toString().contains("id=main-modal")); assertTrue(tag.toString().contains("css=modal")); assertTrue(tag.toString().contains("attrName=data-toggle")); assertTrue(tag.toString().contains("attrValue=modal")); // Test multiple tags with different combinations
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 21K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StopwatchTest.java
stopwatch.start(); assertEquals("0.000 ns", stopwatch.toString()); ticker.advance(1); assertEquals("1.000 ns", stopwatch.toString()); ticker.advance(998); assertEquals("999.0 ns", stopwatch.toString()); ticker.advance(1); assertEquals("1.000 \u03bcs", stopwatch.toString()); ticker.advance(1); assertEquals("1.001 \u03bcs", stopwatch.toString()); ticker.advance(8998);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
.testEquals(); assertEquals(hashFunction1a.toString(), hashFunction1b.toString()); assertEquals(hashFunction2a.toString(), hashFunction2b.toString()); assertEquals(hashFunction3a.toString(), hashFunction3b.toString()); assertEquals(hashFunction4a.toString(), hashFunction4b.toString()); } static void assertSeedlessHashFunctionEquals(Class<?> clazz) throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (2) -
guava/src/com/google/common/reflect/AbstractInvocationHandler.java
return super.hashCode(); } /** * By default delegates to {@link Object#toString}. The dynamic proxies' {@code toString()} will * delegate to this method. Subclasses can override this method to provide custom string * representation for the proxies. */ @Override public String toString() { return super.toString(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/FacetInfoTest.java
String result = facetInfo.toString(); assertEquals("FacetInfo [field=[field1, field2], query=[query1, query2], size=10, minDocCount=5, sort=count.desc, missing=unknown]", result); } // Test toString method with null fields public void test_toString_nullFields() { String result = facetInfo.toString();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0)