[pLog-svn] r6658 - plog/branches/lifetype-1.2/class/test/tests/data/validator

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Mon Jun 23 14:47:38 EDT 2008


Author: jondaley
Date: 2008-06-23 14:47:38 -0400 (Mon, 23 Jun 2008)
New Revision: 6658

Modified:
   plog/branches/lifetype-1.2/class/test/tests/data/validator/httpurlvalidator_test.class.php
Log:
added a couple more tests in the process of debugging

Modified: plog/branches/lifetype-1.2/class/test/tests/data/validator/httpurlvalidator_test.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/test/tests/data/validator/httpurlvalidator_test.class.php	2008-06-23 18:45:09 UTC (rev 6657)
+++ plog/branches/lifetype-1.2/class/test/tests/data/validator/httpurlvalidator_test.class.php	2008-06-23 18:47:38 UTC (rev 6658)
@@ -24,6 +24,7 @@
 				"http://www.lifetype.net/index.php?op=Default&blogId=3",
 				"http://www.lifetype.net/#anchortest",
 				"http://localhost/",
+				"http://localhost",
 				"http://127.22.45.44",
 				"http://user:password@www.server.com",
 				"http://user@23.44.22.12:8050/my/very/long/server/folder/.with.several.dots",
@@ -34,7 +35,7 @@
                 "http://surprisingly/%20valid.too",
 				"http://crazy.that.this.is.valid.too/index.php&param1=value&param2&param3",
 				"http://and.me.too/index.php?param1?param2?param3",
-				"http://user@password@server.com",
+				"http://user@badpassword@server.com",
 			);
 			
 			foreach( $urls as $url ) {
@@ -46,6 +47,7 @@
 		{
 			$urls = Array(
 				"http://",
+				"http:///",
 				"http://www.....com",
 				"htttp://www.server.com",
                     // we don't check for valid email addresses



More information about the pLog-svn mailing list