/** * Create a path under the test path provided by * the FS contract. * @param filepath path string in * @return a path qualified by the test filesystem * @throws IOException IO problems */ protected Path path(String filepath) throws IOException { return pathForTests(getFileSystem(), filepath); }
/** * Get the configuration used to create the filesystem * @return the configuration of the test FS */ protected Configuration getConfiguration() { return getFileSystem().getConf(); }
/** * Return a path to a blob which will be unique for this fork. * @param filepath filepath * @return a path under the default blob directory * @throws IOException */ protected Path blobPath(String filepath) throws IOException { return blobPathForTests(getFileSystem(), filepath); }