Lines Matching refs:move

26  * @summary Unit test for java.nio.file.Files copy and move methods
144 // move source to target with verification
181 // move file
182 Path result = move(source, target, options);
191 throw new RuntimeException("Failed to verify move of regular file");
197 throw new RuntimeException("Failed to verify move of symbolic link");
231 * Tests all possible ways to invoke move
243 * Test: move regular file, target does not exist
251 * Test: move regular file, target exists
272 * Test: move regular file, target does not exist
280 * Test: move regular file, target exists
289 * Test: move regular file, target exists and is empty directory
298 * Test: move regular file, target exists and is non-empty directory
315 * Test atomic move of regular file (same file store)
323 * Test atomic move of regular file (different file store)
339 * Test: move empty directory, target does not exist
347 * Test: move empty directory, target exists
368 * Test: move empty directory, target does not exist
376 * Test: move empty directory, target exists
385 * Test: move empty, target exists and is empty directory
394 * Test: move empty directory, target exists and is non-empty directory
411 * Test: move non-empty directory (same file system)
421 * Test: move non-empty directory (different file store)
437 * Test atomic move of directory (same file store)
514 * Test: move symbolic link, target exists and is empty directory
546 * Test atomic move of symbolic link (same file store)
565 move(null, target);
569 move(source, null);
573 move(source, target, (CopyOption[])null);
578 move(source, target, opts);
589 move(source, target, new CopyOption() { });
592 move(source, target, REPLACE_EXISTING, new CopyOption() { });
673 * Test: move regular file, target does not exist