Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 110 for booltest (0.37 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h.pump

    // these names:
    //
    //    * InstantiationName/FooTest.DoesBlah/0 for "meeny"
    //    * InstantiationName/FooTest.DoesBlah/1 for "miny"
    //    * InstantiationName/FooTest.DoesBlah/2 for "moe"
    //    * InstantiationName/FooTest.HasBlahBlah/0 for "meeny"
    //    * InstantiationName/FooTest.HasBlahBlah/1 for "miny"
    //    * InstantiationName/FooTest.HasBlahBlah/2 for "moe"
    //
    // You can use these names in --gtest_filter.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/Binary2JUnitXmlReportGeneratorSpec.groovy

            def fooTest = new TestClassResult(1, 'FooTest', 100)
                .add(new TestMethodResult(1, "foo"))
    
            def barTest = new TestClassResult(2, 'BarTest', 100)
                .add(new TestMethodResult(2, "bar"))
                .add(new TestMethodResult(3, "bar2"))
    
            resultsProvider.visitClasses(_) >> { Action action ->
                action.execute(fooTest)
                action.execute(barTest)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 19:07:01 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-typed-test.h

    typedef testing::Types<char, int, unsigned int> MyTypes;
    TYPED_TEST_CASE(FooTest, MyTypes);
    
    // If the type list contains only one type, you can write that type
    // directly without Types<...>:
    //   TYPED_TEST_CASE(FooTest, int);
    
    // Then, use TYPED_TEST() instead of TEST_F() to define as many typed
    // tests for this test case as you want.
    TYPED_TEST(FooTest, DoesBlah) {
      // Inside a test, refer to TypeParam to get the type parameter.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_test_cached.txt

    go test -run=WriteTmp
    ! stdout '(cached)'
    go test -run=WriteTmp
    ! stdout '(cached)'
    
    # We should never cache a test run from command-line files.
    go test -run=WriteTmp ./foo_test.go
    ! stdout '(cached)'
    go test -run=WriteTmp ./foo_test.go
    ! stdout '(cached)'
    
    [!exec:sleep] stop
    # The go command refuses to cache access to files younger than 2s, so sleep that long.
    exec sleep 2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4ClassLevelFilteringIntegrationTest.groovy

            """.stripIndent()
    
            when:
            run("test", "--tests", "FooTest.pass")
    
            then:
            def result = new DefaultTestExecutionResult(testDirectory)
            result.assertTestClassesExecuted("FooTest")
            result.testClass("FooTest").assertTestsExecuted("other", "pass")
    
            when:
            fails("test", "--tests", "FooTest.ignored")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaToolchainUpToDateIntegrationTest.groovy

            def someJdk = AvailableJavaHomes.differentJdk
            buildscriptWithToolchain(someJdk)
    
            file("src/main/java/Foo.java") << "public class Foo {}"
            file("src/test/java/FooTest.java") << testClass("FooTest")
    
            when:
            runWithToolchainConfigured(someJdk)
            runWithToolchainConfigured(someJdk)
    
            then:
            outputContains("Task :compileJava UP-TO-DATE")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGDryRunFilteringIntegrationTest.groovy

                                }
                            }
                        }
                    }
                }
            """
    
            file("src/test/java/FooTest.java") << """
                ${testFrameworkImports}
                public class FooTest {
                    @Test public void foo() {
                        System.err.println("Run foo!");
                    }
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r112/TestFilteringCrossVersionSpec.groovy

            """
    
            file("src/test/java/FooTest.java") << """
                public class FooTest {
                    @org.junit.Test public void passes() {}
                    @org.junit.Test public void fails() { throw new RuntimeException("Boo!"); }
                }
            """
    
            when:
            withConnection { it.newBuild().withArguments('test', '--tests', 'FooTest.passes').run() }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGConsoleLoggingIntegrationTest.groovy

                class TestNGTest {
                    @Test
                    void goodTest() {}
    
                    @Test(dependsOnMethods = ["goodTest"])
                    void badTest() {
                        beBad()
                    }
    
                    @Test(dependsOnMethods = ["badTest"])
                    void ignoredTest() {}
    
                    @Test(dependsOnMethods = ["goodTest"])
                    void printTest() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.6K bytes
    - Viewed (1)
  10. src/go/doc/testdata/examples/whole_function.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 foo_test
    
    func Foo(x int) {
    }
    
    func Example() {
    	fmt.Println("Hello, world!")
    	// Output: Hello, world!
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 274 bytes
    - Viewed (0)
Back to top