Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for otherTests (0.14 sec)

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

                    }
                }
            """.stripIndent()
            file('src/test/java/org/gradle/OtherTest.java') << """
                package org.gradle;
    
                ${testFrameworkImports}
    
                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
    - 8.7K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/integTest/resources/org/gradle/testing/TestExecutionBuildOperationsIntegrationTest/emitsBuildOperationsForJUnitTests/build.gradle

    apply plugin: 'java'
    repositories { mavenCentral() }
    dependencies { testImplementation 'junit:junit:4.13'}
    
    test {
        ignoreFailures = true
        include '**/TestSuite.class'
        include '**/Test.class'
        exclude '**/OtherTest.class'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 237 bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/integTest/groovy/org/gradle/testing/TestExecutionBuildOperationsContinuousIntegrationTest.groovy

            resources.maybeCopy('TestExecutionBuildOperationsIntegrationTest/emitsBuildOperationsForJUnitTests')
            succeeds("test")
    
            when:
            update(file("src/test/java/org/gradle/OtherTest.java"), file("src/test/java/org/gradle/OtherTest.java").text.replace("Assert.fail();", ""))
            waitForBuild()
            stopGradle()
            afterBuild()
    
            then: "test build operations are emitted in expected hierarchy"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestListenerBuildOperationAdapterIntegrationTest.groovy

            checkForTestOperations(iterator, "org.gradle.OkTest", "ok")
            if (emitsTestClassOperations) {
                checkForTestClassOperations(iterator, "org.gradle.OtherTest")
            }
            checkForTestOperations(iterator, "org.gradle.OtherTest", "ok")
    
            !iterator.hasNext()
        }
    
        void checkForSuiteOperations(Iterator<BuildOperationRecord> iterator, String suiteName) {
            with(iterator.next()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/integTest/resources/org/gradle/testing/TestExecutionBuildOperationsIntegrationTest/emitsBuildOperationsForJUnitTests/src/test/java/org/gradle/TestSuite.java

     * limitations under the License.
     */
    
    package org.gradle;
    
    import org.junit.runner.RunWith;
    import org.junit.runners.Suite;
    
    @RunWith(Suite.class)
    @Suite.SuiteClasses({Test.class, OtherTest.class})
    public class TestSuite {
        @org.junit.BeforeClass public static void init() {
            System.out.println("before suite class out");
            System.err.println("before suite class err");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/TestSpec.java

     *          .includeClass("com.MyTest")                              // execute the MyTest test class
     *          .includeMethod("com.OtherTest", Arrays.asList("verify")) // execute the OtherTest.verify() test method
     *          .includePattern("io.*")                                  // execute all tests matching to io.*
     * }).run();
     * </pre>
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/integTest/groovy/org/gradle/testing/TestExecutionBuildOperationTestUtils.groovy

            assert suiteTestOps*.details.testDescriptor.className as Set == ["org.gradle.Test", "org.gradle.Test", "org.gradle.OtherTest", "org.gradle.OtherTest"] as Set
            assert suiteTestOps*.details.testDescriptor.composite == [false, false, false, false]
    
            def testTestOps = operations.children(firstLevelTestOps[0], ExecuteTestBuildOperationType)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy

                    public void anotherOk() {
                    }
                }
            """.stripIndent()
    
            file('src/test/java/org/gradle/OtherTest.java') << """
                package org.gradle;
    
                ${testFrameworkImports}
    
                public class OtherTest {
                    @Test
                    public void ok() throws Exception {
                    }
                }
            """.stripIndent()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. pkg/registry/core/secret/storage/storage_test.go

    	test := genericregistrytest.New(t, storage.Store)
    	test.TestUpdate(
    		// valid
    		validNewSecret("foo"),
    		// updateFunc
    		func(obj runtime.Object) runtime.Object {
    			object := obj.(*api.Secret)
    			object.Data["othertest"] = []byte("otherdata")
    			return object
    		},
    	)
    }
    
    func TestDelete(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 12 20:55:35 UTC 2019
    - 3.8K bytes
    - Viewed (0)
  10. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/filter/TestSelectionMatcherTest.groovy

            ["com.FooTest***slow*"]  | "com.FooTest"             | "slowMethod"          | true
            ["com.FooTest***slow*"]  | "com.FooTest2"            | "aslow"               | true
            ["com.FooTest***slow*"]  | "com.FooTest.OtherTest"   | "slow"                | true
            ["com.FooTest***slow*"]  | "FooTest"                 | "slowMethod"          | false
        }
    
        def "matches any of input"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top