Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for hasFiles (0.21 sec)

  1. 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)
  2. 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)
  3. .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)
  4. 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)
  5. .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)
  6. platforms/software/version-control/src/main/java/org/gradle/vcs/internal/DefaultVcsMappingsStore.java

        @Override
        public VcsResolver asResolver() {
            return this;
        }
    
        @Nullable
        @Override
        public VersionControlSpec locateVcsFor(ModuleComponentSelector selector) {
            if (!hasRules()) {
                return null;
            }
            VcsMappingInternal mapping = vcsMappingFactory.create(selector);
            applyTo(mapping);
            if (mapping.hasRepository()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/resolver/SourcePathProviderTest.kt

                    scriptFile = null,
                    projectDir = folder("project"),
                    gradleHomeDir = folder("gradle"),
                    sourceDistributionResolver = mock()
                ).asFiles,
                hasItems(
                    folder("project/buildSrc/src/main/foo"),
                    folder("project/buildSrc/src/main/bar"),
                    folder("gradle/src/gradle-foo"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 17:35:41 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  8. .github/workflows/maven.yml

          uses: actions/setup-java@v2
          with:
            java-version: '17'
            distribution: 'temurin'
        - uses: actions/cache@v1
          with:
            path: ~/.m2/repository
            key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
            restore-keys: |
              ${{ runner.os }}-maven-
        - name: Build with Maven
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Fri Nov 17 21:22:20 UTC 2023
    - 822 bytes
    - Viewed (0)
  9. .github/workflows/codeql-analysis.yml

        - name: Cache Gradle Modules
          uses: actions/cache@v4
          with:
            path: |
              ~/.gradle/caches/modules-2/
              ~/.gradle/caches/build-cache-1/
              ~/.gradle/caches/signatures/
              ~/.gradle/caches/keyrings/
            key: ${{ runner.os }}-gradle-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

            return user.isEditable();
        }
    
        public boolean hasRole(final String role) {
            return stream(user.getRoleNames()).get(stream -> stream.anyMatch(s -> s.equals(role)));
        }
    
        public boolean hasRoles(final String[] acceptedRoles) {
            return stream(user.getRoleNames())
                    .get(stream -> stream.anyMatch(s1 -> stream(acceptedRoles).get(s3 -> s3.anyMatch(s2 -> s2.equals(s1)))));
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top