use of com.trivago.vo.CucableFeature in project cucable-plugin by trivago.
the class FileSystemManagerTest method getPathsFromCucableFeatureValidEmptyPathTest.
@Test
public void getPathsFromCucableFeatureValidEmptyPathTest() throws CucablePluginException {
CucableFeature cucableFeatures = new CucableFeature(testFolder.getRoot().getPath(), null);
List<Path> pathsFromCucableFeature = fileSystemManager.getPathsFromCucableFeature(cucableFeatures);
assertThat(pathsFromCucableFeature, is(notNullValue()));
assertThat(pathsFromCucableFeature.size(), is(0));
}
use of com.trivago.vo.CucableFeature in project cucable-plugin by trivago.
the class FileSystemManagerTest method getPathsFromCucableFeatureInvalidFeatureTest.
@Test(expected = CucablePluginException.class)
public void getPathsFromCucableFeatureInvalidFeatureTest() throws CucablePluginException {
CucableFeature cucableFeatures = new CucableFeature("name.feature", null);
fileSystemManager.getPathsFromCucableFeature(cucableFeatures);
}
Aggregations