Reworked tests

This commit is contained in:
Erik C. Thauvin 2024-01-28 17:54:00 -08:00
parent c8fe28cda9
commit 75b33ba6d6
7 changed files with 49 additions and 42 deletions

View file

@ -16,27 +16,15 @@
package rife.bld.extension;
import org.testng.Assert;
import org.testng.annotations.Test;
/**
* Implements the TestNgSimpleTest class.
* Implements the TestNgExample class.
*
* @author <a href="https://erik.thauvin.net/">Erik C. Thauvin</a>
* @since 1.0
*/
class TestNgSimpleTest {
public static void main(String[] args) {
new TestNgSimpleTest().verifyHello();
}
@Test
void testFail() {
Assert.fail("failed");
}
@Test
void verifyHello() {
Assert.assertTrue(true);
@SuppressWarnings("PMD.TestClassWithoutTestCases")
class TestNgExample {
public String getMessage() {
return "Hello World!";
}
}