Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for testIde (0.16 sec)

  1. internal/http/listener_test.go

    	}
    
    	for testIdx, testCase := range testCases {
    		listener, listenErrs := newHTTPListener(context.Background(),
    			testCase.serverAddrs,
    			TCPOptions{},
    		)
    		for i, expectedListenErr := range testCase.expectedListenErrs {
    			if !expectedListenErr {
    				if listenErrs[i] != nil {
    					t.Fatalf("Test %d:, listenErrs[%d] error: expected = <nil>, got = %v", testIdx+1, i, listenErrs[i])
    				}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		// Validate
    		if !scenario.shouldFail && err != nil {
    			t.Errorf("returned error: %v", err)
    		}
    		if scenario.shouldFail && err == nil {
    			t.Error("returned success but expected error")
    		}
    		checkReasons(t, reasons, scenario.reasons)
    		testEnv.validatePodCache(t, testNode.Name, scenario.pod, podVolumes, scenario.expectedBindings, nil)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MultiProjectJvmApplicationInitIntegrationTest.groovy

            assertTestPassed("list", "org.example.list.LinkedListTest", "testConstructor")
            assertTestPassed("list", "org.example.list.LinkedListTest", "testAdd")
            assertTestPassed("list", "org.example.list.LinkedListTest", "testRemove")
            assertTestPassed("list", "org.example.list.LinkedListTest", "testRemoveMissing")
    
            when:
            succeeds "run"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. src/net/http/request_test.go

    		b.Fatalf("Failed to copy %d bytes: %v", n, err)
    	}
    
    	run(b, func(b *testing.B, mode testMode) {
    		runFileAndServerBenchmarks(b, mode, f, n)
    	}, []testMode{http1Mode, https1Mode, http2Mode})
    }
    
    func runFileAndServerBenchmarks(b *testing.B, mode testMode, f *os.File, n int64) {
    	handler := HandlerFunc(func(rw ResponseWriter, req *Request) {
    		defer req.Body.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

            // For example, when using PTS/TD for running this test, the JUnit Platform Launcher classes from the GE plugin take precedence
            toolingApi.requireDaemons()
            testCode()
        }
    
        boolean supportsEfficientClassFiltering() {
            return getTargetVersion() >= GradleVersion.version('4.7')
        }
    
        void launchTests(Collection<TestOperationDescriptor> testsToLaunch) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/body.md

    <img src="/img/tutorial/body/image04.png">
    
    Isso não é por acaso, todo o framework foi construído em volta deste design.
    
    E foi imensamente testado na fase de design, antes de qualquer implementação, para garantir que funcionaria para todos os editores de texto.
    
    Houveram mudanças no próprio Pydantic para que isso fosse possível.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. pilot/pkg/xds/cds_test.go

    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/ptr"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/util/sets"
    )
    
    func TestCDS(t *testing.T) {
    	s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{})
    	ads := s.ConnectADS().WithType(v3.ClusterType)
    	ads.RequestResponseAck(t, nil)
    }
    
    func TestSAN(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 02:06:39 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. src/syscall/js/js_test.go

    	NegInfinity: -Infinity,
    	objNumber0: new Number(0),
    	objBooleanFalse: new Boolean(false),
    })`)
    
    //go:wasmimport _gotest add
    func testAdd(uint32, uint32) uint32
    
    func TestWasmImport(t *testing.T) {
    	a := uint32(3)
    	b := uint32(5)
    	want := a + b
    	if got := testAdd(a, b); got != want {
    		t.Errorf("got %v, want %v", got, want)
    	}
    }
    
    func TestBool(t *testing.T) {
    	want := true
    	o := dummys.Get("someBool")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy

                    package application;
    
                    import org.junit.Assert;
                    import org.junit.Test;
    
                    public class AdderTest {
                        @Test
                        public void testAdd() {
                            Adder adder = new Adder();
                            Assert.assertEquals(2, adder.add(1, 1));
                            Assert.assertEquals(4, adder.add(2, 2));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    	return Quantity{d: bigDec(i, exponent), Format: format}
    }
    
    func intQuantity(i int64, exponent Scale, format Format) Quantity {
    	return Quantity{i: int64Amount{value: i, scale: exponent}, Format: format}
    }
    
    func TestDec(t *testing.T) {
    	table := []struct {
    		got    infDecAmount
    		expect string
    	}{
    		{dec(1, 0), "1"},
    		{dec(1, 1), "10"},
    		{dec(5, 2), "500"},
    		{dec(8, 3), "8000"},
    		{dec(2, 0), "2"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
Back to top