Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for TestComponent (0.19 sec)

  1. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestPlugin.java

            final DefaultCppTestSuite testComponent = componentFactory.newInstance(CppTestSuite.class, DefaultCppTestSuite.class, "test");
            project.getExtensions().add(CppTestSuite.class, "unitTest", testComponent);
            project.getComponents().add(testComponent);
    
            testComponent.getBaseName().convention(project.getName() + "Test");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/plugins/XCTestConventionPlugin.java

            testSuite.getModule().set(GUtil.toCamelCase(project.getName() + "Test"));
    
            final DefaultSwiftXCTestSuite testComponent = testSuite;
    
            testComponent.getTargetMachines().convention(useHostAsDefaultTargetMachine(targetMachineFactory));
            testComponent.getSourceCompatibility().convention(testComponent.getTestedComponent().flatMap(it -> it.getSourceCompatibility()));
            final String mainComponentName = "main";
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyGradleModuleMetadataPublishIntegrationTest.groovy

    import spock.lang.Issue
    
    class IvyGradleModuleMetadataPublishIntegrationTest extends AbstractIvyPublishIntegTest {
        def setup() {
            buildFile """
    // TODO - use public APIs when available
    class TestComponent implements org.gradle.api.internal.component.SoftwareComponentInternal, ComponentWithVariants {
        String name
        Set usages = []
        Set variants = []
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 30.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/projectmodule/DefaultProjectDependencyPublicationResolverTest.groovy

        }
    
        def "detects multiple components with the same coordinates"() {
            given:
            def child1 = Stub(TestComponent)
            def child2 = Stub(TestComponent)
    
            def root = Stub(TestComponent) {
                getVariants() >> [child1, child2]
            }
    
            def publication = pub('mock3', "root-group", "root-name", "root-version", root)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 01:37:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  5. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenGradleModuleMetadataPublishIntegrationTest.groovy

    import spock.lang.Issue
    
    class MavenGradleModuleMetadataPublishIntegrationTest extends AbstractMavenPublishIntegTest {
        def setup() {
            buildFile << """
    // TODO - use public APIs when available
    class TestComponent implements org.gradle.api.internal.component.SoftwareComponentInternal, ComponentWithVariants {
        String name
        Set usages = []
        Set variants = []
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  6. platforms/software/publish/src/test/groovy/org/gradle/api/publish/internal/metadata/GradleModuleMetadataWriterTest.groovy

            def writer = new StringWriter()
            def rootComponent = Stub(TestComponent)
            def rootPublication = publication(rootComponent, id)
    
            def id1 = DefaultModuleVersionIdentifier.newId("group", "other-1", "1")
            def comp1 = Stub(TestComponent)
            def publication1 = publication(comp1, id1)
            def id2 = DefaultModuleVersionIdentifier.newId("group", "other-2", "2")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 36.9K bytes
    - Viewed (0)
  7. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r410/CppModelCrossVersionSpec.groovy

            then:
            project.mainComponent == null
            project.testComponent instanceof CppTestSuite
            project.testComponent.name == 'test'
            project.testComponent.baseName == 'coreTest'
    
            project.testComponent.binaries.size() == 1
            def testBinary = project.testComponent.binaries[0]
            testBinary instanceof CppExecutable
            testBinary.name == 'testExecutable'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/test/groovy/org/gradle/language/plugins/NativeBasePluginTest.groovy

        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def projectDir = tmpDir.createDir("project")
        def project = ProjectBuilder.builder().withProjectDir(projectDir).withName("testComponent").build()
    
        def "registers each binary of a component as it becomes known"() {
            def b1 = Stub(SoftwareComponent)
            b1.name >> "b1"
            def b2 = Stub(SoftwareComponent)
            b2.name >> "b2"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIvyPublishIntegrationTest.groovy

        def setup() {
            buildFile """
                // TODO - use public APIs when available
                import org.gradle.api.internal.attributes.*
                import org.gradle.api.internal.component.*
                class TestComponent implements SoftwareComponentInternal, ComponentWithVariants {
                    String name
                    Set usages = []
                    Set variants = []
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheMavenPublishIntegrationTest.groovy

        def setup() {
            buildFile """
                // TODO - use public APIs when available
                import org.gradle.api.internal.attributes.*
                import org.gradle.api.internal.component.*
                class TestComponent implements SoftwareComponentInternal, ComponentWithVariants {
                    String name
                    Set usages = []
                    Set variants = []
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top