- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for TestRoundTrip (0.29 sec)
-
src/vendor/golang.org/x/net/nettest/conntest.go
} } } else { t.Errorf("got %T: %v, want net.Error", err, err) } } // testRoundtrip writes something into c and reads it back. // It assumes that everything written into c is echoed back to itself. func testRoundtrip(t *testing.T, c net.Conn) { t.Helper() if err := c.SetDeadline(neverTimeout); err != nil { t.Errorf("roundtrip SetDeadline error: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 12.2K bytes - Viewed (0) -
maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
assertEquals(2, target.getVersioning().getSnapshot().getBuildNumber()); } /*-- END test "groupId/artifactId/version" metadata ---*/ @Test void testRoundtrip() throws Exception { System.setProperty(XMLInputFactory.class.getName(), WstxInputFactory.class.getName()); System.setProperty(XMLOutputFactory.class.getName(), WstxOutputFactory.class.getName());
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 14.1K bytes - Viewed (0) -
src/encoding/xml/xml_test.go
t.Fatalf("lost tokens: %#v", tokens) } } func TestRoundTrip(t *testing.T) { tests := map[string]string{ "trailing colon": `<foo abc:="x"></foo>`, "comments in directives": `<!ENTITY x<!<!-- c1 [ " -->--x --> > <e></e> <!DOCTYPE xxx [ x<!-- c2 " -->--x ]>`, } for name, input := range tests { t.Run(name, func(t *testing.T) { testRoundTrip(t, input) }) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 36.9K bytes - Viewed (0) -
src/crypto/internal/mlkem768/mlkem768_test.go
exp := new(big.Int).Exp(ΞΆ, big.NewInt(int64(BitRev7(uint8(k)))*2+1), q) if big.NewInt(int64(gamma)).Cmp(exp) != 0 { t.Errorf("gammas[%d] = %v, expected %v", k, gamma, exp) } } } func TestRoundTrip(t *testing.T) { dk, err := GenerateKey() if err != nil { t.Fatal(err) } c, Ke, err := Encapsulate(dk.EncapsulationKey()) if err != nil { t.Fatal(err) } Kd, err := Decapsulate(dk, c)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 15:27:18 UTC 2024 - 10.3K bytes - Viewed (0) -
pkg/api/testing/unstructured_test.go
t.Errorf("FromUnstructured failed: %v", err) return } if !apiequality.Semantic.DeepEqual(item, newObj) { t.Errorf("Object changed, diff: %v", cmp.Diff(item, newObj)) } } func TestRoundTrip(t *testing.T) { for gvk := range legacyscheme.Scheme.AllKnownTypes() { if nonRoundTrippableTypes.Has(gvk.Kind) { continue } if gvk.Version == runtime.APIVersionInternal { continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 16.9K bytes - Viewed (0)