Changeset 10622
- Timestamp:
- 04/28/08 10:44:10 (5 years ago)
- Location:
- lang/java/postter/trunk
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/java/postter/trunk
-
Property
svn:ignore set
to
.*
target
-
Property
svn:ignore set
to
-
lang/java/postter/trunk/pom.xml
r10514 r10622 61 61 <groupId>junit</groupId> 62 62 <artifactId>junit</artifactId> 63 <version> 3.8.1</version>63 <version>4.4</version> 64 64 <scope>test</scope> 65 65 </dependency> -
lang/java/postter/trunk/src/test/java/org/cactusman/util/UtilTest.java
r10467 r10622 1 1 package org.cactusman.util; 2 2 3 import org.cactusman.util.Util; 3 import static org.junit.Assert.assertFalse; 4 import static org.junit.Assert.assertTrue; 4 5 5 import junit.framework.TestCase;6 import org.junit.Test; 6 7 7 public class UtilTest extends TestCase{8 public class UtilTest { 8 9 10 @Test 9 11 public void testStringNull(){ 10 12 assertFalse(Util.stringChecker(null)); 11 13 } 12 14 15 @Test 13 16 public void testStringLengthZero(){ 14 17 assertFalse(Util.stringChecker("")); 15 18 } 16 19 20 @Test 17 21 public void testStringLengthNonZero(){ 18 22 assertTrue(Util.stringChecker(" ")); 19 23 } 24 20 25 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)