Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 261 for testSam (0.26 sec)

  1. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultProjectDescriptorTest.groovy

    import static org.junit.Assert.assertTrue
    
    class DefaultProjectDescriptorTest extends Specification {
    
        @Rule
        final TestName testName = new TestName()
    
        @Rule
        final TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
    
        final TestFile testDirectory = tmpDir.testDirectory
    
        def fileResolver = TestFiles.resolver(testDirectory)
        def descriptorRegistry = new DefaultProjectDescriptorRegistry()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 08 03:33:31 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  2. src/testing/match_test.go

    		{"TestFoo/bar/baz", "", "", "TestFoo", true, true},
    		{"TestFoo", "", "", "TestBar", false, false},
    		{"TestFoo/", "", "", "TestBar", false, false},
    		{"TestFoo/bar/baz", "", "", "TestBar/bar/baz", false, false},
    		{"", "TestBar", "", "TestFoo", true, false},
    		{"", "TestBar", "", "TestBar", false, false},
    
    		// Skipping a non-existent test doesn't change anything.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 14:48:54 UTC 2022
    - 8K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceScenario.java

            .thenComparing(PerformanceScenario::getClassName);
    
        private final String className;
        private final String testName;
    
        public PerformanceScenario(String className, String testName) {
            this.className = className;
            this.testName = testName;
        }
    
        public String getClassName() {
            return className;
        }
    
        public String getSimpleClassName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/argument_test.go

    */
    
    package kubeadm
    
    import (
    	"reflect"
    	"testing"
    )
    
    func TestGetArgValue(t *testing.T) {
    	var tests = []struct {
    		testName      string
    		args          []Arg
    		name          string
    		expectedValue string
    		startIdx      int
    		expectedIdx   int
    	}{
    		{
    			testName:      "argument exists with non-empty value",
    			args:          []Arg{{Name: "a", Value: "a1"}, {Name: "b", Value: "b1"}, {Name: "c", Value: "c1"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 10:27:05 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/report/HtmlTestResultsFixture.groovy

        }
    
        void assertHasFailedTest(String target, String testName) {
            def tab = findTab('Failed tests')
            assert tab != null
            assert tab.select("a[href=${target}.html#$testName]").find { it.text() == testName }
        }
    
        void assertHasIgnoredTest(String target, String testName) {
            def tab = findTab('Ignored tests')
            assert tab != null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java

            assertTrue(content.contains("ใƒ†ใ‚นใƒˆ"));
        }
    
        public void test_getText_ooow_as() {
            InputStream in = ResourceUtil.getResourceAsStream("extractor/ooo/test_as.odt");
            Map<String, String> params = new HashMap<String, String>();
            params.put("resourceName", "test_as.odt");
            ExtractData extractData = jodExtractor.getText(in, params);
            String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. plugin/pkg/admission/podtolerationrestriction/admission_test.go

    				{Key: "testKey", Operator: "Equal", Value: "testValue", Effect: "NoSchedule", TolerationSeconds: nil},
    			},
    			admit:    true,
    			testName: "added memoryPressure/DiskPressure for Guaranteed pod",
    		},
    	}
    	for _, test := range tests {
    		t.Run(test.testName, func(t *testing.T) {
    			namespace := &corev1.Namespace{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:        "testNamespace",
    					Namespace:   "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. src/reflect/visiblefields_test.go

    	index []int
    }
    
    var fieldsTests = []struct {
    	testName string
    	val      any
    	expect   []structField
    }{{
    	testName: "SimpleStruct",
    	val: struct {
    		A int
    		B string
    		C bool
    	}{},
    	expect: []structField{{
    		name:  "A",
    		index: []int{0},
    	}, {
    		name:  "B",
    		index: []int{1},
    	}, {
    		name:  "C",
    		index: []int{2},
    	}},
    }, {
    	testName: "NonEmbeddedStructMember",
    	val: struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 08 13:44:41 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  9. maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java

    /**
     * Unit test for simple App.
     */
    public class AppTest
        extends TestCase
    {
        /**
         * Create the test case
         *
         * @param testName name of the test case
         */
        public AppTest( String testName )
        {
            super( testName );
        }
    
        /**
         * @return the suite of tests being tested
         */
        public static Test suite()
        {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 651 bytes
    - Viewed (0)
  10. tools/go-stress-test

    mkdir -p "${RESULTS}"
    code=0
    
    for testname in $("${binary}" -test.list "${RUN}" | grep '^Test'); do
      stress -f --max-time "${TIME:-10s}" --max-runs "${RUNS:-1000}" "${binary}" -test.run '^'"${testname}"'$' -test.count "${COUNT}" -test.v &> "${RESULTS}/${testname}"
      # shellcheck disable=SC2181
      if [[ $? != 0 ]]; then
        echo -e "--- ${red}FAIL:${clr} ${testname}. See ${RESULTS}/${testname} for full logs"
        code=1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 04 23:04:41 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top