Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 480 for testOk (0.16 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnit3FilteringIntegrationTest.groovy

        void "filters tests implemented using 3.x test cases"() {
            buildFile << """
                apply plugin: 'java'
                ${mavenCentralRepository()}
                dependencies {
                    ${testFrameworkDependencies}
                }
                test.${configureTestFramework}
            """.stripIndent()
    
            file("src/test/java/FooTest.java") << """
                import junit.framework.*;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorTest.groovy

            1 * processor.started({ it.id == 2 && it.name == "testOk" && it.className == AJunit3TestClass.name }, { it.parentId == 1 })
            1 * processor.completed(2, { it.resultType == null })
            1 * processor.started({ it.id == 3 && it.name == "testOk" && it.className == BJunit3TestClass.name }, { it.parentId == 1 })
            1 * processor.completed(3, { it.resultType == null })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4TestClassDetectionIntegrationTest.groovy

                import junit.framework.TestCase;
    
                public class TestsOnInner {
                    @Test public void ok() { }
    
                    public static class SomeInner {
                        @Test public void ok() { }
                    }
    
                    public class NonStaticInner {
                        @Test public void ok() { }
                    }
    
                    public class NonStaticInnerTestCase extends TestCase {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesIntegrationTest.groovy

                }
            """
    
            expect: "compilation does NOT configure tests"
            succeeds("compileJava")
    
            and: "running tests fails due to configuring tests"
            fails("test")
            failure.assertHasErrorOutput("Configuring tests failed")
        }
    
        @Issue("https://github.com/gradle/gradle/issues/20846")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 13 20:36:32 UTC 2023
    - 35.8K bytes
    - Viewed (0)
  5. src/go/doc/testdata/testing.go

    // of go test.
    func Main(matchString func(pat, str string) (bool, error), tests []InternalTest, benchmarks []InternalBenchmark, examples []InternalExample) {
    	flag.Parse()
    	parseCpuList()
    
    	before()
    	startAlarm()
    	testOk := RunTests(matchString, tests)
    	exampleOk := RunExamples(examples)
    	if !testOk || !exampleOk {
    		fmt.Println("FAIL")
    		os.Exit(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  6. src/encoding/xml/marshal_test.go

    func TestMarshalErrors(t *testing.T) {
    	for idx, test := range marshalErrorTests {
    		data, err := Marshal(test.Value)
    		if err == nil {
    			t.Errorf("#%d: marshal(%#v) = [success] %q, want error %v", idx, test.Value, data, test.Err)
    			continue
    		}
    		if err.Error() != test.Err {
    			t.Errorf("#%d: marshal(%#v) = [error] %v, want %v", idx, test.Value, err, test.Err)
    		}
    		if test.Kind != reflect.Invalid {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  7. src/testing/testing.go

    // For example, using "matching" to mean "whose name contains":
    //
    //	go test -run ''        # Run all tests.
    //	go test -run Foo       # Run top-level tests matching "Foo", such as "TestFooBar".
    //	go test -run Foo/A=    # For top-level tests matching "Foo", run subtests matching "A=".
    //	go test -run /A=1      # For all top-level tests, run subtests matching "A=1".
    //	go test -fuzz FuzzFoo  # Fuzz the target matching "FuzzFoo"
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  8. test/recover.go

    	test6WithClosures()
    	test7()
    	test8()
    	test9()
    	if !interp {
    		test9reflect1()
    		test9reflect2()
    	}
    	test10()
    	if !interp {
    		test10reflect1()
    		test10reflect2()
    	}
    	test11()
    	if !interp {
    		test11reflect1()
    		test11reflect2()
    	}
    	test111()
    	test12()
    	if !interp {
    		test12reflect1()
    		test12reflect2()
    	}
    	test13()
    	if !interp {
    		test13reflect1()
    		test13reflect2()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 10.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy

    }
    dependencies {
        debug 'test:a:1.2'
        release 'test:a:1.2'
    }
    """
            resolve.prepare {
                config("debug")
                config("release")
            }
    
            when:
            run("checkDebug")
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module("test:a:1.2") {
                        artifact(classifier: "debug")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  10. test/fixedbugs/issue15002.go

    	if err != nil {
    		panic(err)
    	}
    	// Get a slice pointing to the last byte of the good page.
    	x := b[p-one : p]
    
    	test16(x)
    	test16i(x, 0)
    	test32(x)
    	test32i(x, 0)
    	test64(x)
    	test64i(x, 0)
    }
    
    func test16(x []byte) uint16 {
    	defer func() {
    		r := recover()
    		if r == nil {
    			panic("no fault or bounds check failure happened")
    		}
    		s := fmt.Sprintf("%s", r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top