Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for FooTest (0.14 sec)

  1. 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)
  2. 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)
  3. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

            .containsExactly(Foo.class);
        assertThat(findClassesToTest(ImmutableList.of(Foo.class, FooTest.class), "testNotPublic"))
            .containsExactly(Foo.class);
      }
    
      public void testFindClassesToTest_withCorrespondingTestClassAndExplicitlyTested() {
        ImmutableList<Class<?>> classes = ImmutableList.of(Foo.class, FooTest.class);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 21:37:55 UTC 2019
    - 5.3K bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/TestFilter.java

    public interface TestFilter {
    
        /**
         * Appends a test name pattern to the inclusion filter. Wildcard '*' is supported, either test method name or class name is supported. Examples of test names: "com.foo.FooTest.someMethod",
         * "com.foo.FooTest", "*FooTest*", "com.foo*". See examples in the docs for {@link TestFilter}.
         *
         * @param testNamePattern test name pattern to include, can be class or method name, can contain wildcard '*'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/runtime/registry_test.go

    func TestDecodeInto(t *testing.T) {
    	type PluginFooConfig struct {
    		FooTest string `json:"fooTest,omitempty"`
    	}
    	tests := []struct {
    		name     string
    		args     *runtime.Unknown
    		expected PluginFooConfig
    	}{
    		{
    			name: "test decode for JSON config",
    			args: &runtime.Unknown{
    				ContentType: runtime.ContentTypeJSON,
    				Raw: []byte(`{
    					"fooTest": "test decode"
    				}`),
    			},
    			expected: PluginFooConfig{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

            .containsExactly(Foo.class);
        assertThat(findClassesToTest(ImmutableList.of(Foo.class, FooTest.class), "testNotPublic"))
            .containsExactly(Foo.class);
      }
    
      public void testFindClassesToTest_withCorrespondingTestClassAndExplicitlyTested() {
        ImmutableList<Class<?>> classes = ImmutableList.of(Foo.class, FooTest.class);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 21:37:55 UTC 2019
    - 5.3K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskRelocationIntegrationTest.groovy

        @Override
        protected void setupProjectIn(TestFile projectDir) {
            projectDir.file("src/main/java/Foo.java") << "public class Foo {}"
            projectDir.file("src/test/java/FooTest.java") << """
                import org.junit.*;
    
                public class FooTest {
                    @Test
                    public void test() {
                        new Foo();
                    }
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskJvmArgsProviderIntegrationTest.groovy

    class TestTaskJvmArgsProviderIntegrationTest extends AbstractIntegrationSpec {
    
        def "jvm argument providers are passed to the test worker"() {
            file("src/test/java/FooTest.java") << """
                import java.io.*;
                import org.junit.*;
    
                public class FooTest {
                    @Test
                    public void test() throws IOException {
                        String location = System.getProperty("input.path");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/JacocoIntegrationTest.kt

                }
                """
            )
    
            withFile("src/main/kotlin/foo.gradle.kts", "plugins { base }")
            withFile(
                "src/test/kotlin/fooTest.kt",
                """
                import org.junit.Test
                class FooTest {
                    @Test fun testFoo() { }
                }
                """.trimIndent()
            )
    
            build("test", "jacocoTestCoverageVerification")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractIncrementalTestIntegrationTest.groovy

            succeeds('test').assertTasksNotSkipped()
        }
    
        def "test up-to-date status respects test name patterns"() {
            file("src/test/java/FooTest.java") << """
                ${testFrameworkImports}
                public class FooTest {
                    @Test public void test() {}
                }
            """.stripIndent()
            file("src/test/java/BarTest.java") << """
                ${testFrameworkImports}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top