- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 247 for test_string (0.06 seconds)
-
guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
public void testDelegate() { assertEquals(LIST1, ImmutableList.copyOf(newDelegatingList(LIST1))); assertEquals(LIST1, ImmutableList.copyOf(newDelegatingListWithEquals(LIST1))); } public void testToString() { List<String> proxy = newDelegatingList(LIST1); assertThat(proxy.toString()).isEqualTo(Proxy.getInvocationHandler(proxy).toString()); } interface A {} interface B {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
} /** * Test the toString method to ensure it returns the expected string format. */ @Test @DisplayName("toString should return a correctly formatted string") void testToString() { int errorClass = NbtException.ERR_SSN_SRVC; int errorCode = NbtException.CONNECTION_REFUSED; NbtException exception = new NbtException(errorClass, errorCode);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java
// Assert assertEquals(0, result); } @Test @DisplayName("toString should return formatted string with pipe name") void testToString() { // Arrange transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName); // Act String result = transWaitNamedPipe.toString(); // AssertCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
assertFalse(item1.equals(item3)); // Symmetry assertTrue(item1.equals(item2)); assertTrue(item2.equals(item1)); } @Test public void test_toString() { // Test toString method StopwordsItem item = new StopwordsItem(123, "word"); assertEquals("StopwordsItem [id=123, inputs=word, newInputs=null]", item.toString());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.4K bytes - Click Count (0) -
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 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
assertEquals(firstInstance.getSize(), secondInstance.getSize()); assertEquals(expectedEndOfFile, secondInstance.getSize()); } @Test @DisplayName("Test toString method") void testToString() throws SMBProtocolDecodingException { // Setup test data byte[] buffer = new byte[22]; long expectedAllocationSize = 65536L; long expectedEndOfFile = 49152L;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java
// The exception should be serializable as it extends RuntimeException assertTrue(exception instanceof java.io.Serializable); } @Test public void test_toString() { // Test toString method String message = "Thumbnail generation failed for file.jpg"; ThumbnailGenerationException exception = new ThumbnailGenerationException(message);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
assertNull(context.getServerChallenge()); assertNull(context.getSigningKey()); assertNull(context.getNetbiosName()); } @Test void testToString() { // Test the toString method for completeness NtlmContext context = new NtlmContext(mockAuth, false); String str = context.toString(); assertTrue(str.contains("NtlmContext["));
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) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
// Then assertEquals(0, bytesRead); } /** * Test method for {@link jcifs.internal.smb1.com.SmbComClose#toString()}. */ @Test public void testToString() { // Given int fid = 999; long lastWriteTime = 1672531200000L; // 2023-01-01 00:00:00 UTC SmbComClose smbComClose = new SmbComClose(config, fid, lastWriteTime); // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
ChannelInfo different = new ChannelInfo("different-channel", mockTransport, localInterface, remoteInterface); assertNotEquals(channelInfo, different); } @Test void testToString() { String str = channelInfo.toString(); assertNotNull(str); assertTrue(str.contains("test-channel")); assertTrue(str.contains(ChannelState.DISCONNECTED.toString())); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.4K bytes - Click Count (0)