- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 209 for teststring (0.15 sec)
-
android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java
new EqualsTester() .addEqualityGroup(testTable) .addEqualityGroup(ArrayTable.create(ImmutableSet.of('A'), ImmutableSet.of(1))) .testEquals(); } public void testToString() { assertEquals("{a={1=blah}}", testTable.toString()); } public void testContains() { assertTrue(testTable.contains('a', 1)); assertFalse(testTable.contains('a', 2));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
assertEquals(0, response.readBytesWireFormat(buffer, bufferIndex)); } /** * Test of toString method, of class SmbComQueryInformationResponse. */ @Test public void testToString() { String result = response.toString(); assertNotNull(result); assertTrue(result.startsWith("SmbComQueryInformationResponse[")); assertTrue(result.contains("fileAttributes=0x0000"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
byte[] buffer = new byte[100]; int consumed = pipe.readDataWireFormat(buffer, 0, 10); assertEquals(0, consumed, "readDataWireFormat should return 0"); } @Test public void testToString() { // Test the toString method String pipeName = "\\\\pipe\\testPipe"; TransWaitNamedPipe pipe = new TransWaitNamedPipe(pipeName); String result = pipe.toString();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
@Test void testGetResumeKey() { // Test the getResumeKey method // By default, it should be 0 assertEquals(0, response.getResumeKey()); } @Test void testToString() { // Test the toString method String result = response.toString(); assertNotNull(result); assertTrue(result.contains("Trans2FindFirst2Response"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
} @Test void data() { assertEquals(0, cmd.readDataWireFormat(new byte[10], 0, 0)); } } @Test @DisplayName("toString format") void testToString() throws Exception { Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/bar"); String s = cmd.toString(); assertTrue(s.contains("Trans2GetDfsReferral["));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
// Then assertEquals(0, bytesRead, "Should read 0 bytes."); } /** * Tests the toString method. */ @Test void testToString() { // Given String filename = "test.txt"; int informationLevel = 257; // 0x0101 Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTreeDisconnectTest.java
// Then assertEquals(0, result, "readBytesWireFormat should return 0"); } /** * Test the toString method. */ @Test void testToString() { // Given SmbComTreeDisconnect smbComTreeDisconnect = new SmbComTreeDisconnect(); // When String result = smbComTreeDisconnect.toString(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ProtocolTest.kt
assertThat(get("h3-29")).isEqualTo(Protocol.HTTP_3) } @Test fun testGetUnknown() { assertThrows(IOException::class.java) { get("tcp") } } @Test fun testToString() { assertThat(Protocol.HTTP_1_0.toString()).isEqualTo("http/1.0") assertThat(Protocol.HTTP_1_1.toString()).isEqualTo("http/1.1") assertThat(Protocol.SPDY_3.toString()).isEqualTo("spdy/3.1")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
assertNotEquals(instance1.hashCode(), instance3.hashCode()); } /** * Test of toString method, of class SmbShareInfo. */ @Test void testToString() { SmbShareInfo instance = new SmbShareInfo("SHARE", 2, "remark"); String result = instance.toString(); assertTrue(result.contains("netName=SHARE"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5K bytes - Viewed (0) -
android/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. assertEquals("foo:101", "" + HostAndPort.fromString("foo:101")); assertEquals(":102", HostAndPort.fromString(":102").toString());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.4K bytes - Viewed (0)