- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 247 for test_string (0.09 seconds)
-
src/test/java/jcifs/smb/SmbExceptionTest.java
SmbException exception = new SmbException((String) null); assertNotNull(exception); }); } @Test @DisplayName("Should convert to string properly") void testToString() { // Given String message = "Test error message"; SmbException exception = new SmbException(message); // When String stringRep = exception.toString();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
"Resources.asCharSource[URL, Charset]", SourceSinkFactories.urlCharSourceFactory(), false)); suite.addTestSuite(ResourcesTest.class); return suite; } public void testToString() throws IOException { URL resource = getClass().getResource("testdata/i18n.txt"); assertThat(Resources.toString(resource, UTF_8)).isEqualTo(I18N); assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
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();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
int read = trans2FindFirst2.readDataWireFormat(buffer, 0, 100); assertEquals(0, read); } @Test @DisplayName("Test toString method") void testToString() { trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test\\path", "*.txt", 0x16, 50, 2048); String result = trans2FindFirst2.toString(); assertNotNull(result);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
SsoLoginException specialException = new SsoLoginException(specialMessage); assertEquals(specialMessage, specialException.getMessage()); } @Test public void test_toString() { // Test toString() method String message = "SSO toString test"; SsoLoginException exception = new SsoLoginException(message); String toStringResult = exception.toString();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
assertThat(length - baseStackDepth).isLessThan(DIRECT_EXECUTIONS_PER_THREAD / 2); } } @SuppressWarnings("ObjectToString") // Intended behavior public void testToString() { Future<?> unused = serializer.submitAsync(firstCallable, directExecutor()); TestCallable secondCallable = new TestCallable(SettableFuture.create());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 13.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
for (double x : VALUES) { AtomicDouble d = new AtomicDouble(x); assertBitEquals(serialClone(d).get(), d.get()); } } /** toString returns current value */ public void testToString() { AtomicDouble at = new AtomicDouble(); assertThat(at.toString()).isEqualTo("0.0"); for (double x : VALUES) { at.set(x); assertThat(at.toString()).isEqualTo(Double.toString(x)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 7.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/IntentDetectionResultTest.java
assertEquals(ChatIntent.SEARCH, result.getIntent()); assertEquals("", result.getQuery()); } @Test public void test_toString() { final IntentDetectionResult result = IntentDetectionResult.search("test query", "reasoning"); final String str = result.toString(); assertNotNull(str);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 13:27:59 GMT 2026 - 8.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
assertTrue(result > 0); assertNotNull(response.getSecurityDescriptor()); } @Test @DisplayName("Test toString returns expected format") void testToString() { String result = response.toString(); assertNotNull(result); assertTrue(result.startsWith("NtTransQuerySecurityResponse[")); assertTrue(result.endsWith("]")); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
// Test with different object type assertNotEquals(tree1, new Object()); // Test with null assertNotEquals(tree1, null); } @Test void testToString() { SmbTree tree = new SmbTree(session, "testShare", "testService"); tree.tid = 123; tree.inDfs = true; tree.inDomainDfs = false; tree.connectionState = 2;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.2K bytes - Click Count (0)