Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getRunOrExtendWithAnnotation (0.4 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/fixture/AbstractTestingMultiVersionIntegrationTest.groovy

        }
    
        String getAfterTestAnnotation() {
            return testSourceConfiguration.afterTestAnnotation
        }
    
        String getRunOrExtendWithAnnotation(String runOrExtendWithClasses) {
            return testSourceConfiguration.getRunOrExtendWithAnnotation(runOrExtendWithClasses)
        }
    
        String maybeParentheses(String methodName) {
            return testSourceConfiguration.maybeParentheses(methodName)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGMultiVersionTest.groovy

                return "@AfterTest"
            }
    
            @Override
            String getIgnoreOrDisabledAnnotation() {
                return "@Ignore"
            }
    
            @Override
            String getRunOrExtendWithAnnotation(String runOrExtendWithClasses) {
                // TODO implement this if needed
                throw new UnsupportedOperationException()
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterMultiVersionTest.groovy

                return "@BeforeEach"
            }
    
            @Override
            String getAfterTestAnnotation() {
                return "@AfterEach"
            }
    
            @Override
            String getRunOrExtendWithAnnotation(String runOrExtendWithClasses) {
                return "@ExtendWith({ ${runOrExtendWithClasses} })"
            }
    
            @Override
            String maybeParentheses(String methodName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4CommonTestSources.groovy

                return "@Before"
            }
    
            @Override
            String getAfterTestAnnotation() {
                return "@After"
            }
    
            @Override
            String getRunOrExtendWithAnnotation(String runOrExtendWithClasses) {
                return "@RunWith(${runOrExtendWithClasses})"
            }
    
            @Override
            String maybeParentheses(String methodName) {
                return methodName
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4TestClassDetectionIntegrationTest.groovy

        def "detects test classes"() {
            given:
            file('src/test/java/org/gradle/AbstractHasRunWith.java') << """
                package org.gradle;
    
                ${testFrameworkImports}
    
                ${getRunOrExtendWithAnnotation('CustomRunnerOrExtension.class')}
                public abstract class AbstractHasRunWith {
                }
            """.stripIndent()
            if (supportsEmptyClassWithRunner) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4JUnitIntegrationTest.groovy

                }
            """.stripIndent()
            file('src/test/java/org/gradle/ExecutionOrderTest.java') << """
                package org.gradle;
    
                ${testFrameworkImports}
    
                ${getRunOrExtendWithAnnotation('CustomRunner.class')}
                public class ExecutionOrderTest {
    
                    static{
                        CustomRunner.isClassUnderTestLoaded = true;
                    }
    
                    @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

                    }
                }
            """
            file('src/test/java/DescriptionWithNullClassTest.java') << """
                ${testFrameworkImports}
    
                ${getRunOrExtendWithAnnotation('CustomRunner.class')}
                public class DescriptionWithNullClassTest {
                    @Test
                    public void someTest() {
                    }
                }
    
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top