Merge pull request #8493 from JLLeitschuh/feat/JLL/test_assertion_guard_preconditions

[Java]: Add precondition support for testing library asserts
This commit is contained in:
Chris Smowton
2022-03-31 22:30:09 +01:00
committed by GitHub
13 changed files with 298 additions and 26 deletions

View File

@@ -0,0 +1,28 @@
/*
* Copyright 2015-2022 the original author or authors.
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v2.0 which
* accompanies this distribution and is available at
*
* https://www.eclipse.org/legal/epl-v20.html
*/
package org.junit.jupiter.api;
public class Assertions {
public static void assertTrue(boolean condition) {
}
public static void assertTrue(boolean condition, String message) {
}
public static void assertFalse(boolean condition) {
}
public static void assertFalse(boolean condition, String message) {
}
}