FileOperations -> ManualTest

This commit is contained in:
pivovarit 2017-05-13 17:55:45 +02:00
parent 61385334a2
commit e5cccec42e
1 changed files with 2 additions and 3 deletions

View File

@ -14,8 +14,7 @@ import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.stream.Stream;
public class FileOperationsUnitTest {
public class FileOperationsManualTest {
@Test
public void givenFileName_whenUsingClassloader_thenFileData() throws IOException {
@ -33,7 +32,7 @@ public class FileOperationsUnitTest {
public void givenFileNameAsAbsolutePath_whenUsingClasspath_thenFileData() throws IOException {
String expectedData = "Hello World from fileTest.txt!!!";
Class clazz = FileOperationsUnitTest.class;
Class clazz = FileOperationsManualTest.class;
InputStream inputStream = clazz.getResourceAsStream("/fileTest.txt");
String data = readFromInputStream(inputStream);