Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for otherTests (0.19 sec)

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

                ${mavenCentralRepository()}
    
                sourceSets {
                    othertests {
                        java.srcDir file('src/othertests/java')
                        resources.srcDir file('src/othertests/resources')
                    }
                }
    
                dependencies{
                    ${getTestFrameworkDependencies('othertests')}
                }
    
                task othertestsTest(type:Test){
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestReportIntegrationTest.groovy

                def otherTests = tasks.register('otherTests', Test) {
                    binaryResultsDirectory = file("bin")
                    classpath = files('blahClasspath')
                    testClassesDirs = files("blah")
                    ${configureTestFramework}
                }
    
                tasks.register('testReport', TestReport) {
                    testResults.from(test, otherTests)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestReportTaskIntegrationTest.groovy

                $junitSetup
                tasks.register('otherTests', Test) {
                    binaryResultsDirectory = file("bin")
                    classpath = files('blahClasspath')
                    testClassesDirs = files("blah")
                }
                tasks.register('testReport', TestReport) {
                    reportOn test, otherTests
                    destinationDir reporting.file("tr")
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/integTest/resources/org/gradle/testing/TestExecutionBuildOperationsIntegrationTest/emitsBuildOperationsForJUnitTests/src/test/java/org/gradle/OtherTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle;
    
    import org.junit.Assert;
    
    public class OtherTest {
    
        @org.junit.Test
        public void otherOk() {
            System.out.println("sys out from ok test method");
            System.err.println("sys err from ok test method");
        }
    
        @org.junit.Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 944 bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/fixture/JvmBlockingTestClassGenerator.groovy

            (1..num).collect {
                final resource = "test_${it}" as String
                root.file("src/test/java/pkg/OtherTest_${it}.java") << """
                    package pkg;
                    $testFrameworkImports
                    public class OtherTest_${it} {
                        @Test
                        public void passingTest() {
                            ${server.callFromBuild("$resource")}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractJvmFailFastIntegrationSpec.groovy

            def testExecution = server.expectOptionalAndBlock(DEFAULT_MAX_WORKERS, resourceForTest.values() as String[])
    
            when:
            def gradleHandle = executer.withTasks('test', '--fail-fast', '--tests=*OtherTest_*').start()
            testExecution.waitForAllPendingCalls()
    
            then:
            testExecution.release(DEFAULT_MAX_WORKERS)
            gradleHandle.waitForFailure()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestFilteringIntegrationTest.groovy

            "no options"     | ["test"]                                                 | ["Foo1Test", "Foo2Test", "BarTest", "OtherTest"] | ["bar", "pass1"]  | ["bar", "pass2"]  | ["bar"]          | ["bar", "pass3"]
            "pass and Other" | ["test", "--tests", "*.pass1", "--tests", "*OtherTest*"] | ["Foo1Test", "OtherTest"]                        | ["pass1"]         | []                | []               | ["bar", "pass3"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4TestListenerBuildOperationAdapterIntegrationTest.groovy

                        System.err.println("sys err from another test method");
                    }
                }
            """
            file('src/test/java/org/gradle/OtherTest.java') << """
                package org.gradle;
                import org.junit.Test;
                public class OtherTest {
                    @Test
                    public void ok() throws Exception {
                        System.out.println("This is other stdout");
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterTestListenerBuildOperationAdapterIntegrationTest.groovy

                        System.err.println("sys err from another test method");
                    }
                }
            """
            file('src/test/java/org/gradle/OtherTest.java') << """
                package org.gradle;
                import org.junit.jupiter.api.Test;
                public class OtherTest {
                    @Test
                    public void ok() throws Exception {
                        System.out.println("This is other stdout");
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoPluginMultiVersionIntegrationTest.groovy

        private void printMessage(String msg) {
            System.out.println(msg);
        }
    }
    """
            file("src/otherTest/java/ThingTest.java") << """
    public class ThingTest {
        @org.junit.Test public void someTest() { new Thing(); }
    }
    """
            buildFile << """
        testing.suites {
            otherTest(JvmTestSuite) {
                useJUnit()
                dependencies {
                    implementation project()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top