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:
parent
1221c4b9a0
commit
f20d5d974c
1 changed files with 7 additions and 7 deletions
|
@ -291,7 +291,7 @@ public class IndexLocationTest extends BaseTestCase {
|
||||||
"/"+cproject.getProject().getName()+"/a /b /c.d",
|
"/"+cproject.getProject().getName()+"/a /b /c.d",
|
||||||
"/"+cproject.getProject().getName()+"/a b c/d-e/f.g"
|
"/"+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);
|
URIRelativeLocationConverter c1 = new URIRelativeLocationConverter(base);
|
||||||
// loc -project-> raw -uri-> loc
|
// loc -project-> raw -uri-> loc
|
||||||
for (int i= 0; i < paths.length; i++) {
|
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"
|
linkedFolder.getFullPath()+"/a b c/d-e/f.g"
|
||||||
};
|
};
|
||||||
// loc -project-> raw -uri-> loc
|
// loc -project-> raw -uri-> loc
|
||||||
URI base = URI.create("file:/" + basePath);
|
URI base = URI.create("file://" + basePath);
|
||||||
URIRelativeLocationConverter c1 = new URIRelativeLocationConverter(base);
|
URIRelativeLocationConverter c1 = new URIRelativeLocationConverter(base);
|
||||||
for (int i= 0; i < paths.length; i++) {
|
for (int i= 0; i < paths.length; i++) {
|
||||||
IFile file= linkedFolder.getFile(paths[i]);
|
IFile file= linkedFolder.getFile(paths[i]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue