/**
* Makes sure that the root can be created.
*/
public void testCreateRoot() {
DataStore store = new DataStore("testCreateRootStore");
String path = PathUtilTest.joinAbs("these", "are", "directories");
assertTrue(store.createAllParents(path));
assertNotNull(store.createEntry(path, true));
VirtualFile vf = new VirtualFile(path, store);
assertTrue(vf.exists());
assertTrue(vf.isDirectory());
// Also test one Windows specific root.
path = PathUtilTest.join("c:", "Documents and Settings", "directories");
assertTrue(store.createAllParents(path));
assertNotNull(store.createEntry(path, true));
vf = new VirtualFile(path, store);
assertTrue(vf.exists());
assertTrue(vf.isDirectory());
}