mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-30 21:55:31 +02:00
Fixed up the PDOMTests.
This commit is contained in:
parent
58aa2a2651
commit
f8b90d3d95
2 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ public class PDOMTests extends TestSuite {
|
|||
|
||||
suite.addTestSuite(EnumerationTests.class);
|
||||
suite.addTestSuite(ClassTests.class);
|
||||
suite.addTestSuite(TypesTests.class);
|
||||
|
||||
return suite;
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ public class TypesTests extends PDOMTestBase {
|
|||
IASTName[] xRefs = pdom.getReferences(x);
|
||||
assertEquals(1, xRefs.length);
|
||||
IASTFileLocation loc = xRefs[0].getFileLocation();
|
||||
assertEquals(offset(85, 75), loc.getNodeOffset());
|
||||
assertEquals(offset(85, 77), loc.getNodeOffset());
|
||||
}
|
||||
|
||||
public void testCPP() throws Exception {
|
||||
|
|
Loading…
Add table
Reference in a new issue