Bug 570896 - [test] edge cases of Aliasmanager

further back compatibility tests.

Change-Id: Ib89d8c4bb74a7f5c43ce95b32274e7a610aa7867
Signed-off-by: jkubitz <jkubitz-eclipse@gmx.de>
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/alias/BasicAliasTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/alias/BasicAliasTest.java
index 77a026e..344f994 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/alias/BasicAliasTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/alias/BasicAliasTest.java
@@ -342,6 +342,29 @@
 	}
 
 	/* Bug570896 */
+	public void testCompareUriOctets() throws URISyntaxException {
+		// uri.getPath() will normalize the octets
+		String[] urisStrings = { //
+				"http://Server/Volume:A", //
+				"http://Server/Volume:%41", // hex 41==Ascii A
+				"http://Server/Volume:A", //
+				"http://Server/Volume:%41", //
+		};
+		assertPreOrdered(urisStrings);
+	}
+
+	/* Bug570896 */
+	public void testCompareUriCase() throws URISyntaxException {
+		// its not a requirement but a back compatibility that the order is
+		// case sensitive even on case insensitive OSes:
+		String[] urisStrings = { //
+				"http://Server/Volume:a", //
+				"http://Server/Volume:A", // A>a
+		};
+		assertComparedDistinct(urisStrings);
+	}
+
+	/* Bug570896 */
 	public void testCompareUriFragment() throws URISyntaxException {
 		// fragments should NOT be distinct! Even though they might not be used:
 		String[] urisStrings = { //