Skip to content
Snippets Groups Projects
Commit eddea631 authored by Guylaine Prat's avatar Guylaine Prat
Browse files

Add a call to write dump in test

Fixes #386
parent c98d6da0
No related branches found
No related tags found
No related merge requests found
Pipeline #501 failed
......@@ -233,12 +233,12 @@ public class DumpManagerTest {
}
@Test
@Ignore
public void testWriteError() throws URISyntaxException, IOException {
try {
File dump = tempFolder.newFile();
dump.setReadOnly();
DumpManager.activate(dump);
variousRuggedCalls();
Assert.fail("an exception should have been thrown");
} catch (RuggedException re) {
Assert.assertEquals(RuggedMessages.DEBUG_DUMP_ACTIVATION_ERROR, re.getSpecifier());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment