Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for nonexistent (0.04 sec)

  1. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            CIFSContext fileContext = createFreshContext();
            SmbFile nonExistent = new SmbFile(baseUrl + "shared/nonexistent_" + timestamp + ".txt", fileContext);
            assertFalse(nonExistent.exists(), "Non-existent file should return false");
    
            // Create file and check
            nonExistent.createNewFile();
            nonExistent.close();
            Thread.sleep(200);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    // TestXLStorages xlStorage.getDiskInfo()
    func TestXLStorageGetDiskInfo(t *testing.T) {
    	path := t.TempDir()
    
    	testCases := []struct {
    		diskPath    string
    		expectedErr error
    	}{
    		{path, nil},
    		{"/nonexistent-dir", errDiskNotFound},
    	}
    
    	// Check test cases.
    	for _, testCase := range testCases {
    		if _, _, err := getDiskInfo(testCase.diskPath); err != testCase.expectedErr {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
Back to top