Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 135 for content_es (0.18 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/UrlValidator.groovy

        static void assertUrlContentContains(URL url, String contents) {
            assert url.text.contains(contents)
        }
    
        /**
         * Asserts that the content at the specified url matches the content in the provided String
         */
        static void assertUrlContent(URL url, String contents) {
            assert TextUtil.normaliseLineSeparators(url.text) == TextUtil.normaliseLineSeparators(contents)
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/execution/DryRunBuildExecutionActionTest.groovy

            def task2 = Mock(TaskInternal.class)
            def category = DryRunBuildExecutionAction.class.name
            def contents = Mock(QueryableExecutionPlan)
    
            given:
            startParameter.isDryRun() >> true
            executionPlan.contents >> contents
            contents.tasks >> toList(task1, task2)
    
            when:
            action.execute(gradle, executionPlan)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 26 20:13:45 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/UndefinedBuildExecutionIntegrationTest.groovy

        private void printFileTree(File dir) {
            def list = []
            if (dir.exists()) {
                dir.eachFileRecurse { file ->
                    list << file
                }
            }
    
            println "Contents of $dir.absolutePath:"
            list.each {
                println it.path
            }
        }
    
        def "fails when user home directory is used and Gradle has not been run before"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 09:18:31 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/util/internal/Resources.java

            }
        }
    
        @Nonnull
        private TestFile fromFile(URL resource) throws URISyntaxException {
            return new TestFile(resource.toURI());
        }
    
        /**
         * Extracts the contents of the jar file containing the given resource so that an (unzipped) file pointing to the
         * requested resources within the resource jar can be returned.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingInputStreamHasherTest.groovy

            '\n'    | 'LF'
        }
    
        def "does not normalize content for binary files with #description"() {
            def file = file('foo') << contents
    
            expect:
            !hasher.hashContent(file).isPresent()
    
            where:
            description               | contents
            "png content"             | content.PNG_CONTENT
            "jpg content"             | content.JPG_CONTENT
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/GeneratedSingletonFileTreeSpec.groovy

                assert !generatedFile.exists()
                assert details.file == generatedFile
                assert generatedFile.text == "contents!"
            }
            1 * generationListener.execute(generatedFile)
            1 * contentWriter.execute(_) >> { OutputStream outputStream ->
                outputStream << "contents!"
            }
            0 * _
        }
    
        def "visiting does not create file if visitor does not query the file location"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/internal/installation/CurrentGradleInstallationLocatorTest.groovy

            installation == null
    
            where:
            jarDirectory << ['other', 'other/plugins']
        }
    
        private void createJarFile(TestFile jar) {
            TestFile contents = tmpDir.createDir('contents')
            TestFile classFile = contents.createFile('org/gradle/MyClass.class')
    
            ClassNode classNode = new ClassNode()
            classNode.version = Opcodes.V1_6
            classNode.access = Opcodes.ACC_PUBLIC
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/tasks/InstallXCTestBundle.java

                        "--destination", new File(bundleDir, "Contents/Frameworks").getAbsolutePath(),
                        "--platform", "macosx",
                        "--resource-destination", new File(bundleDir, "Contents/Resources").getAbsolutePath(),
                        "--scan-folder", new File(bundleDir, "Contents/Frameworks").getAbsolutePath()
                    );
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/tasks/Input.java

     * This annotation cannot be used on a {@link java.io.File} object. If you want to refer to the file path,
     * independently of its contents, return a {@link java.lang.String String} instead which returns the absolute
     * path.
     * If, instead, you want to refer to the contents and path of a file or a directory, use
     * {@link org.gradle.api.tasks.InputFile} or {@link org.gradle.api.tasks.InputDirectory} respectively.
     */
    @Documented
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingFileSystemLocationSnapshotHasherTest.groovy

    class LineEndingNormalizingFileSystemLocationSnapshotHasherTest extends Specification {
        @TempDir
        File tempDir
    
        def "calculates hash for text file with #description"() {
            def file = file('foo') << contents
            def delegate = Mock(LineEndingNormalizingFileSystemLocationSnapshotHasher)
            def hasher = LineEndingNormalizingFileSystemLocationSnapshotHasher.wrap(delegate, LineEndingSensitivity.NORMALIZE_LINE_ENDINGS)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top