- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for hasFiles (0.24 sec)
-
platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseIncrementalCompilationAfterFailureIntegrationTest.groovy
when: def a = source("class A { garbage }") runAndFail language.compileTaskName then: outputs.noneRecompiled() outputs.hasFiles(file("A.class"), file("B.class")) when: a.text = "class A {}" run language.compileTaskName then: outputs.noneRecompiled() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:30 UTC 2024 - 22.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/CompilationOutputsFixture.groovy
def expectedNames = files.collect({ removeExtension(it.name) }) as Set assert changedFileNames == expectedNames } //asserts has the exact set of output files void hasFiles(File... files) { def expectedNames = files.collect({ removeExtension(it.name) }) as Set assert getFiles { true } == expectedNames } //asserts file changed/added since last snapshot
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppIncrementalBuildIntegrationTest.groovy
libObjects.noneRecompiled() appObjects.recompiledFile(appSourceFile) // Test assumes that the app has multiple source files and only one of them has changed. Verify that assumption appObjects.hasFiles(appSourceFile, appOtherSourceFile) and: install.assertInstalled() install.exec().out == "hello planet" when: run installApp then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 40.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/AdminAction.java
if (user.hasRoles(getActionRoles(AdminSchedulerAction.ROLE))) { return AdminSchedulerAction.class; } if (user.hasRoles(getActionRoles(AdminDesignAction.ROLE))) { return AdminDesignAction.class; } if (user.hasRoles(getActionRoles(AdminDictAction.ROLE))) { return AdminDictAction.class; } if (user.hasRoles(getActionRoles(AdminAccesstokenAction.ROLE))) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy
then: cachedClasspath.asFiles == [cachedFile] cachedFile.assertIsFile() and: 1 * fileAccessTimeJournal.setLastAccessTime(cachedFile.parentFile, _) 0 * fileAccessTimeJournal._ when: def cachedClasspath2 = transformer.transform(classpath, BuildLogic) then: cachedClasspath2.asFiles == [cachedFile] and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 20.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classpath/DefaultClassPathTest.groovy
expect: cp1.asFiles == [file1, file2] cp2.asFiles == [file1, file2] } def "can add classpaths together"() { def file1 = new File("a.jar") def file2 = new File("b.jar") def cp1 = DefaultClassPath.of(file1) def cp2 = DefaultClassPath.of(file2) expect: def cp3 = cp1 + cp2 cp3.asFiles == [file1, file2] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 4.1K bytes - Viewed (0) -
.github/workflows/tests.yml
uses: actions/checkout@v4 - name: go mod package cache uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('tests/go.mod') }} - name: Tests run: GITHUB_ACTION=true GORM_DIALECT=sqlite ./tests/tests_all.sh mysql: strategy: matrix: dbversion: ['mysql/mysql-server:latest', 'mysql:5.7']
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 09:24:34 UTC 2024 - 6.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/plugins/PluginInspector.java
boolean hasRules = this.modelRuleSourceDetector.hasRules(type); if (implementsInterface) { @SuppressWarnings("unchecked") Class<? extends Plugin<?>> cast = (Class<? extends Plugin<?>>) type; return Cast.uncheckedCast(toImperative(cast, hasRules)); } else if (hasRules) { return new PotentialPureRuleSourceClassPlugin<T>(type);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 10:39:11 UTC 2019 - 4.5K bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/DefaultModuleRegistryTest.groovy
expect: def module = registry.getModule("gradle-some-module") module.implementationClasspath.asFiles == [classesDir, resourcesDir, staticResourcesDir] module.runtimeClasspath.asFiles == [externalRuntimeDep] def dep = registry.getExternalModule("dep") dep.implementationClasspath.asFiles == [externalRuntimeDep] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 17.9K bytes - Viewed (0) -
.github/workflows/deploy-docs.yml
github-token: ${{ secrets.FASTAPI_PREVIEW_DOCS_DOWNLOAD_ARTIFACTS }} run-id: ${{ github.event.workflow_run.id }} - name: Deploy to Cloudflare Pages # hashFiles returns an empty string if there are no files if: hashFiles('./site/*') id: deploy uses: cloudflare/pages-action@v1 with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri May 10 00:30:25 UTC 2024 - 1.6K bytes - Viewed (0)