1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 02:36:01 +02:00

Fixed junit tests failing on Linux.

This commit is contained in:
Sergey Prigogin 2010-05-09 22:42:00 +00:00
parent 1221c4b9a0
commit f20d5d974c

View file

@ -291,7 +291,7 @@ public class IndexLocationTest extends BaseTestCase {
"/"+cproject.getProject().getName()+"/a /b /c.d",
"/"+cproject.getProject().getName()+"/a b c/d-e/f.g"
};
URI base = URI.create("file:/" + basePath);
URI base = URI.create("file://" + basePath);
URIRelativeLocationConverter c1 = new URIRelativeLocationConverter(base);
// loc -project-> raw -uri-> loc
for (int i= 0; i < paths.length; i++) {
@ -329,7 +329,7 @@ public class IndexLocationTest extends BaseTestCase {
linkedFolder.getFullPath()+"/a b c/d-e/f.g"
};
// loc -project-> raw -uri-> loc
URI base = URI.create("file:/" + basePath);
URI base = URI.create("file://" + basePath);
URIRelativeLocationConverter c1 = new URIRelativeLocationConverter(base);
for (int i= 0; i < paths.length; i++) {
IFile file= linkedFolder.getFile(paths[i]);