Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testFlatDirWithClosure (0.3 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/DefaultRepositoryHandlerTest.groovy

            Instantiator instantiator = TestUtil.instantiatorFactory().decorateLenient()
        ) {
            new DefaultRepositoryHandler(repositoryFactory, instantiator, CollectionCallbackActionDecorator.NOOP)
        }
    
        def testFlatDirWithClosure() {
            given:
            def repository = Mock(TestFlatDirectoryArtifactRepository) { getName() >> "name" }
            1 * repositoryFactory.createFlatDirRepository() >> repository
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 18:02:33 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top