summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/java/test
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/java/test')
-rw-r--r--sca-cpp/trunk/modules/java/test/Client.java2
-rw-r--r--sca-cpp/trunk/modules/java/test/ClientImpl.java4
-rw-r--r--sca-cpp/trunk/modules/java/test/Server.java2
-rw-r--r--sca-cpp/trunk/modules/java/test/ServerImpl.java4
4 files changed, 12 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/java/test/Client.java b/sca-cpp/trunk/modules/java/test/Client.java
index c3bd875fcc..d2b942c860 100644
--- a/sca-cpp/trunk/modules/java/test/Client.java
+++ b/sca-cpp/trunk/modules/java/test/Client.java
@@ -29,6 +29,8 @@ public interface Client {
Boolean put(Iterable<String> id, Iterable<?> item);
+ Boolean patch(Iterable<String> id, Iterable<?> item);
+
Boolean delete(Iterable<String> id);
}
diff --git a/sca-cpp/trunk/modules/java/test/ClientImpl.java b/sca-cpp/trunk/modules/java/test/ClientImpl.java
index ade2ba302e..f1ca0ca033 100644
--- a/sca-cpp/trunk/modules/java/test/ClientImpl.java
+++ b/sca-cpp/trunk/modules/java/test/ClientImpl.java
@@ -37,6 +37,10 @@ public class ClientImpl {
return server.put(id, item);
}
+ public Boolean patch(Iterable<String> id, Iterable<?> item, Server server) {
+ return server.patch(id, item);
+ }
+
public Boolean delete(Iterable<String> id, Server server) {
return server.delete(id);
}
diff --git a/sca-cpp/trunk/modules/java/test/Server.java b/sca-cpp/trunk/modules/java/test/Server.java
index 3dfe3c84ef..0f16da48fb 100644
--- a/sca-cpp/trunk/modules/java/test/Server.java
+++ b/sca-cpp/trunk/modules/java/test/Server.java
@@ -29,6 +29,8 @@ public interface Server {
Boolean put(Iterable<String> id, Iterable<?> item);
+ Boolean patch(Iterable<String> id, Iterable<?> item);
+
Boolean delete(Iterable<String> id);
}
diff --git a/sca-cpp/trunk/modules/java/test/ServerImpl.java b/sca-cpp/trunk/modules/java/test/ServerImpl.java
index ee25cf7bf8..4499681f78 100644
--- a/sca-cpp/trunk/modules/java/test/ServerImpl.java
+++ b/sca-cpp/trunk/modules/java/test/ServerImpl.java
@@ -49,6 +49,10 @@ public class ServerImpl {
return true;
}
+ public Boolean patch(final Iterable<String> id, final Iterable<?> item) {
+ return true;
+ }
+
public Boolean delete(final Iterable<String> id) {
return true;
}