|
From: <lh...@us...> - 2010-01-10 17:20:17
|
Revision: 132
http://tmapi.svn.sourceforge.net/tmapi/?rev=132&view=rev
Author: lheuer
Date: 2010-01-10 17:20:11 +0000 (Sun, 10 Jan 2010)
Log Message:
-----------
Removed the + encoding from the tests
Modified Paths:
--------------
trunk/src/test/java/org/tmapi/core/TestLocator.java
Modified: trunk/src/test/java/org/tmapi/core/TestLocator.java
===================================================================
--- trunk/src/test/java/org/tmapi/core/TestLocator.java 2009-10-26 15:13:40 UTC (rev 131)
+++ trunk/src/test/java/org/tmapi/core/TestLocator.java 2010-01-10 17:20:11 UTC (rev 132)
@@ -26,9 +26,7 @@
}
public void testNormalization() {
- // Reference using "application/x-www-form-urlencoded"
- // C.f. <http://en.wikipedia.org/wiki/Percent-encoding#The_application.2Fx-www-form-urlencoded_type>
- final Locator loc = _tm.createLocator("http://www.example.org/test+me/");
+ final Locator loc = _tm.createLocator("http://www.example.org/test%20me/");
assertEquals("http://www.example.org/test me/", loc.getReference());
assertEquals("http://www.example.org/test%20me/", loc.toExternalForm());
final Locator loc2 = loc.resolve("./too");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|