mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +02:00
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:
28
java/ql/test/stubs/junit-jupiter-api-5.2.0/org/junit/jupiter/api/Assertions.java
generated
Normal file
28
java/ql/test/stubs/junit-jupiter-api-5.2.0/org/junit/jupiter/api/Assertions.java
generated
Normal 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) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user