Skip to content

Commit

Permalink
Remove private constructors - to be added in junit-team#1027
Browse files Browse the repository at this point in the history
  • Loading branch information
jbduncan committed Aug 22, 2017
1 parent 2cc72bf commit f27c1d9
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@
*/
class AssertFalse {

///CLOVER:OFF
private AssertFalse() {
/* no-op */
}
///CLOVER:ON

static void assertFalse(boolean condition) {
assertFalse(() -> condition, () -> null);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@
*/
class AssertLinesMatch {

///CLOVER:OFF
private AssertLinesMatch() {
/* no-op */
}
///CLOVER:ON

private final static int MAX_SNIPPET_LENGTH = 21;

static void assertLinesMatch(List<String> expectedLines, List<String> actualLines) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@
*/
class AssertNotEquals {

///CLOVER:OFF
private AssertNotEquals() {
/* no-op */
}
///CLOVER:ON

static void assertNotEquals(Object unexpected, Object actual) {
assertNotEquals(unexpected, actual, () -> null);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@
*/
class AssertNotNull {

///CLOVER:OFF
private AssertNotNull() {
/* no-op */
}
///CLOVER:ON

static void assertNotNull(Object actual) {
assertNotNull(actual, () -> null);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@
*/
class AssertNotSame {

///CLOVER:OFF
private AssertNotSame() {
/* no-op */
}
///CLOVER:ON

static void assertNotSame(Object unexpected, Object actual) {
assertNotSame(unexpected, actual, () -> null);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@
*/
class AssertNull {

///CLOVER:OFF
private AssertNull() {
/* no-op */
}
///CLOVER:ON

static void assertNull(Object actual) {
assertNull(actual, () -> null);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@
*/
class AssertSame {

///CLOVER:OFF
private AssertSame() {
/* no-op */
}
///CLOVER:ON

static void assertSame(Object expected, Object actual) {
assertSame(expected, actual, () -> null);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@
*/
class AssertThrows {

///CLOVER:OFF
private AssertThrows() {
/* no-op */
}
///CLOVER:ON

static <T extends Throwable> T assertThrows(Class<T> expectedType, Executable executable) {
return assertThrows(expectedType, executable, () -> null);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@
*/
class AssertTimeout {

///CLOVER:OFF
private AssertTimeout() {
/* no-op */
}
///CLOVER:ON

static void assertTimeout(Duration timeout, Executable executable) {
assertTimeout(timeout, executable, () -> null);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@
*/
class AssertTrue {

///CLOVER:OFF
private AssertTrue() {
/* no-op */
}
///CLOVER:ON

static void assertTrue(boolean condition) {
assertTrue(() -> condition, () -> null);
}
Expand Down

0 comments on commit f27c1d9

Please sign in to comment.