Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 159 for rctest (0.46 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go

    		"valid RuntimeClass":       {rcn: pointer.String(rctest.SandboxRuntimeClass), expectedHandler: rctest.SandboxRuntimeHandler},
    		"missing RuntimeClass":     {rcn: pointer.String("phantom"), expectError: true},
    	}
    	for name, test := range tests {
    		t.Run(name, func(t *testing.T) {
    			fakeRuntime.Called = []string{}
    			pod := newTestPod()
    			pod.Spec.RuntimeClassName = test.rcn
    
    			id, _, err := m.createPodSandbox(ctx, pod, 1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_fail_fast.txt

    [short] skip
    
    # test fail fast
    ! go test ./failfast_test.go -run='TestFailingA' -failfast=true
    stdout -count=1 'FAIL - '
    ! go test ./failfast_test.go -run='TestFailing[AB]' -failfast=true
    stdout -count=1 'FAIL - '
    ! go test ./failfast_test.go -run='TestFailing[AB]' -failfast=false
    stdout -count=2 'FAIL - '
    
    # mix with non-failing tests
    ! go test ./failfast_test.go -run='TestA|TestFailing[AB]' -failfast=true
    stdout -count=1 'FAIL - '
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/ProjectHierarchyCustomizationIntegrationTest.groovy

                    task test { }
                }
                // should be 'project-a', not 'projectA'
                project(":modules:projectA:project-b") {
                    task test { }
                }
            """
    
            when:
            run("test")
    
            then:
            result.assertTasksExecuted(":modules:project-a:test", ":modules:projectA:project-b:test")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import com.gradle.develocity.agent.gradle.test.DevelocityTestConfiguration
    import gradlebuild.archtest.PackageCyclesExtension
    
    plugins {
        `java-library`
        `jvm-test-suite`
        id("gradlebuild.dependency-modules")
        id("gradlebuild.code-quality")
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:29:44 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/internal/trace/gc_test.go

    		// utilizations.
    		if len(worst) != len(test.worst) {
    			t.Errorf("for %s window, want worst %v, got %v", test.window, test.worst, worst)
    		} else {
    			for i := range worst {
    				if worst[i].MutatorUtil != test.worst[i] {
    					t.Errorf("for %s window, want worst %v, got %v", test.window, test.worst, worst)
    					break
    				}
    			}
    		}
    	}
    }
    
    func TestMMUTrace(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. src/cmd/link/internal/dwtest/dwtest.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package dwtest
    
    import (
    	"debug/dwarf"
    	"errors"
    	"fmt"
    	"os"
    )
    
    // Helper type for supporting queries on DIEs within a DWARF
    // .debug_info section. Invoke the populate() method below passing in
    // a dwarf.Reader, which will read in all DIEs and keep track of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 15:22:18 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_coverpkg_partial.txt

    go test -coverpkg=./a ./...
    stdout '^ok\s+M/a\s+\S+\s+coverage: 100.0% of statements in ./a'
    stdout '^\s*\?\s+M/f\s+\[no test files\]'
    
    -- a/a.go --
    package a
    
    import "M/f"
    
    var G int
    
    func AFunc() int {
    	G = 1
    	return f.Id()
    }
    -- a/a_test.go --
    package a
    
    import "testing"
    
    func TestA(t *testing.T) {
    	if AFunc() != 42 {
    		t.Fatalf("bad!")
    	}
    }
    -- b/b.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:12:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/modifiers/BuildInitTestFramework.java

    public enum BuildInitTestFramework implements WithIdentifier {
    
        NONE("none"),
        JUNIT("JUnit 4"),
        TESTNG("TestNG"),
        SPOCK("Spock"),
        KOTLINTEST("kotlin.test"),
        SCALATEST("ScalaTest"),
        JUNIT_JUPITER("JUnit Jupiter"),
        XCTEST("XCTest"),
        CPPTest("C++ executable");
    
        public static List<String> listSupported() {
            List<String> result = new ArrayList<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 19:41:01 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

    //
    // The Google C++ Testing Framework (Google Test)
    //
    // This header file defines the public API for death tests.  It is
    // #included by gtest.h so a user doesn't need to include this
    // directly.
    
    #ifndef GTEST_INCLUDE_GTEST_GTEST_DEATH_TEST_H_
    #define GTEST_INCLUDE_GTEST_GTEST_DEATH_TEST_H_
    
    #include "gtest/internal/gtest-death-test-internal.h"
    
    namespace testing {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-typed-test.h

    #endif  // 0
    
    #include "gtest/internal/gtest-port.h"
    #include "gtest/internal/gtest-type-util.h"
    
    // Implements typed tests.
    
    #if GTEST_HAS_TYPED_TEST
    
    // INTERNAL IMPLEMENTATION - DO NOT USE IN USER CODE.
    //
    // Expands to the name of the typedef for the type parameters of the
    // given test case.
    # define GTEST_TYPE_PARAMS_(TestCaseName) gtest_type_params_##TestCaseName##_
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top