Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for TestComponent (0.18 sec)

  1. 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)
  2. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/internal/DefaultSwiftComponentTest.groovy

            def f1 = tmpDir.createFile("src/a/swift/a.swift")
            def f2 = tmpDir.createFile("src/b/swift/b.swift")
            def c1 = project.objects.newInstance(TestComponent, "a")
            def c2 = project.objects.newInstance(TestComponent, "b")
    
            expect:
            c1.swiftSource.files == [f1] as Set
            c2.swiftSource.files == [f2] as Set
        }
    
        def "can modify Swift source compatibility"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/query/DefaultArtifactResolutionQueryTest.groovy

            testComponentTypeRegistry  | TestComponent         | UnknownArtifact      | "Artifact type $UnknownArtifact.name is not registered for component type ${TestComponent.name}."
        }
    
        def "forModule is cumulative"() {
            withArtifactResolutionInteractions(2)
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 19:46:40 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/cpp/CppTestExecutable.java

    import org.gradle.nativeplatform.test.TestComponent;
    import org.gradle.nativeplatform.test.tasks.RunTestExecutable;
    
    /**
     * A test executable with tests implemented in C++.
     *
     * @since 4.5
     */
    public interface CppTestExecutable extends CppBinary, ComponentWithExecutable, ComponentWithInstallation, TestComponent {
        /**
         * {@inheritDoc}
         */
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/SwiftXCTestBinary.java

    import org.gradle.nativeplatform.tasks.AbstractLinkTask;
    import org.gradle.nativeplatform.test.TestComponent;
    import org.gradle.nativeplatform.test.xctest.tasks.XCTest;
    
    /**
     * An test binary built from Swift source.
     *
     * @since 4.4
     */
    public interface SwiftXCTestBinary extends SwiftBinary, TestComponent {
        /**
         * Returns the executable test file for this binary.
         *
         * @since 4.5
         */
    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. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/internal/DefaultCppComponentTest.groovy

            def c1 = project.objects.newInstance(TestComponent, "a")
            def c2 = project.objects.newInstance(TestComponent, "b")
    
            expect:
            c1.cppSource.files == [f1] as Set
            c1.privateHeaderDirs.files == [h1] as Set
            c2.cppSource.files == [f2] as Set
            c2.privateHeaderDirs.files == [h2] as Set
        }
    
        static class TestComponent extends DefaultCppComponent {
            @Inject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. 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)
  8. platforms/native/tooling-native/src/main/java/org/gradle/language/cpp/internal/tooling/CppModelBuilder.java

                }
            }
            DefaultCppComponentModel testComponent = null;
            CppTestSuite testSuite = project.getComponents().withType(CppTestSuite.class).findByName("test");
            if (testSuite != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-active-collections/1.0-beta-1/plexus-active-collections-1.0-beta-1.pom

        </dependency>
      </dependencies>
    
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
              <excludes>
                <exclude>**/TestComponent.java</exclude>
                <exclude>**/TestBadComponent.java</exclude>
                <exclude>**/*TCK.java</exclude>
              </excludes>
            </configuration>
          </plugin>
        </plugins>
      </build>
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  10. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/TestSuiteComponent.java

     *
     * @since 4.5
     */
    public interface TestSuiteComponent extends SoftwareComponent {
        /**
         * Returns the binary to use as the default to run this test suite.
         */
        Provider<? extends TestComponent> getTestBinary();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top