Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 92 for testIde (0.25 sec)

  1. tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py

    def get_client(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./sql_app.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app_py39 import main
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/CompositeDataReporter.java

        private final Set<String> testIds = new HashSet<>();
    
        public CompositeDataReporter(List<DataReporter<CrossVersionPerformanceResults>> reporters) {
            this.reporters = reporters;
        }
    
        @Override
        public void report(CrossVersionPerformanceResults results) {
            if (!testIds.add(results.getTestId())) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenVersionRangeResolveIntegrationTest.groovy

            resolve.expectDefaultConfiguration("runtime")
            resolve.expectGraph {
                root(":", ":test:") {
                    edge("org.test:child:1.0", "org.test:child:1.0") {
                        edge("org.test:dep:2.1", "org.test:dep:2.1")
                    }
                }
            }
        }
    
        @Issue("https://github.com/gradle/gradle/issues/1898")
        def "can resolve pom importing version range"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  4. src/net/http/responsecontroller_test.go

    	"fmt"
    	"io"
    	. "net/http"
    	"os"
    	"sync"
    	"testing"
    	"time"
    )
    
    func TestResponseControllerFlush(t *testing.T) { run(t, testResponseControllerFlush) }
    func testResponseControllerFlush(t *testing.T, mode testMode) {
    	continuec := make(chan struct{})
    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		ctl := NewResponseController(w)
    		w.Write([]byte("one"))
    		if err := ctl.Flush(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:20:31 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. src/net/http/clientserver_test.go

    	"net/url"
    	"os"
    	"reflect"
    	"runtime"
    	"slices"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    type testMode string
    
    const (
    	http1Mode  = testMode("h1")     // HTTP/1.1
    	https1Mode = testMode("https1") // HTTPS/1.1
    	http2Mode  = testMode("h2")     // HTTP/2
    )
    
    type testNotParallelOpt struct{}
    
    var (
    	testNotParallel = testNotParallelOpt{}
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_sql_databases/test_sql_databases.py

    @pytest.fixture(scope="module")
    def client(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./sql_app.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app import main
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py

    @pytest.fixture(scope="module")
    def client(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./sql_app.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
        # Import while creating the client to create the DB after starting the test session
        from docs_src.sql_databases.sql_app_py310 import alt_main
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/informers_test.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/monitoring/monitortest"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestExistingPodAddedWhenNsLabeled(t *testing.T) {
    	setupLogging()
    	NodeName = "testnode"
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  9. pilot/pkg/xds/lds_test.go

    	l := adsc.GetHTTPListeners()["0.0.0.0_443"]
    
    	if l != nil {
    		if len(l.FilterChains) != 3 {
    			t.Fatalf("Expected 3 filter chains, got %d\n", len(l.FilterChains))
    		}
    	}
    }
    
    // TestLDS is running LDS tests.
    func TestLDS(t *testing.T) {
    	t.Run("sidecar", func(t *testing.T) {
    		s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{})
    		ads := s.ConnectADS().WithType(v3.ListenerType)
    		ads.RequestResponseAck(t, nil)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/testing/jacoco-quickstart/kotlin/src/test/java/org/gradle/PersonTest.java

    import org.junit.Before;
    
    import static org.junit.Assert.assertEquals;
    
    public class PersonTest{
    
        Person person;
        @Before public void setup(){
            person = new Person();
        }
    
        @Test public void testAge() {
            person.setAge(30);
            assertEquals(30, person.getAge());
        }
    
    
        @Test public void testSurname() {
            person.setSurname("Duke");
            assertEquals("Duke", person.getSurname());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 476 bytes
    - Viewed (0)
Back to top