Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 577 for test14 (0.16 sec)

  1. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcTestFixture.groovy

    package org.gradle.api.plugins.quality.codenarc
    
    import org.gradle.test.fixtures.file.TestFile
    
    
    trait CodeNarcTestFixture {
        def goodCode() {
            file("src/main/groovy/org/gradle/class1.java") << "package org.gradle; class class1 { }"
            file("src/test/groovy/org/gradle/testclass1.java") << "package org.gradle; public class testclass1 { @org.junit.Test public void test1() { } }"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 08:01:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/config/strict/testdata/invalid_duplicate_field_clustercfg.yaml

    apiVersion: kubeadm.k8s.io/v1beta3
    kind: ClusterConfiguration
    controlPlaneEndpoint: test1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 13:30:26 UTC 2023
    - 118 bytes
    - Viewed (0)
  3. src/cmd/go/internal/generate/generate_test.go

    	}
    }
    
    // Command-related tests for TestGenerateCommandShortHand2
    // -- Note line numbers included to check substitutions from "build-in" variable - $GOLINE
    var splitTestsLines = []splitTestWithLine{
    	{"-command TEST1 $GOLINE", []string{"-command", "TEST1", "22"}, 22},
    	{"-command TEST2 ${DOLLAR}GOLINE", []string{"-command", "TEST2", "$GOLINE"}, 26},
    	{"TEST1", []string{"22"}, 33},
    	{"TEST2", []string{"66"}, 66},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 20 14:09:12 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/testing/filtering/kotlin/src/test/java/SomeIntegTest.java

    import org.junit.*;
    
    public class SomeIntegTest {
        @Test public void test1() {}
        @Test public void test2() {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 118 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/registry/generic/testing/tester.go

    	t.tester = t.tester.ClusterScope()
    	return t
    }
    
    func (t *Tester) Namer(namer func(int) string) *Tester {
    	t.tester = t.tester.Namer(namer)
    	return t
    }
    
    func (t *Tester) AllowCreateOnUpdate() *Tester {
    	t.tester = t.tester.AllowCreateOnUpdate()
    	return t
    }
    
    func (t *Tester) GeneratesName() *Tester {
    	t.tester = t.tester.GeneratesName()
    	return t
    }
    
    func (t *Tester) ReturnDeletedObject() *Tester {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 16:50:16 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenRemoteDependencyWithGradleMetadataResolutionIntegrationTest.groovy

                root(":", ":test:") {
                    module("test:a:1.2")
                }
            }
    
            when:
            server.resetExpectations()
            m.pom.expectHead()
            m.artifact.expectHead()
    
            executer.withArgument("--refresh-dependencies")
            run("checkDeps")
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module("test:a:1.2")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ArtifactDeclarationIntegrationTest.groovy

                        compile project(':a')
                    }
                }
            """
    
            expect:
            succeeds "b:checkDeps"
            resolve.expectGraph {
                root(":b", "test:b:") {
                    project(":a", "test:a:") {
                        artifact(name: 'foo', type: '')
                        artifact(name: 'foo', type: 'txt')
                    }
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  8. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/ForkingTestClassProcessorTest.groovy

        }
    
        def "acquires worker lease and starts worker process on first test"() {
            given:
            def test1 = Mock(TestClassRunInfo)
            def test2 = Mock(TestClassRunInfo)
            def processor = newProcessor()
    
            when:
            processor.processTestClass(test1)
            processor.processTestClass(test2)
    
            then:
            1 * workerLeaseRegistry.startWorker()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. pkg/security/apparmor/validate_test.go

    	}
    
    	for _, test := range tests {
    		err := v.Validate(getPodWithProfile(test.profile))
    		if test.expectValid {
    			assert.NoError(t, err, "Pod with profile %q should be valid", test.profile)
    		} else {
    			assert.Error(t, err, fmt.Sprintf("Pod with profile %q should trigger a validation error", test.profile))
    		}
    	}
    
    	// Test multi-container pod.
    	pod := &v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 18:46:31 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_main_archive.txt

    env GO111MODULE=off
    
    # Test that a main_test of 'package main' imports the package,
    # not the installed binary.
    
    [short] skip
    
    env GOBIN=$WORK/bin
    go test main_test
    go install main_test
    
    go list -f '{{.Stale}}' main_test
    stdout false
    
    go test main_test
    
    -- main_test/m.go --
    package main
    
    func F()    {}
    func main() {}
    -- main_test/m_test.go --
    package main_test
    
    import (
    	. "main_test"
    	"testing"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 19 18:15:04 UTC 2019
    - 436 bytes
    - Viewed (0)
Back to top