Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 763 for New (0.17 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy

            when:
            def remapped = relocatedJarCreator.remapClass(clazz.name, classData)
            def cr = new ClassReader(remapped)
            def writer = new StringWriter()
            def tcv = new TraceClassVisitor(new PrintWriter(writer))
            cr.accept(tcv, 0)
    
            then:
            def bytecode = writer.toString()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache/src/integTest/groovy/org/gradle/caching/internal/BuildCacheBuildOperationsIntegrationTest.groovy

    class BuildCacheBuildOperationsIntegrationTest extends AbstractIntegrationSpec {
    
        @Shared
        String remoteCacheClass = "RemoteBuildCache"
    
        def operations = new BuildOperationsFixture(executer, testDirectoryProvider)
        def cacheOperations = new BuildCacheOperationFixtures(operations)
    
        void remote(String loadBody, String storeBody) {
            register(remoteCacheClass, loadBody, storeBody)
        }
    
        def setup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/GeneratedSourcesIntegrationTest.groovy

            }
        }
    }
    """
    
            when:
            succeeds "visualStudio"
    
            then:
            final mainSolution = new SolutionFile(file("test.sln"))
            mainSolution.assertHasProjects("mainExe")
    
            and:
            final projectFile = new ProjectFile(file("mainExe.vcxproj"))
            projectFile.sourceFiles as Set == [
                    "build.gradle",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/HtmlTestExecutionResult.groovy

        }
    
        TestClassExecutionResult testClass(String testClass) {
            return new HtmlTestClassExecutionResult(new File(htmlReportDirectory, "classes/${FileUtils.toSafeFileName(testClass)}.html"))
        }
    
        TestClassExecutionResult testClassStartsWith(String testClass) {
            return new HtmlTestClassExecutionResult(new File(htmlReportDirectory, "classes").listFiles().find { it.name.startsWith(FileUtils.toSafeFileName(testClass)) })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy

            "WithNestedRecords"       | "new WithNestedRecords('str', new MultipleFields('str', 42, 'other_str'), new ZeroFields(), 66)" | "WithNestedRecords[str=str, mf=MultipleFields[str=str, number=42, other=other_str], zf=ZeroFields[], number=66]"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarEncodingIntegrationTest.groovy

                }
            """.stripIndent()
    
            createDir('test') {
                file 'mojibak€.txt'
            }
            assert new String('mojibak€.txt').getBytes('ISO-8859-15') != new String('mojibak€.txt').getBytes('UTF-8')
    
            when:
            succeeds 'jar'
    
            then:
            def jar = new JarTestFixture(file('dest/test.jar'), 'ISO-8859-15')
            jar.assertContainsFile('mojibak€.txt')
        }
    
        @Issue('GRADLE-3374')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/problems/ReceivedProblem.groovy

                if (location['pluginId'] != null) {
                    result += new ReceivedPluginIdLocation(location as Map<String, Object>)
                } else if (location['line'] != null) {
                    result += new ReceivedLineInFileLocation(location as Map<String, Object>)
                } else if (location['offset'] != null) {
                    result += new ReceivedOffsetInFileLocation(location as Map<String, Object>)
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 12:45:23 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

                    def overlappingDir = file("${getOverlappingOutputDir()}")
                    doLast {
                        overlappingDir.mkdirs()
                        new File(overlappingDir, "new-output.txt").text = "new output"
                    }
                }
    
            """.stripIndent()
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterTest.groovy

        @Rule
        public final TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
    
        def fileHasher = new TestFileHasher()
        def statisticsCollector = Stub(DirectorySnapshotterStatistics.Collector)
        def directorySnapshotter = new DirectorySnapshotter(fileHasher, new StringInterner(), [], statisticsCollector)
        List<FileSystemLocationSnapshot> unfilteredSubsnapshots = []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/MissingScriptFixture.groovy

                [
                    new MissingBuild(),
                    new MissingSettings(),
                    new MissingBuildInBuildSrc(),
                    new MissingSettingsInBuildSrc(),
                    new MissingBuildInIncluded(),
                    new MissingSettingsInIncluded()
                ]
            ].combinations().collect { ScriptLanguage scriptLanguage, Scenario scenario ->
                new Spec(scriptLanguage, scenario)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top