mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Removed unused constants.
This commit is contained in:
parent
acef14f15d
commit
99de8fdda1
2 changed files with 3 additions and 8 deletions
|
@ -6,9 +6,8 @@
|
|||
* http://www.eclipse.org/legal/epl-v10.html
|
||||
*
|
||||
* Contributors:
|
||||
* Markus Schorn - initial API and implementation
|
||||
* Markus Schorn - initial API and implementation
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.ui.tests.includebrowser;
|
||||
|
||||
import org.eclipse.core.resources.IFile;
|
||||
|
@ -32,7 +31,6 @@ import org.eclipse.cdt.ui.tests.BaseUITestCase;
|
|||
import org.eclipse.cdt.internal.ui.includebrowser.IBViewPart;
|
||||
|
||||
public class IncludeBrowserBaseTest extends BaseUITestCase {
|
||||
protected static final int INDEXER_WAIT_TIME = 8000;
|
||||
protected static IProgressMonitor NPM= new NullProgressMonitor();
|
||||
|
||||
private ICProject fCProject;
|
||||
|
|
|
@ -39,8 +39,6 @@ import org.eclipse.cdt.internal.ui.editor.CEditor;
|
|||
*/
|
||||
public class BasicOutlineTest extends BaseUITestCase {
|
||||
|
||||
private static final int INDEXER_WAIT_TIME = 10000;
|
||||
|
||||
public static TestSuite suite() {
|
||||
return suite(BasicOutlineTest.class);
|
||||
}
|
||||
|
@ -59,7 +57,7 @@ public class BasicOutlineTest extends BaseUITestCase {
|
|||
closeAllEditors();
|
||||
PreferenceConstants.getPreferenceStore().setToDefault(PreferenceConstants.OUTLINE_GROUP_MEMBERS);
|
||||
PreferenceConstants.getPreferenceStore().setToDefault(PreferenceConstants.OUTLINE_GROUP_NAMESPACES);
|
||||
if(fCProject != null) {
|
||||
if (fCProject != null) {
|
||||
CProjectHelper.delete(fCProject);
|
||||
}
|
||||
super.tearDown();
|
||||
|
@ -83,7 +81,7 @@ public class BasicOutlineTest extends BaseUITestCase {
|
|||
|
||||
private void checkTreeItems(TreeItem[] items, String... labels) {
|
||||
assertEquals(items.length, labels.length);
|
||||
int i=0;
|
||||
int i= 0;
|
||||
for (TreeItem treeItem : items) {
|
||||
assertEquals(labels[i++], treeItem.getText());
|
||||
}
|
||||
|
@ -278,5 +276,4 @@ public class BasicOutlineTest extends BaseUITestCase {
|
|||
expandTreeItem(item= checkTreeNode(tree, 1, 0, "Foo"));
|
||||
checkTreeItems(item.getItems(), "bar() : void", "field : int", "foo() : void");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue