You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
waf/playground/javatest/jni/test/TestJni.java

21 lines
476 B
Java

import org.testng.Assert;
import org.testng.annotations.Test;
public class TestJni {
@Test
public void testTrue() {
Assert.assertEquals(true, StringUtils.isAlpha("myfootest"), "'myfootest' is alpha");
}
@Test
public void testFalse() {
Assert.assertEquals(false, StringUtils.isAlpha("my f00 t3$t"), "'my f00 t3$t' is not alpha");
}
@Test
public void testIsEmpty() {
Assert.assertEquals(false, StringUtils.isEmpty("emptyNOT"), "'emptyNOT' is not empty");
}
}