Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravera2009-11-21 12:23:51 +0000
committeravera2009-11-21 12:23:51 +0000
commite275a91a1c004e43564ac07236cbfc0add96ae53 (patch)
treeea42617a716f7748d3a65fc31f6a7ca34e912038
parent03dd5cfaf106c2460d90b83cb0e1a0e87cfd3462 (diff)
downloadwebtools.servertools-e275a91a1c004e43564ac07236cbfc0add96ae53.tar.gz
webtools.servertools-e275a91a1c004e43564ac07236cbfc0add96ae53.tar.xz
webtools.servertools-e275a91a1c004e43564ac07236cbfc0add96ae53.zip
[280815] Enhance the IServerWorkingCopy API to allow setting the timeout and publishers state
-rw-r--r--tests/org.eclipse.wst.server.core.tests/src/org/eclipse/wst/server/core/tests/ServerEventTestCase.java20
1 files changed, 19 insertions, 1 deletions
diff --git a/tests/org.eclipse.wst.server.core.tests/src/org/eclipse/wst/server/core/tests/ServerEventTestCase.java b/tests/org.eclipse.wst.server.core.tests/src/org/eclipse/wst/server/core/tests/ServerEventTestCase.java
index 77e5ccc24..4fa095d7b 100644
--- a/tests/org.eclipse.wst.server.core.tests/src/org/eclipse/wst/server/core/tests/ServerEventTestCase.java
+++ b/tests/org.eclipse.wst.server.core.tests/src/org/eclipse/wst/server/core/tests/ServerEventTestCase.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2008 IBM Corporation and others.
+ * Copyright (c) 2005, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -11,6 +11,7 @@
package org.eclipse.wst.server.core.tests;
import java.util.List;
+import java.util.Map;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.runtime.CoreException;
@@ -205,6 +206,23 @@ public class ServerEventTestCase extends TestCase {
public boolean isConflicting(ISchedulingRule rule) {
return false;
}
+ public int getAttribute(String attributeName, int defaultValue) {
+ return 0;
+ }
+ public boolean getAttribute(String attributeName,
+ boolean defaultValue) {
+ return false;
+ }
+ public String getAttribute(String attributeName, String defaultValue) {
+ return null;
+ }
+ public List<String> getAttribute(String attributeName,
+ List<String> defaultValue) {
+ return null;
+ }
+ public Map getAttribute(String attributeName, Map defaultValue) {
+ return null;
+ }
};
}

Back to the top