Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 763 for New (0.02 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/impl/AbsolutePathFileCollectionFingerprinterTest.groovy

        def fileCollectionSnapshotter = new DefaultFileCollectionSnapshotter(fileSystemAccess, TestFiles.fileSystem())
        def fingerprinter = new AbsolutePathFileCollectionFingerprinter(DirectorySensitivity.DEFAULT, fileCollectionSnapshotter, FileSystemLocationSnapshotHasher.DEFAULT)
        def listener = Mock(ChangeListener)
    
        @Rule
        public final TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 20 16:00:23 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  2. platforms/jvm/war/src/integTest/groovy/org/gradle/api/tasks/bundling/WarTaskIntegrationTest.groovy

                    destinationDirectory = buildDir
                    archiveFileName = 'test.war'
                }
            """
    
            when:
            run "war"
    
            then:
            def war = new JarTestFixture(file('build/test.war'))
            war.assertManifestPresentAndFirstEntry()
            war.assertContainsFile('META-INF/MANIFEST.MF')
            war.assertContainsFile('META-INF/metainf1/file2.txt')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 13:20:44 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

            InputFile         | '@InputFile @PathSensitive(PathSensitivity.NONE)'          | File           | "new File(\"input.txt\")"
            InputFiles        | '@InputFiles @PathSensitive(PathSensitivity.NAME_ONLY)'    | Set            | "new HashSet()"
            InputDirectory    | '@InputDirectory @PathSensitive(PathSensitivity.RELATIVE)' | File           | "new File(\"input\")"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

        final Runnable onFinishCommand = Mock(Runnable)
        boolean canceled = false
        final Runnable onCancelCommand = new Runnable() {
            @Override
            void run() {
                canceled = true;
            }
        }
        final coordinator = new DaemonStateCoordinator(executorFactory, onStartCommand, onFinishCommand, onCancelCommand, 2000)
    
        def "can stop multiple times"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFeaturesIntegrationTest.groovy

        }
    
        private RepoFixture repoWithout(String group, String artifact) {
            HttpServer server = new HttpServer()
            MavenHttpRepository repo = new MavenHttpRepository(server, '/empty', maven(file('empty')))
            server.start()
            repo.getModuleMetaData(group, artifact).expectGetMissing()
            new RepoFixture(repo, { server.stop() })
        }
    
        enum DynamicVersionScenario {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 33K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformEnvironmentIntegrationTest.groovy

                    runtimeOnly 'org.junit.platform:junit-platform-launcher'
                }
            """
    
            addClasspathTest("""
                assertTrue(new HashSet<>(jars).equals(new HashSet<>(Arrays.asList(
                    "gradle-worker.jar",
                    "test",
                    "junit-jupiter-params-${JUNIT_JUPITER_VERSION}.jar",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/AbstractFileCollectionTest.groovy

            File file1 = new File("f1")
            File file2 = new File("f2")
            File file3 = new File("f3")
            TestFileCollection collection1 = new TestFileCollection(file1, file2)
            TestFileCollection collection2 = new TestFileCollection(file2, file3)
    
            when:
            FileCollection sum = collection1.plus(collection2)
    
            then:
            assertThat(sum, instanceOf(UnionFileCollection.class))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanTest.groovy

        DefaultFinalizedExecutionPlan finalizedPlan
    
        def accessHierarchies = new ExecutionNodeAccessHierarchies(CASE_SENSITIVE, Stub(Stat))
        def taskNodeFactory = new TaskNodeFactory(thisBuild, Stub(BuildTreeWorkGraphController), nodeValidator, new TestBuildOperationRunner(), accessHierarchies)
        def dependencyResolver = new TaskDependencyResolver([new TaskNodeDependencyResolver(taskNodeFactory)])
    
        def setup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolvedFilesApiIntegrationTest.groovy

    allprojects {
        repositories { maven { url '$mavenHttpRepo.uri' } }
    }
    dependencies {
        compile 'org:test:1.0'
        compile 'org:test2:2.0'
        compile files { throw new RuntimeException('broken 1') }
        compile files { throw new RuntimeException('broken 2') }
        compile project(':a')
    }
    
    project(':a') {
        configurations.compile.outgoing.variants {
            v1 { }
            v2 { }
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/CachingModuleComponentRepositoryTest.groovy

        def listener = Stub(ChangingValueDependencyResolutionListener)
        def caches = new ModuleRepositoryCaches(moduleResolutionCache, moduleDescriptorCache, moduleArtifactsCache, artifactAtRepositoryCache)
        def resolveStateFactory = DependencyManagementTestUtil.modelGraphResolveFactory()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top