From 05841be5fce52dd3cbcf1eb6a6b0a80af02e2db0 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Tue, 17 Sep 2013 18:13:29 -0700 Subject: [PATCH] Renamed ParserConfiguration to TestParserConfiguration and made it private. --- .../core/parser/tests/ast2/DOMLocationInclusionTests.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/DOMLocationInclusionTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/DOMLocationInclusionTests.java index ddc30d2f5c1..df118e43943 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/DOMLocationInclusionTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/DOMLocationInclusionTests.java @@ -112,13 +112,12 @@ public class DOMLocationInclusionTests extends AST2FileBasePluginTestCase { } } - public class ParserConfiguration implements IParserConfiguration { - + private class TestParserConfiguration implements IParserConfiguration { private final IScannerInfo info; private final String dialect; - public ParserConfiguration(IScannerInfo s, IFile code) { + public TestParserConfiguration(IScannerInfo s, IFile code) { this.info = s; String filename = code.getLocation().toOSString(); IProject prj = code.getProject(); @@ -170,7 +169,7 @@ public class DOMLocationInclusionTests extends AST2FileBasePluginTestCase { return CDOM.getInstance().getTranslationUnit( code, CDOM.getInstance().getCodeReaderFactory(CDOM.PARSE_SAVED_RESOURCES), - new ParserConfiguration(s, code)); + new TestParserConfiguration(s, code)); } protected void assertSoleFileLocation(IASTNode n, String pathEndsWith, int offset, int length) {