- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 215 for test_string (0.04 sec)
-
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
assertNull(response.info, "Info object should be null for unknown info level"); } /** * Tests the toString method of the Trans2QueryFSInformationResponse. */ @Test void testToString() { Trans2QueryFSInformationResponse response = new Trans2QueryFSInformationResponse(Trans2QueryFSInformationResponse.SMB_INFO_ALLOCATION); String responseString = response.toString();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java
} public void testCreateEmptyWithoutClassFails() { assertThrows( IllegalArgumentException.class, () -> EnumMultiset.create(ImmutableList.<Color>of())); } public void testToString() { Multiset<Color> ms = EnumMultiset.create(Color.class); ms.add(Color.BLUE, 3); ms.add(Color.YELLOW, 1); ms.add(Color.RED, 2); assertEquals("[BLUE x 3, RED x 2, YELLOW]", ms.toString()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java
} private static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> control( K key, V value) { return singletonMap(key, value).entrySet().iterator().next(); } public void testToString() { assertEquals("foo=1", entry("foo", 1).toString()); } public void testToStringNull() { assertEquals("null=1", entry(NK, 1).toString()); assertEquals("foo=null", entry("foo", NV).toString());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
public void testEquals() { boolean unused = create().equals(new HashMap<String, Integer>()); } public void testHashCode() { int unused = create().hashCode(); } public void testToString() { String unused = create().toString(); } public void testSerialization() { SerializableTester.reserializeAndAssert(create()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
} private static byte[] byteArrayWith9s(int size) { byte[] bytez = new byte[size]; Arrays.fill(bytez, (byte) 0x99); return bytez; } public void testToString() { byte[] data = new byte[] {127, -128, 5, -1, 14}; assertEquals("7f8005ff0e", HashCode.fromBytes(data).toString()); assertEquals("7f8005ff0e", base16().lowerCase().encode(data)); }
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/smb1/smb1/SmbComNegotiateTest.java
} /** * Test the toString method. * It should return a string representation of the SmbComNegotiate object. */ @Test void testToString() { String result = smbComNegotiate.toString(); assertTrue(result.startsWith("SmbComNegotiate["), "String should start with SmbComNegotiate[");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
static TestSuite tests(String name, CharSourceFactory factory, boolean testAsByteSource) { TestSuite suite = new TestSuite(name); for (Entry<String, String> entry : TEST_STRINGS.entrySet()) { if (testAsByteSource) { suite.addTest( suiteForBytes(factory, entry.getValue().getBytes(UTF_8), name, entry.getKey(), true)); } else {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
assertEquals(this.getClass().getName(), firstElement.getClassName()); assertEquals("test_stackTracePopulated", firstElement.getMethodName()); } public void test_toString() { // Test toString method (inherited from Throwable) String type = "CustomToken"; String message = "Custom token error";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
assertEquals(8, bytesRead); assertTrue(fileInfo.toString().contains("endOfFile=" + value)); } @Test @DisplayName("Test toString format") void testToString() { // Test default constructor String str1 = fileInfo.toString(); assertNotNull(str1); assertTrue(str1.startsWith("EndOfFileInformation["));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
// By default, getLocalizedMessage returns the same as getMessage assertEquals(message, exception.getLocalizedMessage()); } public void test_toString() { // Test toString method String message = "Test exception"; DataStoreException exception = new DataStoreException(message); String toString = exception.toString();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0)