- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for Delete (1.06 sec)
-
src/test/java/jcifs/tests/RandomAccessFileTest.java
} Assert.assertArrayEquals(new byte[] { 0x4, 0x5, 0x6, 0x7 }, buf); } finally { f.delete(); } } } @Test public void testReadOnlySeekOOB () throws IOException { try ( SmbFile f = createTestFile() ) { try {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
finally { f.delete(); } } } @Test public void testCreated () throws CIFSException, MalformedURLException, UnknownHostException { try ( SmbResource f = createTestFile() ) { try { assertCloseTime(f.createTime()); } finally { f.delete(); } } }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/ConcurrencyTest.java
SmbResource exclFile = new SmbFile(sr, fname) ) { try ( OutputStream s = exclFile.openOutputStream(false, SmbConstants.FILE_NO_SHARE) ) { try { exclFile.delete(); fail("Could remove locked file"); } catch ( SmbException e ) { if ( e.getNtStatus() == NtStatus.NT_STATUS_SHARING_VIOLATION ) {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Nov 14 17:40:50 UTC 2021 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileOperationsTest.java
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:17:59 UTC 2023 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/ReadWriteTest.java
} try ( InputStream is = f.getInputStream() ) { verifyRandom(4096, 1024, true, is); } } finally { f.delete(); } } } @Test public void testAppend () throws IOException { try ( SmbFile f = createTestFile() ) { try {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
for ( SmbFile cf : files ) { assertTrue(cf.exists()); cf.close(); } } finally { f.delete(); } } } @Test public void testDirEnumLarge () throws CIFSException, MalformedURLException, UnknownHostException { try ( SmbFile f = createTestDirectory() ) {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 25.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/DfsTest.java
try ( SmbResource t = root.resolve(makeRandomName()) ) { try { t.createNewFile(); } finally { t.delete(); } } } String dfsTestSharePath = getDFSTestSharePath(); DfsReferralData ref = doResolve(dfsTestSharePath, "", false); assertNotNull(ref);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Mar 01 09:46:04 UTC 2020 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/TimeoutTest.java
is.read(); Thread.sleep(soTimeout); } } } finally { f.delete(); } } } @SuppressWarnings ( "resource" ) @Test public void testIdleTimeout () throws IOException, InterruptedException {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
/** * This method will delete the file or directory specified by this * <code>SmbResource</code>. If the target is a directory, the contents of * the directory will be deleted as well. If a file within the directory or * it's sub-directories is marked read-only, the read-only status will * be removed and the file will be deleted. *
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Dec 20 14:09:34 UTC 2020 - 26K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
private static final Logger log = LoggerFactory.getLogger(SID.class); static final String[] SID_TYPE_NAMES = { "0", "User", "Domain group", "Domain", "Local group", "Builtin group", "Deleted", "Invalid", "Unknown" }; /** * */ public static final int SID_FLAG_RESOLVE_SIDS = 0x0001; /** * Well known SID: EVERYONE */
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 14.9K bytes - Viewed (0)