adding all of botlist, initial add
[botlist.git] / openbotlist / tests / unit / src / org / spirit / test / unit / text / TestValidator.java
blob28d8cb03223b48bdb11acd71ef24d86ae3870c23
1 /*
2 * EntityLinkTest.java
3 * Aug 19, 2007
4 */
5 package org.spirit.test.unit.text;
7 import junit.framework.TestCase;
9 import org.spirit.spring.validate.BotListEntityLinksValidator;
11 /**
12 * @author bbrown
14 public class TestValidator extends TestCase {
16 private static final String GENERATORS [] = {
17 "",
18 "http://www.google.com",
19 "abc://abc.com"
22 protected void setUp() {
24 protected void tearDown() {
27 public void testValidateURL() {
28 for (int i = 0; i < GENERATORS.length; i++) {
29 System.out.println("---->" + BotListEntityLinksValidator.isValidUrl(GENERATORS[i]));