Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 201 for testChain (0.13 sec)

  1. tests/integration/pilot/analysis/main_test.go

    	"istio.io/istio/pkg/test/framework/components/istio"
    	"istio.io/istio/pkg/test/framework/resource"
    )
    
    // TestMain defines the entrypoint for pilot tests using a standard Istio installation.
    // If a test requires a custom install it should go into its own package, otherwise it should go
    // here to reuse a single install across tests.
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 22 18:52:14 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/test.go

    		switch {
    		case name == "TestMain":
    			if isTestFunc(n, "T") {
    				t.Tests = append(t.Tests, testFunc{pkg, name, "", false})
    				*doImport, *seen = true, true
    				continue
    			}
    			err := checkTestFunc(n, "M")
    			if err != nil {
    				return err
    			}
    			if t.TestMain != nil {
    				return errors.New("multiple definitions of TestMain")
    			}
    			t.TestMain = &testFunc{pkg, name, "", false}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorServicesIntegrationTest.groovy

                    args '-cp', parameters.classpath.asPath, 'org.gradle.TestMain', parameters.projectDir, parameters.testFile
                }
            """
            fixture.withWorkActionClassInBuildScript()
    
            file('src/main/java/org/gradle/TestMain.java') << testMainSource
    
            buildFile << """
                apply plugin: "java"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_testing/test_tutorial003.py

    import pytest
    
    
    def test_main():
        with pytest.warns(DeprecationWarning):
            from docs_src.app_testing.tutorial003 import test_read_items
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 167 bytes
    - Viewed (0)
  5. tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py

    from fastapi.testclient import TestClient
    
    from docs_src.behind_a_proxy.tutorial002 import app
    
    client = TestClient(app)
    
    
    def test_main():
        response = client.get("/app")
        assert response.status_code == 200
        assert response.json() == {"message": "Hello World", "root_path": "/api/v1"}
    
    
    def test_openapi():
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/clean_testcache.txt

    # test results that need to be invalidated in the first place.
    env GOCACHE=$WORK/nonexistent
    go clean -testcache
    ! exists $WORK/nonexistent
    
    -- x/x_test.go --
    package x_test
    import (
        "testing"
    )
    func TestMain(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 17:22:49 UTC 2022
    - 680 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_fail_newline.txt

    module example
    
    go 1.18
    -- fail/fail_test.go --
    package fail
    
    import (
    	"os"
    	"testing"
    )
    
    func TestMain(m *testing.M) {
    	os.Stderr.WriteString("exitcode=1")
    	os.Exit(1)
    }
    -- skip/skip_test.go --
    package skip
    
    import (
    	"os"
    	"testing"
    )
    
    func TestMain(m *testing.M) {
    	os.Stderr.WriteString("skipping")
    	os.Exit(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 04 21:33:23 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  8. tests/integration/pilot/main_test.go

    	// its doing something unique to that specific test.
    	apps = deployment.SingleNamespaceView{}
    )
    
    // TestMain defines the entrypoint for pilot tests using a standard Istio installation.
    // If a test requires a custom install it should go into its own package, otherwise it should go
    // here to reuse a single install across tests.
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Setup(istio.Setup(&i, nil)).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Sep 08 22:15:56 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/leak_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package core
    
    import (
    	"testing"
    
    	"istio.io/istio/tests/util/leak"
    )
    
    func TestMain(m *testing.M) {
    	// CheckMain asserts that no goroutines are leaked after a test package exits.
    	leak.CheckMain(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 789 bytes
    - Viewed (0)
  10. tests/integration/helm/upgrade/main_test.go

    //  See the License for the specific language governing permissions and
    //  limitations under the License.
    
    package helmupgrade
    
    import (
    	"testing"
    
    	"istio.io/istio/pkg/test/framework"
    )
    
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		Setup(initVersions).
    		RequireSingleCluster().
    		Run()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 07 15:01:04 UTC 2023
    - 852 bytes
    - Viewed (0)
Back to top