Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for copyFrom (0.21 sec)

  1. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ConfigurableFileTreeCodec.kt

            val dir = readFile()
            val patterns = read() as PatternSet
            val tree = fileCollectionFactory.fileTree()
            tree.setDir(dir)
            // TODO - read patterns directly into tree
            tree.patterns.copyFrom(patterns)
            return tree
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/testng/TestNGOptionsTest.groovy

        def copyFromOverridesOldOptions() {
            given:
            def source = testNGOptionsWithPrefix("source", false, 0)
    
            when:
            def target = testNGOptionsWithPrefix("target", true, 5)
            target.copyFrom(source)
    
            then:
            with(target) {
                outputDirectory == source.outputDirectory
                includeGroups == source.includeGroups
                excludeGroups == source.excludeGroups
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestFramework.java

        @UsedByScanPlugin("test-retry")
        @Override
        public TestFramework copyWithFilters(TestFilter newTestFilters) {
            TestNGOptions copiedOptions = objects.newInstance(TestNGOptions.class);
            copiedOptions.copyFrom(options);
    
            return new TestNGTestFramework(
                (DefaultTestFilter) newTestFilters,
                objects,
                testTaskTemporaryDir,
                htmlReport,
                copiedOptions,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/testng/TestNGOptions.java

        }
    
        /**
         * Copies the options from the source options into the current one.
         * @since 8.0
         */
        public void copyFrom(TestNGOptions other) {
            this.outputDirectory = other.outputDirectory;
            replace(this.includeGroups, other.includeGroups);
            replace(this.excludeGroups, other.excludeGroups);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top