Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 132 for test_ir (0.17 sec)

  1. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/internal/tasks/testing/detection/JarFilePackageListerTest.groovy

    class JarFilePackageListerTest extends Specification {
        @Rule
        private TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        private final TestFile testDir = tmpDir.testDirectory
        private final TestFile zipFile = testDir.file("lib.jar")
        private final ZipOutputStream out = new ZipOutputStream(new FileOutputStream(zipFile))
    
        def lister = new JarFilePackageLister()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccCompatibleNativeCompilerTest.groovy

        }
    
        def "arguments include GCC output flag and output file name"() {
            given:
            def compiler = getCompiler()
            def testDir = tmpDirProvider.testDirectory
            def outputFile = testDir.file("output.ext")
    
            when:
            def args = compiler.getOutputArgs(Stub(NativeCompileSpec), outputFile)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/WrapperPluginSpec.groovy

    import spock.lang.Specification
    
    @UsesNativeServices
    class WrapperPluginSpec extends Specification {
        @Rule
        public final TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(testDir.testDirectory)
    
        def "adds 'wrapper' task"() {
            when:
            project.pluginManager.apply WrapperPlugin
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppNativeCompilerTest.groovy

        }
    
        def "arguments include MSVC output flag and output file name"() {
            given:
            def compiler = getCompiler()
            def testDir = tmpDirProvider.testDirectory
            def outputFile = testDir.file("output.ext")
            def spec = Stub(compileSpecType)
    
            when:
            def args = compiler.getOutputArgs(spec, outputFile)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/UriTextResourceTest.groovy

    class UriTextResourceTest extends Specification {
        private TestFile testDir
        private File file
        private URI fileUri
        private RelativeFilePathResolver resolver = Mock()
        @Rule
        public TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
    
        def setup() {
            testDir = tmpDir.createDir('dir')
            file = new File(testDir, 'build.script')
            fileUri = file.toURI()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildCacheKeyFixture.groovy

        Map<String, HashCode> buildCacheKeys = [:]
    
        BuildCacheKeyFixture(GradleExecuter executer, TestDirectoryProvider testDir) {
            super(executer, testDir)
        }
    
        private TestFile getFile() {
            testDir.testDirectory.file("outputBuildCacheKey.json")
        }
    
        @Override
        String initScriptContent() {
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/MultiprojectIntegrationTest.groovy

                allprojects {
                    def destDir = buildDir
                    task test {
                        doLast {
                            destDir.mkdirs()
                            new File(destDir, 'test.txt') << 'content'
                        }
                    }
                    gradle.taskGraph.whenReady {
                        destDir.mkdirs()
                        new File(destDir, 'whenReady.txt') << 'content'
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. testing/internal-testing/src/main/groovy/org/gradle/testfixtures/internal/NativeServicesTestFixture.java

    import java.io.File;
    
    public class NativeServicesTestFixture {
        // Collect this early, as the process' current directory can change during embedded test execution
        private static final TestFile TEST_DIR = new TestFile(new File(".").toURI());
        static NativeServices nativeServices;
        static boolean initialized;
    
        public static synchronized void initialize() {
            if (!initialized) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/OriginFixture.groovy

    class OriginFixture extends UserInitScriptExecuterFixture {
    
        Map<String, OriginMetadata> origins = [:]
    
        OriginFixture(GradleExecuter executer, TestDirectoryProvider testDir) {
            super(executer, testDir)
        }
    
        private TestFile getFile() {
            testDir.testDirectory.file("outputOrigin.json")
        }
    
        @Override
        String initScriptContent() {
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ProgressLoggingFixture.groovy

        private TestFile fixtureData
    
        ProgressLoggingFixture(GradleExecuter executer, TestDirectoryProvider testDir) {
            super(executer, testDir)
        }
    
        List<String> progressContent
    
        @Override
        String initScriptContent() {
            fixtureData = testDir.testDirectory.file("progress-fixture.log")
            """
                import ${OutputEventListener.name}
                import ${OutputEvent.name}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top