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 { ...@@ -233,12 +233,12 @@ public class DumpManagerTest {
} }
@Test @Test
@Ignore
public void testWriteError() throws URISyntaxException, IOException { public void testWriteError() throws URISyntaxException, IOException {
try { try {
File dump = tempFolder.newFile(); File dump = tempFolder.newFile();
dump.setReadOnly(); dump.setReadOnly();
DumpManager.activate(dump); DumpManager.activate(dump);
variousRuggedCalls();
Assert.fail("an exception should have been thrown"); Assert.fail("an exception should have been thrown");
} catch (RuggedException re) { } catch (RuggedException re) {
Assert.assertEquals(RuggedMessages.DEBUG_DUMP_ACTIVATION_ERROR, re.getSpecifier()); 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