mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Cosmetics.
This commit is contained in:
parent
dd919f8f93
commit
73a74679fe
1 changed files with 4 additions and 4 deletions
|
@ -334,7 +334,7 @@ public abstract class IndexBindingResolutionTestBase extends BaseTestCase {
|
||||||
{
|
{
|
||||||
shouldVisitNames = true;
|
shouldVisitNames = true;
|
||||||
}
|
}
|
||||||
public List<IASTName> nameList = new ArrayList<IASTName>();
|
public List<IASTName> nameList = new ArrayList<>();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int visit(IASTName name) {
|
public int visit(IASTName name) {
|
||||||
|
@ -559,8 +559,8 @@ public abstract class IndexBindingResolutionTestBase extends BaseTestCase {
|
||||||
|
|
||||||
public SinglePDOMTestNamedFilesStrategy(boolean cpp) {
|
public SinglePDOMTestNamedFilesStrategy(boolean cpp) {
|
||||||
this.cpp = cpp;
|
this.cpp = cpp;
|
||||||
astSources = new ArrayList<StringBuilder>();
|
astSources = new ArrayList<>();
|
||||||
asts = new ArrayList<IASTTranslationUnit>();
|
asts = new ArrayList<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -596,7 +596,7 @@ public abstract class IndexBindingResolutionTestBase extends BaseTestCase {
|
||||||
Bundle b = CTestPlugin.getDefault().getBundle();
|
Bundle b = CTestPlugin.getDefault().getBundle();
|
||||||
testData = TestSourceReader.getContentsForTest(b, "parser", IndexBindingResolutionTestBase.this.getClass(), getName(), 0);
|
testData = TestSourceReader.getContentsForTest(b, "parser", IndexBindingResolutionTestBase.this.getClass(), getName(), 0);
|
||||||
|
|
||||||
List<IFile> astFiles = new ArrayList<IFile>();
|
List<IFile> astFiles = new ArrayList<>();
|
||||||
for (int i = 0; i < testData.length; i++) {
|
for (int i = 0; i < testData.length; i++) {
|
||||||
StringBuilder contents = testData[i];
|
StringBuilder contents = testData[i];
|
||||||
int endOfLine = contents.indexOf("\n");
|
int endOfLine = contents.indexOf("\n");
|
||||||
|
|
Loading…
Add table
Reference in a new issue