Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TestCollection (0.17 sec)

  1. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/CompositeFileCollectionSpec.groovy

            return new TestCollection() {
                @Override
                protected void visitChildren(Consumer<FileCollectionInternal> visitor) {
                    visitor.accept(TestFiles.fileCollectionFactory().fixed(files))
                }
            }
        }
    
        def "visits contents on each query"() {
            def visited = 0;
            def collection = new TestCollection() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/jvm/JavaModuleDetectorTest.groovy

                } else {
                    new File(entry) // do not create
                }
            }
            new TestCollection(files)
        }
    
        private static class TestCollection extends AbstractFileCollection {
            private Set<File> entries
    
            private TestCollection(Set<File> entries) {
                this.entries = entries
            }
            @Override
            String getDisplayName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 07 13:50:48 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/file/CalculatedTaskInputFileCollectionTest.groovy

            then:
            1 * input1.cleanupValue()
            1 * input3.cleanupValue()
        }
    
        def "notifies calculated files of task start and complete"() {
            def calculated = Mock(TestCollection)
            def fileCollection = new CalculatedTaskInputFileCollection(taskDependencyFactory, ":task", calculated)
    
            when:
            fileCollection.prepareValue()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

      }
    
      public void testImmutableSortedMultiset() {
        assertFreshInstance(new TypeToken<ImmutableSortedMultiset<String>>() {});
      }
    
      public void testCollection() {
        assertFreshInstance(new TypeToken<Collection<String>>() {});
      }
    
      public void testIterable() {
        assertFreshInstance(new TypeToken<Iterable<String>>() {});
      }
    
      public void testMap() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

      }
    
      public void testImmutableSortedMultiset() {
        assertFreshInstance(new TypeToken<ImmutableSortedMultiset<String>>() {});
      }
    
      public void testCollection() {
        assertFreshInstance(new TypeToken<Collection<String>>() {});
      }
    
      public void testIterable() {
        assertFreshInstance(new TypeToken<Iterable<String>>() {});
      }
    
      public void testMap() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
Back to top