Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 277 for subdir (0.04 seconds)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

            assertEquals(path.normalize(), source.getPath());
            assertEquals(path.toString(), source.getLocation());
    
            Source resolved = source.resolve("subdir");
            assertNotNull(resolved);
            assertEquals(path.resolve("subdir").normalize(), resolved.getPath());
        }
    
        @Test
        void testBuildPathSourceFunctionality() {
            // Test build source functionality
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  2. misc/ios/go_ios_exec.go

    		)
    		if err != nil {
    			return "", err
    		}
    	}
    
    	return finalPkgpath, nil
    }
    
    // subdir determines the package based on the current working directory,
    // and returns the path to the package source relative to $GOROOT (or $GOPATH).
    func subdir() (pkgpath string, underGoRoot bool, err error) {
    	cwd, err := os.Getwd()
    	if err != nil {
    		return "", false, err
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Sep 16 00:34:45 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/io/FileUtilTest.java

         */
        @Test
        public void testIsPathSafe_PathInsideBase() throws Exception {
            final Path baseDir = tempFolder.getRoot().toPath();
            final Path subDir = Files.createDirectory(baseDir.resolve("subdir"));
            final Path file = Files.createFile(subDir.resolve("test.txt"));
    
            assertTrue("Path inside base should be allowed", FileUtil.isPathSafe(file, baseDir));
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

            // Create test directory structure with subdirectory
            File baseDir = new File(tempDir.toFile(), "images");
            File subDir = new File(baseDir, "icons");
            subDir.mkdirs();
            File validFile = new File(subDir, "icon.png");
    
            Boolean result = invokeIsValidUploadPath(validFile, baseDir);
            assertTrue("Valid path in subdirectory should be allowed", result);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/app/web/admin/log/AdminLogActionTest.java

        }
    
        @Test
        public void test_isLogFilename_withPathSeparators() {
            // isLogFilename only checks the file extension, not path components
            assertTrue(AdminLogAction.isLogFilename("subdir/fess.log"));
            assertTrue(AdminLogAction.isLogFilename("../fess.log"));
        }
    
        // ==================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

            final FessAdminAction action = createAction();
            System.setProperty("fess.var.path", varDir.toString());
            assertThrows(IllegalArgumentException.class, () -> action.validateFilePath(varDir.toString() + "/subdir/../../.."));
        }
    
        // ===================================================================================
        //                                                              fess.var.path Tests
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            assertFalse(it.hasNext(), "Iterator exhausted after valid entries");
            verify(tree, times(1)).release(); // closed after exhaustion
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", "file.txt", "subdir" })
        @DisplayName("Name filter interaction: accept calls and rejections")
        void nameFilterAccepts(String acceptedName) throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            file1.close();
    
            SmbFile file2 = new SmbFile(dirPath + "file2.txt", fileContext);
            file2.createNewFile();
            file2.close();
    
            SmbFile subdir = new SmbFile(dirPath + "subdir/", fileContext);
            subdir.mkdir();
            subdir.close();
            Thread.sleep(200);
    
            // Test string array listing with fresh context
            CIFSContext listContext = createFreshContext();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  9. docs/debugging/xl-meta/main.go

    for 'xl.meta' files. Wildcards are accepted: 'testdir/*.txt' will compress
    all files in testdir ending with '.txt', directories can be wildcards
    as well. 'testdir/*/*.txt' will match 'testdir/subdir/b.txt', double stars
    means full recursive. 'testdir/**/xl.meta' will search for all xl.meta
    recursively.
    
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}
    `
    	//nolint:staticcheck
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 40.4K bytes
    - Click Count (0)
  10. src/archive/zip/reader_test.go

    	}{
    		{
    			file: "testdata/unix.zip",
    			want: []string{".", "dir", "dir/bar", "dir/empty", "hello", "readonly"},
    		},
    		{
    			file: "testdata/subdir.zip",
    			want: []string{".", "a", "a/b", "a/b/c"},
    		},
    		{
    			file:    "testdata/dupdir.zip",
    			wantErr: true,
    		},
    	} {
    		t.Run(test.file, func(t *testing.T) {
    			t.Parallel()
    			z, err := OpenReader(test.file)
    			if err != nil {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 15 18:35:56 GMT 2026
    - 57.9K bytes
    - Click Count (0)
Back to Top