Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 176 for testDir (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/os/example_test.go

    	err := os.WriteFile("testdata/hello", []byte("Hello, Gophers!"), 0666)
    	if err != nil {
    		log.Fatal(err)
    	}
    }
    
    func ExampleMkdir() {
    	err := os.Mkdir("testdir", 0750)
    	if err != nil && !os.IsExist(err) {
    		log.Fatal(err)
    	}
    	err = os.WriteFile("testdir/testfile.txt", []byte("Hello, Gophers!"), 0660)
    	if err != nil {
    		log.Fatal(err)
    	}
    }
    
    func ExampleMkdirAll() {
    	err := os.MkdirAll("test/subdir", 0750)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 17:35:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. test/codegen/README

    GOARCH are enabled by default, and only on GOOS=linux.
    
    To perform comprehensive tests for all the supported architectures
    (even on a non-Linux system), one can run the following command:
    
      $ ../../bin/go test cmd/internal/testdir -run='Test/codegen' -all_codegen -v
    
    This is recommended after any change that affect the compiler's code.
    
    The test harness compiles the tests with the same go toolchain that is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. internal/store/queuestore_test.go

    package store
    
    import (
    	"os"
    	"path/filepath"
    	"reflect"
    	"strings"
    	"testing"
    )
    
    type TestItem struct {
    	Name     string `json:"Name"`
    	Property string `json:"property"`
    }
    
    var (
    	// TestDir
    	queueDir = filepath.Join(os.TempDir(), "minio_test")
    	// Sample test item.
    	testItem = TestItem{Name: "test-item", Property: "property"}
    	// Ext for test item
    	testItemExt = ".test"
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Apr 04 17:52:24 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top