mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Cosmetics.
This commit is contained in:
parent
d47055dbd7
commit
83a8040a2b
1 changed files with 6 additions and 7 deletions
|
@ -7,7 +7,7 @@
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Anton Leherbauer (Wind River Systems) - initial API and implementation
|
* Anton Leherbauer (Wind River Systems) - initial API and implementation
|
||||||
* Sergey Prigogin, Google
|
* Sergey Prigogin (Google)
|
||||||
* Andrew Ferguson (Symbian)
|
* Andrew Ferguson (Symbian)
|
||||||
* Andrew Gvozdev
|
* Andrew Gvozdev
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
@ -42,8 +42,7 @@ public class AbstractAutoEditTest extends BaseTestCase {
|
||||||
* Split out from CAutoIndentTest.
|
* Split out from CAutoIndentTest.
|
||||||
*/
|
*/
|
||||||
protected static class AutoEditTester {
|
protected static class AutoEditTester {
|
||||||
|
private IAutoEditStrategy tabsToSpacesConverter;
|
||||||
private IAutoEditStrategy tabsToSpacesConverter=null;
|
|
||||||
private Map<String, IAutoEditStrategy> fStrategyMap = new HashMap<String, IAutoEditStrategy>();
|
private Map<String, IAutoEditStrategy> fStrategyMap = new HashMap<String, IAutoEditStrategy>();
|
||||||
IDocument fDoc;
|
IDocument fDoc;
|
||||||
private String fPartitioning;
|
private String fPartitioning;
|
||||||
|
@ -236,8 +235,8 @@ public class AbstractAutoEditTest extends BaseTestCase {
|
||||||
protected CharSequence[] getTestContents() {
|
protected CharSequence[] getTestContents() {
|
||||||
try {
|
try {
|
||||||
return TestSourceReader.getContentsForTest(CTestPlugin.getDefault().getBundle(), "ui", this.getClass(), getName(), 2);
|
return TestSourceReader.getContentsForTest(CTestPlugin.getDefault().getBundle(), "ui", this.getClass(), getName(), 2);
|
||||||
} catch(IOException ioe) {
|
} catch (IOException e) {
|
||||||
fail(ioe.getMessage());
|
fail(e.getMessage());
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -245,8 +244,8 @@ public class AbstractAutoEditTest extends BaseTestCase {
|
||||||
protected CharSequence[] getTestContents1() {
|
protected CharSequence[] getTestContents1() {
|
||||||
try {
|
try {
|
||||||
return TestSourceReader.getContentsForTest(CTestPlugin.getDefault().getBundle(), "ui", this.getClass(), getName(), 1);
|
return TestSourceReader.getContentsForTest(CTestPlugin.getDefault().getBundle(), "ui", this.getClass(), getName(), 1);
|
||||||
} catch(IOException ioe) {
|
} catch (IOException e) {
|
||||||
fail(ioe.getMessage());
|
fail(e.getMessage());
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue