- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 35 for FooTest (0.1 sec)
-
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) -
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) -
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) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskRelocationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.1K bytes - Viewed (0) -
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) -
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) -
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) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/JavaClassNameFormatterTest.groovy
def "abbreviates long java packages"() { expect: JavaClassNameFormatter.abbreviateJavaPackage("", 60) == "" JavaClassNameFormatter.abbreviateJavaPackage("org.gradle.FooTest", 60) == "org.gradle.FooTest" JavaClassNameFormatter.abbreviateJavaPackage("TestNoPackageFunctionalIntegrationTestWithAReallyReallyLongName", 60) == "TestNoPackageFunctionalIntegrationTestWithAReallyReallyLongName"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskJdkRelocationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/software/testing-base/src/integTest/resources/org/gradle/testing/TestExecutionBuildOperationsIntegrationTest/emitsBuildOperationsForTestNgTests/suite.xml
<?xml version="1.0" encoding="UTF-8"?> <!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)