Author: max.andersen(a)jboss.com
Date: 2008-04-27 14:43:13 -0400 (Sun, 27 Apr 2008)
New Revision: 7838
Modified:
branches/ganymede/trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/RefactoringTest.java
Log:
[JBIDE-2154] [Ganymede] The type * must implement the inherited abstract method
ILaunchConfiguration.hasAttribute(String)/removeAttribute
Modified:
branches/ganymede/trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/RefactoringTest.java
===================================================================
---
branches/ganymede/trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/RefactoringTest.java 2008-04-27
18:37:21 UTC (rev 7837)
+++
branches/ganymede/trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/RefactoringTest.java 2008-04-27
18:43:13 UTC (rev 7838)
@@ -285,6 +285,18 @@
return parent;
}
+ @Override
+ public boolean hasAttribute(String attributeName)
+ throws CoreException {
+ fail("Method doesn't tested");
+ return false;
+ }
+
+ @Override
+ public Object removeAttribute(String attributeName) {
+ fail("Method doesn't tested");
+ return null;
+ }
public ILaunchConfiguration getOriginal() {
return parent;
}
@@ -506,6 +518,12 @@
}
}
+ @Override
+ public boolean hasAttribute(String attributeName)
+ throws CoreException {
+ return attributes.containsKey(attributeName);
+ }
+
public int getAttribute(String attributeName, int defaultValue)
throws CoreException {
if (attributes.containsKey(attributeName)){
@@ -630,7 +648,10 @@
public Object getAdapter(Class adapter) {
return null;
- }};
+ }
+
+
+ };
}
Show replies by date