Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for TestRoundTrip (0.44 sec)

  1. src/cmd/internal/pgo/serialize_test.go

    	}
    
    	return b
    }
    
    func TestEmpty(t *testing.T) {
    	d := emptyProfile()
    	b := testRoundTrip(t, d)
    
    	// Contents should consist of only a header.
    	if string(b) != serializationHeader {
    		t.Errorf("WriteTo got %q want %q", string(b), serializationHeader)
    	}
    }
    
    func TestRoundTrip(t *testing.T) {
    	d := &Profile{
    		TotalWeight: 3,
    		NamedEdgeMap: NamedEdgeMap{
    			ByWeight: []NamedCallEdge{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apiserver/pkg/apis/audit/install/roundtrip_test.go

    limitations under the License.
    */
    
    package install
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    	"k8s.io/apiserver/pkg/apis/audit/fuzzer"
    )
    
    func TestRoundTrip(t *testing.T) {
    	roundtrip.RoundTripTestForAPIGroup(t, Install, fuzzer.Funcs)
    	roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, fuzzer.Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 03:35:42 UTC 2019
    - 875 bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/install/roundtrip_test.go

    */
    
    package install
    
    import (
    	"testing"
    
    	apiextensionsfuzzer "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/fuzzer"
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    )
    
    func TestRoundTrip(t *testing.T) {
    	roundtrip.RoundTripTestForAPIGroup(t, Install, apiextensionsfuzzer.Funcs)
    	roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, apiextensionsfuzzer.Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 03:35:42 UTC 2019
    - 943 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/install/roundtrip_test.go

    limitations under the License.
    */
    
    package install
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    	testapigroupfuzzer "k8s.io/apimachinery/pkg/apis/testapigroup/fuzzer"
    )
    
    func TestRoundTrip(t *testing.T) {
    	roundtrip.RoundTripTestForAPIGroup(t, Install, testapigroupfuzzer.Funcs)
    	roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, testapigroupfuzzer.Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 03:35:42 UTC 2019
    - 928 bytes
    - Viewed (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/CertificatesTest.kt

     * limitations under the License.
     */
    package okhttp3.tls
    
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    
    class CertificatesTest {
      @Test fun testRoundtrip() {
        val certificateString =
          """
          -----BEGIN CERTIFICATE-----
          MIIBmjCCAQOgAwIBAgIBATANBgkqhkiG9w0BAQsFADATMREwDwYDVQQDEwhjYXNo
          LmFwcDAeFw03MDAxMDEwMDAwMDBaFw03MDAxMDEwMDAwMDFaMBMxETAPBgNVBAMT
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/example/install/roundtrip_test.go

    limitations under the License.
    */
    
    package install
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    	examplefuzzer "k8s.io/apiserver/pkg/apis/example/fuzzer"
    )
    
    func TestRoundTrip(t *testing.T) {
    	roundtrip.RoundTripTestForAPIGroup(t, Install, examplefuzzer.Funcs)
    	roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, examplefuzzer.Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 03:35:42 UTC 2019
    - 905 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/example2/install/roundtrip_test.go

    limitations under the License.
    */
    
    package install
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    	examplefuzzer "k8s.io/apiserver/pkg/apis/example/fuzzer"
    )
    
    func TestRoundTrip(t *testing.T) {
    	roundtrip.RoundTripTestForAPIGroup(t, Install, examplefuzzer.Funcs)
    	roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, examplefuzzer.Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 03:35:42 UTC 2019
    - 905 bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/scheme/roundtrip_test.go

    limitations under the License.
    */
    
    package scheme
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    	"k8s.io/apimachinery/pkg/apis/meta/fuzzer"
    )
    
    func TestRoundTrip(t *testing.T) {
    	roundtrip.RoundTripTestForScheme(t, scheme, fuzzer.Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 12 17:32:02 UTC 2019
    - 803 bytes
    - Viewed (0)
  10. okhttp-tls/src/test/java/okhttp3/tls/CertificatesJavaTest.java

    import java.security.cert.X509Certificate;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    public class CertificatesJavaTest {
      @Test
      public void testRoundtrip() {
        String certificateString = ""
          + "-----BEGIN CERTIFICATE-----\n"
          + "MIIBmjCCAQOgAwIBAgIBATANBgkqhkiG9w0BAQsFADATMREwDwYDVQQDEwhjYXNo\n"
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Nov 20 02:23:18 UTC 2020
    - 1.8K bytes
    - Viewed (0)
Back to top