You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2018/03/09 13:29:12 UTC
[isis] 01/06: ISIS-1779: more contract tests for JAX-RS plugins
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
commit 41e1082d669404c6a21e38af61281a67ab2e306d
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Fri Mar 9 13:06:38 2018 +0000
ISIS-1779: more contract tests for JAX-RS plugins
---
...eContext_ensureCompatibleAcceptHeader_Test.java | 24 ++++++++++++++++++++++
...eContext_ensureCompatibleAcceptHeader_Test.java | 24 ++++++++++++++++++++++
...ensureCompatibleAcceptHeader_ContractTest.java} | 2 +-
3 files changed, 49 insertions(+), 1 deletion(-)
diff --git a/core/plugins/jaxrs-resteasy-3/src/test/java/org/apache/isis/viewer/restfulobjects/server/ResourceContext_ensureCompatibleAcceptHeader_Test.java b/core/plugins/jaxrs-resteasy-3/src/test/java/org/apache/isis/viewer/restfulobjects/server/ResourceContext_ensureCompatibleAcceptHeader_Test.java
new file mode 100644
index 0000000..703ee64
--- /dev/null
+++ b/core/plugins/jaxrs-resteasy-3/src/test/java/org/apache/isis/viewer/restfulobjects/server/ResourceContext_ensureCompatibleAcceptHeader_Test.java
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.isis.viewer.restfulobjects.server;
+
+public class ResourceContext_ensureCompatibleAcceptHeader_Test extends
+ ResourceContext_ensureCompatibleAcceptHeader_ContractTest {
+
+}
diff --git a/core/plugins/jaxrs-resteasy-4/src/test/java/org/apache/isis/viewer/restfulobjects/server/ResourceContext_ensureCompatibleAcceptHeader_Test.java b/core/plugins/jaxrs-resteasy-4/src/test/java/org/apache/isis/viewer/restfulobjects/server/ResourceContext_ensureCompatibleAcceptHeader_Test.java
new file mode 100644
index 0000000..703ee64
--- /dev/null
+++ b/core/plugins/jaxrs-resteasy-4/src/test/java/org/apache/isis/viewer/restfulobjects/server/ResourceContext_ensureCompatibleAcceptHeader_Test.java
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.isis.viewer.restfulobjects.server;
+
+public class ResourceContext_ensureCompatibleAcceptHeader_Test extends
+ ResourceContext_ensureCompatibleAcceptHeader_ContractTest {
+
+}
diff --git a/core/viewer-restfulobjects-server/src/test/java/org/apache/isis/viewer/restfulobjects/server/ResourceContextTest_ensureCompatibleAcceptHeader.java b/core/viewer-restfulobjects-server/src/test/java/org/apache/isis/viewer/restfulobjects/server/ResourceContext_ensureCompatibleAcceptHeader_ContractTest.java
similarity index 99%
rename from core/viewer-restfulobjects-server/src/test/java/org/apache/isis/viewer/restfulobjects/server/ResourceContextTest_ensureCompatibleAcceptHeader.java
rename to core/viewer-restfulobjects-server/src/test/java/org/apache/isis/viewer/restfulobjects/server/ResourceContext_ensureCompatibleAcceptHeader_ContractTest.java
index b65bc91..10f5b02 100644
--- a/core/viewer-restfulobjects-server/src/test/java/org/apache/isis/viewer/restfulobjects/server/ResourceContextTest_ensureCompatibleAcceptHeader.java
+++ b/core/viewer-restfulobjects-server/src/test/java/org/apache/isis/viewer/restfulobjects/server/ResourceContext_ensureCompatibleAcceptHeader_ContractTest.java
@@ -51,7 +51,7 @@ import org.apache.isis.viewer.restfulobjects.rendering.RestfulObjectsApplication
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
-public class ResourceContextTest_ensureCompatibleAcceptHeader {
+public abstract class ResourceContext_ensureCompatibleAcceptHeader_ContractTest {
@Rule
public JUnitRuleMockery2 context = JUnitRuleMockery2.createFor(JUnitRuleMockery2.Mode.INTERFACES_AND_CLASSES);
--
To stop receiving notification emails like this one, please contact
danhaywood@apache.org.