- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 214 for teststring (0.06 sec)
-
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) -
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) -
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.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
assertEquals(outputBuffer.length, result); assertArrayEquals(testData, outputBuffer); } @Test void testToString() { // Test toString method String result = response.toString(); assertNotNull(result); assertTrue(result.startsWith("TransTransactNamedPipeResponse["));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K 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) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
assertEquals(0, result, "readBytesWireFormat should always return 0"); } /** * Test toString contains relevant information */ @Test public void testToString() { SmbComWrite write = new SmbComWrite(); write.setParam(0x1234, 100L, 50, new byte[10], 0, 10); String str = write.toString(); assertNotNull(str);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
public void testGetValue() { for (StandardSystemProperty property : StandardSystemProperty.values()) { assertEquals(System.getProperty(property.key()), property.value()); } } public void testToString() { for (StandardSystemProperty property : StandardSystemProperty.values()) { assertEquals(property.key() + "=" + property.value(), property.toString()); } } public void testNoNullValues() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.5K bytes - Viewed (0) -
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/io/SourceSinkTester.java
+ "enim, at feugiat leo magna nec libero. Mauris quis odio eget nisl rutrum cursus nec " + "eget augue. Sed nec arcu sem. In hac habitasse platea dictumst."; static final ImmutableMap<String, String> TEST_STRINGS = ImmutableMap.<String, String>builder() .put("empty", "") .put("1 char", "0") .put("1 word", "hello") .put("2 words", "hello world")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
utils/utils_test.go
if out := AssertEqual(test.src, test.dst); test.out != out { t.Errorf("AssertEqual(%v, %v) want: %t, got: %t", test.src, test.dst, test.out, out) } }) } } func TestToString(t *testing.T) { tests := []struct { name string in interface{} out string }{ {"int", math.MaxInt64, "9223372036854775807"}, {"int8", int8(math.MaxInt8), "127"},
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.9K bytes - Viewed (0)