- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 194 for testDir (0.42 sec)
-
platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/cunit/CUnitTest.groovy
import static org.gradle.model.internal.type.ModelTypes.modelMap @UsesNativeServices class CUnitTest extends Specification { @Rule TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass()) final def project = TestUtil.create(testDir).rootProject(); def "creates a test suite for each library under test"() { given: project.pluginManager.apply(CUnitConventionPlugin)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2K bytes - Viewed (0) -
testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuterTest.groovy
@UsesNativeServices class AbstractGradleExecuterTest extends Specification { @Rule public final TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass()); def gradleDistribution = Mock(GradleDistribution) AbstractGradleExecuter executer = new AbstractGradleExecuter(gradleDistribution, testDir) { @Override protected ExecutionResult doRun() { return null }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.8K 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/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/DefaultNativeToolChainRegistryTest.groovy
import static org.gradle.util.internal.TextUtil.toPlatformLineSeparators class DefaultNativeToolChainRegistryTest extends Specification { @Rule TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass()) def project = TestUtil.create(testDir).rootProject() def instantiator = project.services.get(Instantiator)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 7.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/initialization/DefaultProjectDescriptorRegistryTest.java
import static org.junit.Assert.assertSame; import static org.hamcrest.MatcherAssert.assertThat; public class DefaultProjectDescriptorRegistryTest { private static final File TEST_DIR = new File("testDir"); private static final FileResolver FILE_RESOLVER = TestFiles.resolver(TEST_DIR.getAbsoluteFile()); private final DefaultProjectDescriptorRegistry registry = new DefaultProjectDescriptorRegistry(); @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 08 03:33:31 UTC 2022 - 2.2K bytes - Viewed (0) -
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/DownloadedUriTextResourceTest.groovy
private TestFile testDir private File downloadedFile private URI sourceUri private RelativeFilePathResolver resolver = Mock() private TextResource underTest @Rule public TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()); def setup() { testDir = tmpDir.createDir('dir')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/tasks/internal/RelativeFileNameTransformerTest.groovy
import static org.gradle.util.internal.TextUtil.normaliseFileSeparators class RelativeFileNameTransformerTest extends Specification { static rootDir = new File("root") @Rule TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass()) def "returns canonical path where file outside of root"() { expect: transform(relative, file) == normaliseFileSeparators(file.canonicalPath)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 5.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_vendor.txt
package b import ( "os" "testing" ) func TestDir(t *testing.T) { if _, err := os.Stat("../testdata/1"); err != nil { t.Fatalf("testdata: %v", err) } } -- a/foo/bar/c/main.go -- package c import _ "a/foo/bar/b" -- a/foo/bar/c/main_test.go -- package c import ( "os" "testing" ) func TestDir(t *testing.T) { if _, err := os.Stat("../../../testdata/1"); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 16:24:01 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseScopeAttributeIntegrationTest.groovy
testImplementation 'junit:junit:4.13' } eclipse.classpath.file.whenMerged { def testDir = entries.find { entry -> entry.path == 'src/test/java' } def guavaDep = entries.find { entry -> entry.path.contains 'guava-18.0.jar' } testDir.entryAttributes['gradle_used_by_scope'] = 'test,integTest' guavaDep.entryAttributes['gradle_used_by_scope'] = 'main,test,integTest'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 10 13:19:47 UTC 2023 - 8.8K bytes - Viewed (0) -
docs/ftp/README.md
ftp> ls runner/ 229 Entering Extended Passive Mode (|||39155|) 150 Opening ASCII mode data connection for file list drwxrwxrwx 1 nobody nobody 0 Jan 1 00:00 chunkdocs/ drwxrwxrwx 1 nobody nobody 0 Jan 1 00:00 testdir/ ... ``` Following example shows how to list an object and download it locally via `ftp` client: ``` ftp> ls runner/chunkdocs/metadata 229 Entering Extended Passive Mode (|||44269|)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 06:41:25 UTC 2024 - 7.8K bytes - Viewed (0)