[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-patch] Removed warnings ni org.eclipse.cdt.ui.test and org.eclipse.cdt.debug.ui.tests
|
Index: Changelog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.ui.tests/Changelog,v
retrieving revision 1.4
diff -u -r1.4 Changelog
--- Changelog 22 Jan 2003 19:22:47 -0000 1.4
+++ Changelog 29 Jan 2003 19:50:30 -0000
@@ -1,9 +1,19 @@
+2003-01-29 Peter Graves
+
+ Fixed warnings when accessing static methods
+ * src/org/eclipse/cdt/debug/testplugin/util/DialogCheck.java:
+ * src/org/eclipse/cdt/debug/testplugin/CTestPlugin.java:
+ * src/org/eclipse/cdt/debug/testplugin/TestWorkbench.java:
+ * ChangeLog: Make all the entries have the same formatting
+
2003-01-22 Judy N. Green
+
* /home/tools/org.eclipse.cdt.debug.ui.tests/.project
* /home/tools/org.eclipse.cdt.debug.ui.tests/.classpath
updated classpath and .project to reflect classpath changes.
2003-01-21 Peter Graves
+
* src/org/eclipse/cdt/debug/testplugin/CDebugHelper.java: Updated
to use new parameters to
ICDISession.createCSession
Index: src/org/eclipse/cdt/debug/testplugin/CTestPlugin.java
===================================================================
RCS file:
/home/tools/org.eclipse.cdt.debug.ui.tests/src/org/eclipse/cdt/debug/testplugin/CTestPlugin.java,v
retrieving revision 1.1
diff -u -r1.1 CTestPlugin.java
--- src/org/eclipse/cdt/debug/testplugin/CTestPlugin.java 10 Oct 2002
13:06:39 -0000 1.1
+++ src/org/eclipse/cdt/debug/testplugin/CTestPlugin.java 29 Jan 2003
19:50:30 -0000
@@ -37,7 +37,7 @@
public static void enableAutobuild(boolean enable) throws
CoreException {
// disable auto build
- IWorkspace workspace= fgDefault.getWorkspace();
+ IWorkspace workspace= CTestPlugin.getWorkspace();
IWorkspaceDescription desc= workspace.getDescription();
desc.setAutoBuilding(enable);
workspace.setDescription(desc);
Index: src/org/eclipse/cdt/debug/testplugin/TestWorkbench.java
===================================================================
RCS file:
/home/tools/org.eclipse.cdt.debug.ui.tests/src/org/eclipse/cdt/debug/testplugin/TestWorkbench.java,v
retrieving revision 1.1
diff -u -r1.1 TestWorkbench.java
--- src/org/eclipse/cdt/debug/testplugin/TestWorkbench.java 10 Oct
2002 13:06:39 -0000 1.1
+++ src/org/eclipse/cdt/debug/testplugin/TestWorkbench.java 29 Jan
2003 19:50:30 -0000
@@ -33,7 +33,7 @@
break;
}
}
- IPath location=
CTestPlugin.getDefault().getWorkspace().getRoot().getLocation();
+ IPath location= CTestPlugin.getWorkspace().getRoot().getLocation();
System.out.println("Workspace-location: " + location.toString());
Index: src/org/eclipse/cdt/debug/testplugin/util/DialogCheck.java
===================================================================
RCS file:
/home/tools/org.eclipse.cdt.debug.ui.tests/src/org/eclipse/cdt/debug/testplugin/util/DialogCheck.java,v
retrieving revision 1.1
diff -u -r1.1 DialogCheck.java
--- src/org/eclipse/cdt/debug/testplugin/util/DialogCheck.java 10 Oct
2002 13:06:39 -0000 1.1
+++ src/org/eclipse/cdt/debug/testplugin/util/DialogCheck.java 29 Jan
2003 19:50:30 -0000
@@ -55,13 +55,13 @@
* executed on this object.
*/
public static void assertDialog(Dialog dialog, Assert assert) {
- assert.assertNotNull(dialog);
+ Assert.assertNotNull(dialog);
if (_verifyDialog.getShell() == null) {
//force the creation of the verify dialog
getShell();
}
if (_verifyDialog.open(dialog) == IDialogConstants.NO_ID) {
- assert.assertTrue(_verifyDialog.getFailureText(), false);
+ Assert.assertTrue(_verifyDialog.getFailureText(), false);
}
}
@@ -76,7 +76,7 @@
* executed on this object.
*/
public static void assertDialogTexts(Dialog dialog, Assert assert) {
- assert.assertNotNull(dialog);
+ Assert.assertNotNull(dialog);
dialog.setBlockOnOpen(false);
dialog.open();
Shell shell = dialog.getShell();
@@ -167,7 +167,7 @@
if (preferred.x > size.x) {
//close the dialog
button.getShell().dispose();
- assert.assertTrue(message.toString(), false);
+ Assert.assertTrue(message.toString(), false);
}
}
@@ -202,7 +202,7 @@
if (preferred.x > size.x) {
//close the dialog
label.getShell().dispose();
- assert.assertTrue(message.toString(), false);
+ Assert.assertTrue(message.toString(), false);
}
}
Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.ui.tests/ChangeLog,v
retrieving revision 1.3
diff -u -r1.3 ChangeLog
--- ChangeLog 17 Dec 2002 15:42:17 -0000 1.3
+++ ChangeLog 29 Jan 2003 19:52:43 -0000
@@ -1,3 +1,11 @@
+2003-01-29 Peter Graves
+
+ Fixed the warnings when accessing static methods
+ * src/org/eclipse/cdt/testplugin/util/DialogCheck.java:
+ * src/org/eclipse/cdt/testplugin/CTestPlugin.java
+ * src/org/eclipse/cdt/testplugin/TestWorkbench.java
+ * ChangeLog: make all entries have the same formatting
+
2002-12-17 Peter Graves
* plugin.xml,test.xml: Some simple cleanups to remove refrences to
the jdt and
@@ -16,6 +24,7 @@
CProjectNature and CCProjectNature, fix the test.
2002-10-18 Peter Graves
+
src/org/eclipse/cdt/testplugin/CProjectHelper.jada
Cleanup of the CProjectHelper file to remove unused imports,
commeted out code etc.
Index: src/org/eclipse/cdt/testplugin/CTestPlugin.java
===================================================================
RCS file:
/home/tools/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/testplugin/CTestPlugin.java,v
retrieving revision 1.1
diff -u -r1.1 CTestPlugin.java
--- src/org/eclipse/cdt/testplugin/CTestPlugin.java 20 Aug 2002
16:35:03 -0000 1.1
+++ src/org/eclipse/cdt/testplugin/CTestPlugin.java 29 Jan 2003
19:52:43 -0000
@@ -37,7 +37,7 @@
public static void enableAutobuild(boolean enable) throws
CoreException {
// disable auto build
- IWorkspace workspace= fgDefault.getWorkspace();
+ IWorkspace workspace= CTestPlugin.getWorkspace();
IWorkspaceDescription desc= workspace.getDescription();
desc.setAutoBuilding(enable);
workspace.setDescription(desc);
Index: src/org/eclipse/cdt/testplugin/TestWorkbench.java
===================================================================
RCS file:
/home/tools/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/testplugin/TestWorkbench.java,v
retrieving revision 1.1
diff -u -r1.1 TestWorkbench.java
--- src/org/eclipse/cdt/testplugin/TestWorkbench.java 20 Aug 2002
16:35:03 -0000 1.1
+++ src/org/eclipse/cdt/testplugin/TestWorkbench.java 29 Jan 2003
19:52:43 -0000
@@ -33,7 +33,7 @@
break;
}
}
- IPath location=
CTestPlugin.getDefault().getWorkspace().getRoot().getLocation();
+ IPath location= CTestPlugin.getWorkspace().getRoot().getLocation();
System.out.println("Workspace-location: " + location.toString());
Index: src/org/eclipse/cdt/testplugin/util/DialogCheck.java
===================================================================
RCS file:
/home/tools/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/testplugin/util/DialogCheck.java,v
retrieving revision 1.1
diff -u -r1.1 DialogCheck.java
--- src/org/eclipse/cdt/testplugin/util/DialogCheck.java 20 Aug 2002
16:35:02 -0000 1.1
+++ src/org/eclipse/cdt/testplugin/util/DialogCheck.java 29 Jan 2003
19:52:43 -0000
@@ -55,13 +55,13 @@
* executed on this object.
*/
public static void assertDialog(Dialog dialog, Assert assert) {
- assert.assertNotNull(dialog);
+ Assert.assertNotNull(dialog);
if (_verifyDialog.getShell() == null) {
//force the creation of the verify dialog
getShell();
}
if (_verifyDialog.open(dialog) == IDialogConstants.NO_ID) {
- assert.assertTrue(_verifyDialog.getFailureText(), false);
+ Assert.assertTrue(_verifyDialog.getFailureText(), false);
}
}
@@ -76,7 +76,7 @@
* executed on this object.
*/
public static void assertDialogTexts(Dialog dialog, Assert assert) {
- assert.assertNotNull(dialog);
+ Assert.assertNotNull(dialog);
dialog.setBlockOnOpen(false);
dialog.open();
Shell shell = dialog.getShell();
@@ -167,7 +167,7 @@
if (preferred.x > size.x) {
//close the dialog
button.getShell().dispose();
- assert.assertTrue(message.toString(), false);
+ Assert.assertTrue(message.toString(), false);
}
}
@@ -202,7 +202,7 @@
if (preferred.x > size.x) {
//close the dialog
label.getShell().dispose();
- assert.assertTrue(message.toString(), false);
+ Assert.assertTrue(message.toString(), false);
}
}