Skip to content

Commit

Permalink
Improve error dialog shown when cases dir can't be written
Browse files Browse the repository at this point in the history
  • Loading branch information
mhucka committed Dec 13, 2017
1 parent 2e27a8c commit cf5f185
Showing 1 changed file with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -567,11 +567,13 @@ public boolean cancellationRequested()
public void run()
{
Tell.error(parentShell,
"Unable to extract cases from archive.",
"Encountered an error attempting to unzip\n"
+ "the archive of test cases. It may be\n"
+ "corrupted, or a file system error may\n"
+ "have occurred.");
"Unable to extract cases from internal archive.",
"Encountered an error attempting to unzip the archive\n"
+ "of test cases. It may be corrupted, or the destination\n"
+ "directory may not be writable or a file system error\n"
+ "or other problem may have occurred. The directory that\n"
+ "the Test Runner attempted to write in is the following:\n"
+ Util.getInternalTestSuiteDir() + "/cases");
}
});
return;
Expand All @@ -584,12 +586,12 @@ public void run()
{
Tell.error(parentShell,
"Interrupted -- test cases are incomplete!",
"As a result of the unpacking operation having\n"
+ "been interrupted, the test cases are not fully\n"
+ "installed or configured. The Test Runner is not\n"
+ "in a fully operational state. You are advised to\n"
+ "either use the 'Restore test cases' menu item or\n"
+ "else exit the program and recover manually.");
"As a result of the unpacking operation having been\n"
+ "interrupted, the test cases are not fully installed\n"
+ "or configured. The Test Runner is not in a fully\n"
+ "operational state. You are advised to either use the\n"
+ "'Restore test cases' menu item or else exit the\n"
+ "program and recover manually.");
}
});
return;
Expand Down

0 comments on commit cf5f185

Please sign in to comment.