- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 2,160 for toString (0.09 seconds)
-
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java
// Then String toString = provider.toString(); assertNotNull(toString); assertTrue("toString should contain TimeZone ID", toString.contains(FessUserTimeZoneProcessProvider.centralTimeZone.getID())); // The provider's toString might not contain the exact class name // Just verify it's not null and contains some meaningful info assertTrue("toString should not be empty", toString.length() > 0);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/RequestParameterTest.java
// Test toString with null name String[] values = { "value1" }; RequestParameter param = new RequestParameter(null, values); String expected = "[null, [value1]]"; assertEquals(expected, param.toString()); } @Test public void test_toString_withNullValues() { // Test toString with null values String name = "testParam";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
assertThat(table.toString()).isEqualTo("{bar={1=b}, foo={1=a, 3=c}}"); assertThat(table.rowMap().toString()).isEqualTo("{bar={1=b}, foo={1=a, 3=c}}"); } public void testCellSetToString_ordered() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertThat(table.cellSet().toString()).isEqualTo("[(bar,1)=b, (foo,1)=a, (foo,3)=c]"); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 15.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingObject.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/MoreObjects.java
* * <p>This is helpful for implementing {@link Object#toString()}. Specification by example: * * {@snippet : * // Returns "ClassName{}" * MoreObjects.toStringHelper(this) * .toString(); * * // Returns "ClassName{x=1}" * MoreObjects.toStringHelper(this) * .add("x", 1) * .toString(); * * // Returns "MyObject{x=1}" * MoreObjects.toStringHelper("MyObject")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 05 17:38:41 GMT 2026 - 16.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
/** * Verify that {@link #toString()} with no root cause equals the default * {@code IOException#toString()}. */ @Test @DisplayName("toString without root cause matches IOException#toString") void testToStringWithoutRootCause() { SmbException ex = new SmbException(0, false); assertEquals("jcifs.smb1.smb1.SmbException: NT_STATUS_SUCCESS", ex.toString()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java
assertThat(entry.toString()).isEqualTo(entry.getKey() + "=" + entry.getValue()); assertEquals(entry.getKey(), bimap.inverse().get(entry.getValue())); } assertThat(map.toString()).isEqualTo("{" + JOINER.join(map.entrySet()) + "}"); assertThat(map.entrySet().toString()).isEqualTo("[" + JOINER.join(map.entrySet()) + "]"); assertThat(map.keySet().toString()).isEqualTo("[" + JOINER.join(map.keySet()) + "]");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/InternetDomainNameTest.java
} } public void testParent() { assertThat(InternetDomainName.from("google.com").parent().toString()).isEqualTo("com"); assertThat(InternetDomainName.from("co.uk").parent().toString()).isEqualTo("uk"); assertThat(InternetDomainName.from("www.google.com").parent().toString()) .isEqualTo("google.com"); assertThrows(IllegalStateException.class, () -> InternetDomainName.from("com").parent());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 17.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java
} public void testToString() { assertThat(entry("foo", 1).toString()).isEqualTo("foo"); assertThat(entry("bar", 2).toString()).isEqualTo("bar x 2"); } public void testToStringNull() { assertThat(entry(NE, 1).toString()).isEqualTo("null"); assertThat(entry(NE, 2).toString()).isEqualTo("null x 2"); } public void testEquals() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.9K bytes - Click Count (0) -
guava/src/com/google/common/base/Suppliers.java
return uncheckedCastNullableTToT(value); } @Override public String toString() { // This is a little strange if the unit the user provided was not NANOS, // but we don't want to store the unit just for toString return "Suppliers.memoizeWithExpiration(" + delegate + ", " + durationNanos + ", NANOS)"; } @GwtIncompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 21:24:28 GMT 2026 - 16.1K bytes - Click Count (0)