- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 247 for test_string (0.06 seconds)
-
android/guava-tests/test/com/google/common/io/ByteSourceTester.java
static TestSuite tests(String name, ByteSourceFactory factory, boolean testAsCharSource) { TestSuite suite = new TestSuite(name); for (Entry<String, String> entry : TEST_STRINGS.entrySet()) { if (testAsCharSource) { suite.addTest(suiteForString(factory, entry.getValue(), name, entry.getKey())); } else { suite.addTest(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
// By default, getLocalizedMessage returns the same as getMessage assertEquals(message, exception.getLocalizedMessage()); } @Test public void test_toString() { // Test toString method String message = "Test exception"; DataStoreException exception = new DataStoreException(message); String toString = exception.toString();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
break; } } assertTrue(foundTestMethod); } @Test @DisplayName("Should create meaningful string representation") void testToString() { // Given String message = "Test CIFS runtime error"; RuntimeCIFSException exception = new RuntimeCIFSException(message); // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
"Command should change to SMB_COM_NT_TRANSACT_SECONDARY for NT transactions"); } @Test @DisplayName("Test toString() method") void testToString() { String result = transaction.toString(); assertNotNull(result, "toString should not return null"); assertTrue(result.contains("command="), "toString should contain command info"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java
assertTrue(getMultiset().elementSet().remove(e0())); assertEquals(0, entry.getCount()); getMultiset().add(e0(), 2); assertEquals(2, entry.getCount()); } public void testToString() { assertEquals(getMultiset().entrySet().toString(), getMultiset().toString()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 9.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
// Non-bracketed IPv6 fails. assertThrows( IllegalArgumentException.class, () -> HostAndPort.fromString("::1").requireBracketsForIPv6()); } public void testToString() { // With ports. assertThat(HostAndPort.fromString("foo:101").toString()).isEqualTo("foo:101"); assertThat(HostAndPort.fromString(":102").toString()).isEqualTo(":102");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/UnicodeStringTest.java
assertEquals(0, emptyUnicodeStringFalse.buffer.length, "Buffer length should be 0 for empty string without zterm"); } @Test void testToString() { // Test toString with zterm = true String originalStringTrue = "HelloWorld"; UnicodeString unicodeStringTrue = new UnicodeString(originalStringTrue, true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
int hashCode1 = exception.hashCode(); int hashCode2 = exception.hashCode(); assertEquals(hashCode1, hashCode2); } @Test public void test_toString() { // Test toString method DictionaryExpiredException exception = new DictionaryExpiredException(); String str = exception.toString(); assertNotNull(str);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java
} finally { // Restore original time zone TimeZone.setDefault(originalTimeZone); } } // Test toString() method @Test public void test_toString() { // Execute String result = provider.toString(); // Verify the string format assertNotNull(result); assertTrue(result.contains("FessUserTimeZoneProcessProvider"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/RelevanceEvaluationResultTest.java
assertEquals("doc_with_underscore", result.getRelevantDocIds().get(1)); assertEquals("doc.with.dot", result.getRelevantDocIds().get(2)); } @Test public void test_toString() { List<String> docIds = Arrays.asList("doc1", "doc2"); List<Integer> indexes = Arrays.asList(1, 2); RelevanceEvaluationResult result = RelevanceEvaluationResult.withRelevantDocs(docIds, indexes);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 01 08:11:18 GMT 2026 - 7.7K bytes - Click Count (0)