Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 268 for testsuites (0.26 sec)

  1. platforms/jvm/plugins-jvm-test-suite/src/main/java/org/gradle/api/plugins/JvmTestSuitePlugin.java

            TestingExtension testing = project.getExtensions().getByType(TestingExtension.class);
            ExtensiblePolymorphicDomainObjectContainer<TestSuite> testSuites = testing.getSuites();
            testSuites.registerBinding(JvmTestSuite.class, DefaultJvmTestSuite.class);
    
            project.getTasks().withType(Test.class).configureEach(test -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 21:08:13 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/plugins/TestSuiteModelIntegrationSpec.groovy

                }
    
                apply type: TestSuiteTypeRules
    
                model {
                    testSuites {
                        main(CustomTestSuite)
                    }
                }
            """
        }
    
        void withMainSourceSet() {
            buildFile << """
                model {
                    testSuites {
                        main {
                            sources {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/googletest/GoogleTestIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "can configure via testSuite component"() {
            given:
            useConventionalSourceLocations()
    
            buildFile << """
    model {
        components {
            hello(NativeLibrarySpec) {
                targetPlatform "x86"
            }
        }
        testSuites {
            helloTest(GoogleTestTestSuiteSpec) {
                testing \$.components.hello
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/XCTestSourceElement.java

            return result;
        }
    
        public static SourceFile getLinuxMainSourceFile(List<XCTestSourceFileElement> testSuites) {
            StringBuilder content = new StringBuilder();
            content.append("import XCTest\n");
    
            for (XCTestSourceFileElement testSuite : testSuites) {
                content.append("extension " + testSuite.getTestSuiteName() + " {\n");
                content.append("  public static var allTests = [\n");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/googletest/plugins/GoogleTestConventionPlugin.java

        static class Rules extends RuleSource {
    
            @Defaults
            public void createCUnitTestSuitePerComponent(TestSuiteContainer testSuites, ModelMap<NativeComponentSpec> components) {
                NativeTestSuites.createConventionalTestSuites(testSuites, components, GoogleTestTestSuiteSpec.class);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. cmd/prune-junit-xml/prunexml_test.go

    		</testcase>
    	</testsuite>
    </testsuites>`
    
    	outputXML := `<?xml version="1.0" encoding="UTF-8"?>
    <testsuites>
    	<testsuite tests="3" failures="1" time="271.610000" name="k8s.io/kubernetes/test/integration/apiserver" timestamp="">
    		<properties>
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 12:26:00 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  7. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "can configure via testSuite component"() {
            given:
            useConventionalSourceLocations()
    
            buildFile << """
    model {
        components {
            hello(NativeLibrarySpec) {
                targetPlatform "x86"
            }
        }
        testSuites {
            helloTest(CUnitTestSuiteSpec) {
                testing \$.components.hello
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17K bytes
    - Viewed (0)
  8. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/plugins/TestSuiteDefinitionIntegrationSpec.groovy

        }
    
        @ComponentType
        void registerLanguageType(TypeBuilder<CustomTestSourceSet> builder) {
        }
    
        @Mutate
        void testSuiteDefaults(TestSuiteContainer testSuites) {
    //        testSuites.withType(CustomTestSuite).beforeEach { suite ->
            testSuites.withType(CustomTestSuite) { suite ->
                suite.sources.create('tests', CustomTestSourceSet)
                suite.binaries.create('tests', CustomTestBinary)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. platforms/software/test-suites-base/src/main/java/org/gradle/testing/base/plugins/TestingModelBasePlugin.java

            }
    
            @Model
            void testSuites(TestSuiteContainer testSuites) {
            }
    
            @Mutate
            void copyTestBinariesToGlobalContainer(BinaryContainer binaries, TestSuiteContainer testSuites) {
                for (TestSuiteSpec testSuite : testSuites.values()) {
                    for (BinarySpecInternal binary : testSuite.getBinaries().withType(BinarySpecInternal.class).values()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 16:02:04 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. platforms/software/test-suites-base/src/test/groovy/org/gradle/testing/base/plugins/TestingModelBasePluginTest.groovy

            realize("baseComponent") instanceof TestSuiteSpec
        }
    
        def "adds a 'testSuites' container to the project model"() {
            when:
            dsl {
                apply plugin: TestingModelBasePlugin
            }
    
            then:
            realizeTestSuites() != null
        }
    
        def "links the binaries of each component in 'testSuites' container into the 'binaries' container"() {
            when:
            dsl {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 16:02:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top