Skip to content
Snippets Groups Projects
Commit de832b9b authored by Mick Jordan's avatar Mick Jordan
Browse files

TestBase: expose assertTrue/False methods to subclasses

parent e77ea763
Branches
No related tags found
No related merge requests found
......@@ -468,7 +468,7 @@ public class TestBase {
/**
* The method to call when a micro-test fails.
*/
private static boolean assertTrue(boolean truth) {
protected static boolean assertTrue(boolean truth) {
if (!truth) {
microTestFailed();
}
......@@ -501,7 +501,7 @@ public class TestBase {
}
}
private static boolean assertFalse() {
protected static boolean assertFalse() {
assertTrue(false);
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment