Home
last modified time | relevance | path

Searched refs:assertPositive (Results 1 – 3 of 3) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DPrettyPrinterConfiguration.java32 import static com.github.javaparser.utils.Utils.assertPositive;
151 this.tabWidth = assertPositive(tabWidth); in setTabWidth()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/utils/
DUtilsTest.java72 assertEquals((Number) 2, assertPositive(2)); in testAssertPositive()
73 assertThrows(AssertionError.class, () -> assertPositive(-2)); in testAssertPositive()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DUtils.java66 public static <T extends Number> T assertPositive(T number) { in assertPositive() method in Utils