30.07.2013 Views

Development and Implementation of a File System for Gannet Virtual ...

Development and Implementation of a File System for Gannet Virtual ...

Development and Implementation of a File System for Gannet Virtual ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

TestCase07<br />

Creates subdirectories within a directory <strong>and</strong> then creates one file in each<br />

subdirectory until 6 level sub dir. This test fails if it cannot create a subdirectory or<br />

file.<br />

1. Creates a directory named “test-seven”.<br />

2. Creates a file named “<strong>File</strong>” under directory “test-seven”.<br />

3. Creates a directory named “test-seven-a” under directory “test-seven”.<br />

4. Creates a file named “a<strong>File</strong>” under directory “test-seven-a”.<br />

5. Creates a directory named “test-seven-b” under directory “test-seven-a”.<br />

6. Creates a file named “b<strong>File</strong>” under directory “test-seven-b”.<br />

7. Closes all files.<br />

TestCase08<br />

This test case attempts to create a file that has the same name as an existing<br />

directory <strong>and</strong> has the same name but different character. This test fails if it<br />

successfully creates a file with the same name as an existing directory. This test also<br />

fails if it fails to create new file with the same name but different character.<br />

1. Creates a directory named “existingDir”.<br />

2. Creates a directory named “existingDir”.<br />

3. Creates a directory named “existingdir”.<br />

TestCase09<br />

This test case attempts to create a directory that has the same name as an existing<br />

file has the same name but different character. This test fails if it successfully creates<br />

a directory with the same name as an existing file. This test also fails if it fails to<br />

create new directory with the same name but different character.<br />

1. Creates a file named “existing<strong>File</strong>”.<br />

2. Creates a file named “existing<strong>File</strong>”.<br />

3. Creates a file named “existingfile”.<br />

71

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!