39 lines
1.6 KiB
Diff
39 lines
1.6 KiB
Diff
diff --git a/surefire/surefire/src/main/org/codehaus/surefire/battery/assertion/BatteryAssert.java b/surefire/surefire/src/main/org/codehaus/surefire/battery/assertion/BatteryAssert.java
|
|
index 7eea54a..11a0fa2 100644
|
|
--- a/surefire/surefire/src/main/org/codehaus/surefire/battery/assertion/BatteryAssert.java
|
|
+++ b/surefire/surefire/src/main/org/codehaus/surefire/battery/assertion/BatteryAssert.java
|
|
@@ -285,7 +285,7 @@ public class BatteryAssert extends TestCase
|
|
assertNotSame( null, expected, actual );
|
|
}
|
|
|
|
- static private void failSame( String message )
|
|
+ public static void failSame( String message )
|
|
{
|
|
String formatted = "";
|
|
|
|
@@ -297,7 +297,7 @@ public class BatteryAssert extends TestCase
|
|
fail( formatted + "expected not same" );
|
|
}
|
|
|
|
- static private void failNotSame( String message, Object expected, Object actual )
|
|
+ public static void failNotSame( String message, Object expected, Object actual )
|
|
{
|
|
String formatted = "";
|
|
|
|
@@ -309,7 +309,7 @@ public class BatteryAssert extends TestCase
|
|
fail( formatted + "expected same:<" + expected + "> was not:<" + actual + ">" );
|
|
}
|
|
|
|
- static private void failNotEquals( String message, Object expected, Object actual )
|
|
+ public static void failNotEquals( String message, Object expected, Object actual )
|
|
{
|
|
fail( format( message, expected, actual ) );
|
|
}
|
|
@@ -325,4 +325,4 @@ public class BatteryAssert extends TestCase
|
|
|
|
return formatted + "expected:<" + expected + "> but was:<" + actual + ">";
|
|
}
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|