Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space ENGINES1031 and version 10.4.1

...

Code Block
public class MyTest {
	@Before
	    private File _testFile;
    private static final String PATH = "C:/newFile";
     
    @Before
    public void setUp() throws IOException {
		        // Prepare test environment
		        _testFile = new File(path(PATH);
        _testFile.createNewFile();
	}
	@After
	    }
 
    @After
    public void tearDown() {
		        // Remove test related files
		        _testFile.delete();
	    }
}