waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

TestJni.java (476B)


      1 import org.testng.Assert;
      2 import org.testng.annotations.Test;
      3 
      4 public class TestJni {
      5 
      6 	@Test
      7 	public void testTrue() {
      8 		Assert.assertEquals(true, StringUtils.isAlpha("myfootest"), "'myfootest' is alpha");
      9 	}
     10 
     11 	@Test
     12 	public void testFalse() {
     13 		Assert.assertEquals(false, StringUtils.isAlpha("my f00 t3$t"), "'my f00 t3$t' is not alpha");
     14 	}
     15 
     16 	@Test
     17 	public void testIsEmpty() {
     18 		Assert.assertEquals(false, StringUtils.isEmpty("emptyNOT"), "'emptyNOT' is not empty");
     19 	}
     20 }