- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 248 for testLib (0.17 sec)
-
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) -
src/os/exec/dot_test.go
// Add "." to PATH so that exec.LookPath looks in the current directory on all systems. // And try to trick it with "../testdir" too. for _, errdot := range []string{"1", "0"} { t.Run("GODEBUG=execerrdot="+errdot, func(t *testing.T) { t.Setenv("GODEBUG", "execerrdot="+errdot+",execwait=2") for _, dir := range []string{".", "../testdir"} { t.Run(pathVar+"="+dir, func(t *testing.T) { t.Setenv(pathVar, dir+string(filepath.ListSeparator)+origPath)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 18:19:21 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/software/plugins-version-catalog/src/integTest/groovy/org/gradle/catalog/VersionCatalogResolveIntegrationTest.groovy
versionCatalog { library('my-lib', 'org.test:lib:1.0') } ''' executer.inDirectory(platformProject).withTasks('publish').run() platformProject = preparePlatformProject ''' versionCatalog { library('my-lib', 'org.test:lib:1.1') } ''', '1.1'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 16 12:28:14 UTC 2023 - 8.8K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerPluginClasspathInjectionIntegrationTest.groovy
*/ package org.gradle.testkit.runner import org.gradle.internal.nativeintegration.ProcessEnvironment import org.gradle.test.precondition.Requires import org.gradle.test.preconditions.IntegTestPreconditions import org.gradle.testfixtures.internal.NativeServicesTestFixture import org.gradle.testkit.runner.fixtures.InjectsPluginClasspath import org.gradle.testkit.runner.fixtures.InspectsBuildOutput
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 15 03:45:31 UTC 2024 - 13K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py
def get_client(tmp_path_factory: pytest.TempPathFactory): tmp_path = tmp_path_factory.mktemp("data") cwd = os.getcwd() os.chdir(tmp_path) test_db = Path("./sql_app.db") if test_db.is_file(): # pragma: nocover test_db.unlink() # Import while creating the client to create the DB after starting the test session from docs_src.sql_databases.sql_app_py39 import main
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 16.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testKit/automaticClasspathInjectionCustomTestSourceSet/kotlin/src/functionalTest/groovy/org/gradle/sample/BuildLogicFunctionalTest.groovy
package org.gradle.sample import org.gradle.testkit.runner.GradleRunner import spock.lang.TempDir import spock.lang.Specification import static org.gradle.testkit.runner.TaskOutcome.* 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 - 1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MixedMavenAndIvyModulesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 12.1K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/PluginTest.kt
package com.myorg import org.gradle.testkit.runner.BuildResult import org.gradle.testkit.runner.GradleRunner import org.junit.Before import org.junit.Rule import org.junit.rules.TemporaryFolder import java.io.File abstract class PluginTest { @Rule @JvmField val testProjectDir: TemporaryFolder = TemporaryFolder() protected lateinit var settingsFile: File protected lateinit var buildFile: File @Before
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/PluginTest.kt
package com.myorg import org.gradle.testkit.runner.BuildResult import org.gradle.testkit.runner.GradleRunner import org.junit.Before import org.junit.Rule import org.junit.rules.TemporaryFolder import java.io.File abstract class PluginTest { @Rule @JvmField val testProjectDir: TemporaryFolder = TemporaryFolder() protected lateinit var settingsFile: File protected lateinit var buildFile: File @Before
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testKit/automaticClasspathInjectionQuickstart/kotlin/src/test/groovy/org/gradle/sample/BuildLogicFunctionalTest.groovy
package org.gradle.sample import org.gradle.testkit.runner.GradleRunner import spock.lang.TempDir import spock.lang.Specification import static org.gradle.testkit.runner.TaskOutcome.* 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.1K bytes - Viewed (0)