Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 81 for ptrtest (0.13 sec)

  1. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/filter/DefaultTestFilterTest.groovy

            expect: spec.includePatterns.isEmpty()
    
            when:
            spec.includeTest("acme.FooTest", "bar")
            spec.includeTest("acme.BarTest", null)
    
            then: spec.includePatterns == ["acme.FooTest.bar", "acme.BarTest.*"] as Set
        }
    
        def "prevents empty names"() {
            when: spec.includeTestsMatching(null)
            then: thrown(InvalidUserDataException)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/transition_test.go

    			err: errXMLNotWellFormed,
    		},
    	}
    
    	for i, tc := range trTests {
    		var tr Transition
    		err := xml.Unmarshal([]byte(tc.input), &tr)
    		if err != nil {
    			t.Fatalf("%d: xml unmarshal failed with %v", i+1, err)
    		}
    		if err = tr.Validate(); err != tc.err {
    			t.Fatalf("%d: Invalid transition %v: err %v", i+1, tr, err)
    		}
    	}
    
    	ntrTests := []struct {
    		input string
    		err   error
    	}{
    		{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Oct 01 18:58:17 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. pkg/kubelet/pod/pod_manager_test.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	podtest "k8s.io/kubernetes/pkg/kubelet/pod/testing"
    	kubetypes "k8s.io/kubernetes/pkg/kubelet/types"
    )
    
    // Stub out mirror client for testing purpose.
    func newTestManager() (*basicManager, *podtest.FakeMirrorClient) {
    	fakeMirrorClient := podtest.NewFakeMirrorClient()
    	manager := NewBasicPodManager().(*basicManager)
    	return manager, fakeMirrorClient
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 12 16:57:27 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/integTest/resources/org/gradle/testing/TestExecutionBuildOperationsIntegrationTest/emitsBuildOperationsForTestNgTests/suite.xml

    
    <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
    <suite name="SimpleSuite">
        <test name="SimpleTest">
            <classes>
                <class name="org.gradle.FooTest"/>
                <class name="org.gradle.BarTest"/>
            </classes>
        </test>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 308 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cover_dep_loop.txt

    stdout 'coverage: 100.0% of statements' # expect 100.0% coverage
    
    -- go.mod --
    module coverdep2
    
    go 1.16
    -- p1/p.go --
    package p1
    
    func F() int { return 1 }
    -- p1/p_test.go --
    package p1_test
    
    import (
    	"coverdep2/p2"
    	"testing"
    )
    
    func Test(t *testing.T) {
    	p2.F()
    }
    -- p2/p2.go --
    package p2
    
    import "coverdep2/p1"
    
    func F() {
    	p1.F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 550 bytes
    - Viewed (0)
  6. ci/official/wheel_test/BUILD

    py_test(
        name = "test_import_api_packages",
        srcs = ["test_import_api_packages.py"],
        deps = ["@pypi_tensorflow//:pkg"],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 18:17:57 UTC 2023
    - 133 bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4FilteringIntegrationTest.groovy

                public class FooServerTest {
                    @Test
                    public void testFooServer() { }
                }
            """
            file("src/test/java/BarTest.java") << """
                ${testFrameworkImports}
                public class BarTest {
                    @Test
                    public void testBar() { }
                }
            """
            file("src/test/java/AllFooTests.java") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/core-plugins/pmd_plugin.adoc

    [[sec:pmd_tasks]]
    == Tasks
    
    The PMD plugin adds the following tasks to the project:
    
    `pmdMain` — link:{groovyDslPath}/org.gradle.api.plugins.quality.Pmd.html[Pmd]::
    +
    Runs PMD against the production Java source files.
    
    `pmdTest` — link:{groovyDslPath}/org.gradle.api.plugins.quality.Pmd.html[Pmd]::
    +
    Runs PMD against the test Java source files.
    
    The PMD plugin adds the following dependencies to tasks defined by the Java plugin.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. src/net/http/cookiejar/jar_test.go

    type query struct {
    	toURL string // the URL in the Cookies call
    	want  string // the expected list of cookies (order matters)
    }
    
    // run runs the jarTest.
    func (test jarTest) run(t *testing.T, jar *Jar) {
    	now := tNow
    
    	// Populate jar with cookies.
    	setCookies := make([]*http.Cookie, len(test.setCookies))
    	for i, cs := range test.setCookies {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_import_error_stack.txt

    -- testdep/go.mod --
    module testdep
    
    go 1.16
    -- testdep/p1/p1.go --
    package p1
    -- testdep/p1/p1_test.go --
    package p1
    
    import _ "testdep/p2"
    -- testdep/p2/p2.go --
    package p2
    
    import _ "testdep/p3"
    -- testdep/p3/p3.go --
    // +build ignore
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 997 bytes
    - Viewed (0)
Back to top