Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for testPipe (0.29 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

            new TestFileHelper(this).tgzTo(tarFile, readOnly);
            return this;
        }
    
        public TestFile tbzTo(TestFile tarFile) {
            return tbzTo(tarFile, false);
        }
    
        public TestFile tbzTo(TestFile tarFile, boolean readOnly) {
            new TestFileHelper(this).tbzTo(tarFile, readOnly);
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/integtests/ExecIntegrationTest.groovy

                    def testFile = file("$buildDir/out.txt")
                    outputs.file testFile
                    executable = org.gradle.internal.jvm.Jvm.current().getJavaExecutable()
                    args '-cp', sourceSets.main.runtimeClasspath.asPath, 'org.gradle.TestMain', projectDir, testFile
                    doLast {
                        assert testFile.exists()
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/JavaProjectIntegrationTest.groovy

            testFile("build/classes/java/test/test.resource").assertDoesNotExist()
    
            testFile("build/classes/java/main/Main.class").assertExists()
            testFile("build/classes/java/test/TestFoo.class").assertExists()
        }
    
        @Test
        void generatesArtifactsWhenVersionIsEmpty() {
            testFile("settings.gradle") << "rootProject.name = 'empty'"
            def buildFile = testFile("build.gradle")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/internal/classpath/transforms/ClasspathElementTransformTest.groovy

        }
    
        def "instrumentation for #factory preserves classes"() {
            given:
            def testFile = jar(testDir.file("thing.jar")) {
                manifest {}
                entry("Foo.class", classOne())
            }
    
            expect:
            with(transformJar(factory, testFile)) {
                if (expectManifest) {
                    assertManifestPresentAndFirstEntry()
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 14 09:24:02 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. pkg/kubelet/metrics/collectors/resource_metrics_test.go

    				Node: statsapi.NodeStats{
    					CPU: &statsapi.CPUStats{
    						Time:                 testTime,
    						UsageCoreNanoSeconds: uint64Ptr(10000000000),
    					},
    					Memory: &statsapi.MemoryStats{
    						Time:            testTime,
    						WorkingSetBytes: uint64Ptr(1000),
    					},
    					Swap: &statsapi.SwapStats{
    						Time:           testTime,
    						SwapUsageBytes: uint64Ptr(500),
    					},
    				},
    			},
    			summaryErr: nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/MissingScriptFixture.groovy

            }
        }
    
        static interface Scenario {
    
            void setup(AbstractIntegrationSpec spec)
    
            void createInitialBuildLayoutIn(TestFile dir, ScriptLanguage scriptLanguage)
    
            TestFile addMissingScript(TestFile dir, ScriptLanguage scriptLanguage)
    
            String getDisplayName(String scriptExtension)
        }
    
        static class MissingBuild implements 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)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLoadingIntegrationTest.java

        }
    
        @Test
        public void canDetermineRootProjectAndDefaultProjectBasedOnBuildFile() {
            testFile("settings.gradle").write("include('child')");
    
            TestFile rootBuildFile = testFile("build.gradle");
            rootBuildFile.write("task('do-stuff')");
    
            TestFile childBuildFile = testFile("child/build.gradle");
            childBuildFile.write("task('do-stuff')");
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        fun hasTestsOf(testType: TestType) = (unitTests && testType.unitTests) || (functionalTests && testType.functionalTests) || (crossVersionTests && testType.crossVersionTests)
    }
    
    data class Stage(
        val stageName: StageName,
        val specificBuilds: List<SpecificBuild> = emptyList(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy

        TestFile testFile
        TestFile testFileLock
        TestFile testDir
        TestFile testDirLock
    
        List<Closeable> openedLocks = []
    
        def setup() {
            testFile = tmpDir.createFile("state.bin")
            testFileLock = tmpDir.file(testFile.name + ".lock")
            testDir = tmpDir.createDir("lockable-dir")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            }
            setUpAgentIfNeeded(testType, executer)
            disableIfNeeded(testType, executer)
        }
    
    
    internal
    fun IntegrationTest.disableIfNeeded(testType: TestType, executer: String) {
        if (testType == TestType.INTEGRATION && executer == "isolatedProjects") {
            isEnabled = false
        }
    }
    
    
    private
    fun IntegrationTest.setUpAgentIfNeeded(testType: TestType, executer: String) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top