Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 248 for testLib (0.12 sec)

  1. platforms/documentation/docs/src/snippets/testKit/gradleVersion/groovy/src/test/groovy/org/gradle/sample/BuildLogicFunctionalTest.groovy

    package org.gradle.sample
    
    // tag::functional-test-spock-gradle-version[]
    import org.gradle.testkit.runner.GradleRunner
    import static org.gradle.testkit.runner.TaskOutcome.*
    import spock.lang.TempDir
    import spock.lang.Specification
    
    class BuildLogicFunctionalTest extends Specification {
        @TempDir File testProjectDir
        File settingsFile
        File buildFile
    
        def setup() {
            settingsFile = new File(testProjectDir, 'settings.gradle')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/test/groovy/org/gradle/testkit/runner/internal/feature/BuildResultOutputFeatureCheckTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testkit.runner.internal.feature
    
    import org.gradle.testkit.runner.UnsupportedFeatureException
    import org.gradle.util.GradleVersion
    import spock.lang.Specification
    
    class BuildResultOutputFeatureCheckTest extends Specification {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. test/README.md

    It includes black box tests, regression tests, and error output tests.
    They are run as part of all.bash.
    
    To run just these tests, execute:
    
    	../bin/go test cmd/internal/testdir
    
    To run just tests from specified files in this directory, execute:
    
    	../bin/go test cmd/internal/testdir -run='Test/(file1.go|file2.go|...)'
    
    Standard library tests should be written as regular Go tests in the appropriate package.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 17:18:08 UTC 2023
    - 731 bytes
    - Viewed (0)
  4. src/crypto/x509/root_unix_test.go

    			name:    "dir",
    			fileEnv: "",
    			dirEnv:  testDir,
    			files:   nil,
    			dirs:    nil,
    			cns:     []string{testDirCN},
    		},
    		{
    			// File & directory environment overrides both default locations.
    			name:    "file+dir",
    			fileEnv: testFile,
    			dirEnv:  testDir,
    			files:   nil,
    			dirs:    nil,
    			cns:     []string{testFileCN, testDirCN},
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 00:36:38 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsPerformanceIntegrationTest.groovy

    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.IntegTestPreconditions
    import org.gradle.testing.internal.util.RetryUtil
    
    @Requires(IntegTestPreconditions.NotEmbeddedExecutor) // Gradle API and TestKit JARs are not generated when running embedded
    class GradleImplDepsPerformanceIntegrationTest extends BaseGradleImplDepsIntegrationTest {
    
        @ToBeFixedForConfigurationCache(skip = ToBeFixedForConfigurationCache.Skip.FLAKY)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecResolutionTest.groovy

    class DefaultCopySpecResolutionTest extends Specification {
    
        @Rule
        public TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass())
        def fileResolver = TestFiles.resolver(testDir.testDirectory)
        def fileCollectionFactory = TestFiles.fileCollectionFactory(testDir.testDirectory)
        def objectFactory = TestUtil.objectFactory()
        def instantiator = TestUtil.instantiatorFactory().decorateLenient()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 28 12:39:32 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  7. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerManualPluginClasspathInjectionIntegrationTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testkit.runner
    
    import org.gradle.testkit.runner.fixtures.PluginUnderTest
    
    class GradleRunnerManualPluginClasspathInjectionIntegrationTest extends BaseGradleRunnerIntegrationTest {
    
        def plugin = new PluginUnderTest(file("plugin"))
    
        /*
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ZincScalaCompileFixture.groovy

    import org.gradle.test.fixtures.file.TestDirectoryProvider
    
    
    class ZincScalaCompileFixture extends InitScriptExecuterFixture {
        ZincScalaCompileFixture(GradleExecuter executer, TestDirectoryProvider testDir) {
            super(executer, testDir)
        }
    
        @Override
        String initScriptContent() {
            return """
                allprojects {
                    $disableScalaDocIfInDaemonMode
                }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/configurationCache/testKit/kotlin/settings.gradle.kts

    rootProject.name = "testkit-configuration-cache"...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 49 bytes
    - Viewed (0)
  10. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/publisher/ValidatingMavenPublisherTest.groovy

                getExtension() >> "ext1"
                getClassifier() >> "classified"
                getFile() >> testDir.createFile('artifact1')
            }
            MavenArtifact artifact2 = Stub() {
                getExtension() >> "ext1"
                getClassifier() >> "classified"
                getFile() >> testDir.createFile('artifact2')
            }
            def projectIdentity = makeProjectIdentity("group", "artifact", "version")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 12K bytes
    - Viewed (0)
Back to top