You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by nt...@apache.org on 2018/07/11 12:23:49 UTC
[2/5] cayenne git commit: Move to correct path
Move to correct path
Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/df85a7a8
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/df85a7a8
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/df85a7a8
Branch: refs/heads/master
Commit: df85a7a8ad2697c3fa7252a0dd5b8e4065ddd0b5
Parents: a639980
Author: Nikita Timofeev <st...@gmail.com>
Authored: Wed Jul 11 14:58:57 2018 +0300
Committer: Nikita Timofeev <st...@gmail.com>
Committed: Wed Jul 11 14:58:57 2018 +0300
----------------------------------------------------------------------
.../apache/cayenne/event/JGroupsModuleIT.java | 53 ++++++++++++++++++++
.../org/apache/cayenne/event/JMSModuleIT.java | 53 ++++++++++++++++++++
.../org/apache/cayenne/event/XMPPModuleIT.java | 53 ++++++++++++++++++++
.../apache/cayenne/event/JGroupsModuleIT.java | 53 --------------------
.../org/apache/cayenne/event/JMSModuleIT.java | 53 --------------------
.../org/apache/cayenne/event/XMPPModuleIT.java | 53 --------------------
6 files changed, 159 insertions(+), 159 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cayenne/blob/df85a7a8/cayenne-jgroups/src/test/java/org/apache/cayenne/event/JGroupsModuleIT.java
----------------------------------------------------------------------
diff --git a/cayenne-jgroups/src/test/java/org/apache/cayenne/event/JGroupsModuleIT.java b/cayenne-jgroups/src/test/java/org/apache/cayenne/event/JGroupsModuleIT.java
new file mode 100644
index 0000000..cc5e7e0
--- /dev/null
+++ b/cayenne-jgroups/src/test/java/org/apache/cayenne/event/JGroupsModuleIT.java
@@ -0,0 +1,53 @@
+/*****************************************************************
+ * 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.cayenne.event;
+
+import org.apache.cayenne.configuration.Constants;
+import org.apache.cayenne.configuration.server.ServerModule;
+import org.apache.cayenne.di.Binder;
+import org.apache.cayenne.di.DIBootstrap;
+import org.apache.cayenne.di.Injector;
+import org.apache.cayenne.di.Module;
+import org.junit.Test;
+
+import static org.hamcrest.CoreMatchers.instanceOf;
+import static org.junit.Assert.assertThat;
+
+/**
+ * @since 4.0
+ */
+public class JGroupsModuleIT {
+
+ @Test
+ public void testModule() {
+
+ Module configModule = new Module() {
+ public void configure(Binder binder) {
+ ServerModule.contributeProperties(binder).put(Constants.SERVER_DOMAIN_NAME_PROPERTY, "test");
+ }
+ };
+
+ Injector injector = DIBootstrap.createInjector(new ServerModule(), new JGroupsModule(), configModule);
+ EventBridge bridge = injector.getInstance(EventBridge.class);
+
+ assertThat(bridge, instanceOf(JavaGroupsBridge.class));
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/df85a7a8/cayenne-jms/src/test/java/org/apache/cayenne/event/JMSModuleIT.java
----------------------------------------------------------------------
diff --git a/cayenne-jms/src/test/java/org/apache/cayenne/event/JMSModuleIT.java b/cayenne-jms/src/test/java/org/apache/cayenne/event/JMSModuleIT.java
new file mode 100644
index 0000000..c8391ea
--- /dev/null
+++ b/cayenne-jms/src/test/java/org/apache/cayenne/event/JMSModuleIT.java
@@ -0,0 +1,53 @@
+/*****************************************************************
+ * 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.cayenne.event;
+
+import org.apache.cayenne.configuration.Constants;
+import org.apache.cayenne.configuration.server.ServerModule;
+import org.apache.cayenne.di.Binder;
+import org.apache.cayenne.di.DIBootstrap;
+import org.apache.cayenne.di.Injector;
+import org.apache.cayenne.di.Module;
+import org.junit.Test;
+
+import static org.hamcrest.CoreMatchers.instanceOf;
+import static org.junit.Assert.assertThat;
+
+/**
+ * @since 4.0
+ */
+public class JMSModuleIT {
+
+ @Test
+ public void testModule() {
+
+ Module configModule = new Module() {
+ public void configure(Binder binder) {
+ ServerModule.contributeProperties(binder).put(Constants.SERVER_DOMAIN_NAME_PROPERTY, "test");
+ }
+ };
+
+ Injector injector = DIBootstrap.createInjector(new ServerModule(), new JMSModule(), configModule);
+ EventBridge bridge = injector.getInstance(EventBridge.class);
+
+ assertThat(bridge, instanceOf(JMSBridge.class));
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/df85a7a8/cayenne-xmpp/src/test/java/org/apache/cayenne/event/XMPPModuleIT.java
----------------------------------------------------------------------
diff --git a/cayenne-xmpp/src/test/java/org/apache/cayenne/event/XMPPModuleIT.java b/cayenne-xmpp/src/test/java/org/apache/cayenne/event/XMPPModuleIT.java
new file mode 100644
index 0000000..45173bb
--- /dev/null
+++ b/cayenne-xmpp/src/test/java/org/apache/cayenne/event/XMPPModuleIT.java
@@ -0,0 +1,53 @@
+/*****************************************************************
+ * 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.cayenne.event;
+
+import org.apache.cayenne.configuration.Constants;
+import org.apache.cayenne.configuration.server.ServerModule;
+import org.apache.cayenne.di.Binder;
+import org.apache.cayenne.di.DIBootstrap;
+import org.apache.cayenne.di.Injector;
+import org.apache.cayenne.di.Module;
+import org.junit.Test;
+
+import static org.hamcrest.CoreMatchers.instanceOf;
+import static org.junit.Assert.assertThat;
+
+/**
+ * @since 4.0
+ */
+public class XMPPModuleIT {
+
+ @Test
+ public void testModule() {
+
+ Module configModule = new Module() {
+ public void configure(Binder binder) {
+ ServerModule.contributeProperties(binder).put(Constants.SERVER_DOMAIN_NAME_PROPERTY, "test");
+ }
+ };
+
+ Injector injector = DIBootstrap.createInjector(new ServerModule(), new XMPPModule(), configModule);
+ EventBridge bridge = injector.getInstance(EventBridge.class);
+
+ assertThat(bridge, instanceOf(XMPPBridge.class));
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/df85a7a8/eventbridges/cayenne-jgroups/src/test/java/org/apache/cayenne/event/JGroupsModuleIT.java
----------------------------------------------------------------------
diff --git a/eventbridges/cayenne-jgroups/src/test/java/org/apache/cayenne/event/JGroupsModuleIT.java b/eventbridges/cayenne-jgroups/src/test/java/org/apache/cayenne/event/JGroupsModuleIT.java
deleted file mode 100644
index cc5e7e0..0000000
--- a/eventbridges/cayenne-jgroups/src/test/java/org/apache/cayenne/event/JGroupsModuleIT.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*****************************************************************
- * 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.cayenne.event;
-
-import org.apache.cayenne.configuration.Constants;
-import org.apache.cayenne.configuration.server.ServerModule;
-import org.apache.cayenne.di.Binder;
-import org.apache.cayenne.di.DIBootstrap;
-import org.apache.cayenne.di.Injector;
-import org.apache.cayenne.di.Module;
-import org.junit.Test;
-
-import static org.hamcrest.CoreMatchers.instanceOf;
-import static org.junit.Assert.assertThat;
-
-/**
- * @since 4.0
- */
-public class JGroupsModuleIT {
-
- @Test
- public void testModule() {
-
- Module configModule = new Module() {
- public void configure(Binder binder) {
- ServerModule.contributeProperties(binder).put(Constants.SERVER_DOMAIN_NAME_PROPERTY, "test");
- }
- };
-
- Injector injector = DIBootstrap.createInjector(new ServerModule(), new JGroupsModule(), configModule);
- EventBridge bridge = injector.getInstance(EventBridge.class);
-
- assertThat(bridge, instanceOf(JavaGroupsBridge.class));
- }
-
-}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/df85a7a8/eventbridges/cayenne-jms/src/test/java/org/apache/cayenne/event/JMSModuleIT.java
----------------------------------------------------------------------
diff --git a/eventbridges/cayenne-jms/src/test/java/org/apache/cayenne/event/JMSModuleIT.java b/eventbridges/cayenne-jms/src/test/java/org/apache/cayenne/event/JMSModuleIT.java
deleted file mode 100644
index c8391ea..0000000
--- a/eventbridges/cayenne-jms/src/test/java/org/apache/cayenne/event/JMSModuleIT.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*****************************************************************
- * 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.cayenne.event;
-
-import org.apache.cayenne.configuration.Constants;
-import org.apache.cayenne.configuration.server.ServerModule;
-import org.apache.cayenne.di.Binder;
-import org.apache.cayenne.di.DIBootstrap;
-import org.apache.cayenne.di.Injector;
-import org.apache.cayenne.di.Module;
-import org.junit.Test;
-
-import static org.hamcrest.CoreMatchers.instanceOf;
-import static org.junit.Assert.assertThat;
-
-/**
- * @since 4.0
- */
-public class JMSModuleIT {
-
- @Test
- public void testModule() {
-
- Module configModule = new Module() {
- public void configure(Binder binder) {
- ServerModule.contributeProperties(binder).put(Constants.SERVER_DOMAIN_NAME_PROPERTY, "test");
- }
- };
-
- Injector injector = DIBootstrap.createInjector(new ServerModule(), new JMSModule(), configModule);
- EventBridge bridge = injector.getInstance(EventBridge.class);
-
- assertThat(bridge, instanceOf(JMSBridge.class));
- }
-
-}
http://git-wip-us.apache.org/repos/asf/cayenne/blob/df85a7a8/eventbridges/cayenne-xmpp/src/test/java/org/apache/cayenne/event/XMPPModuleIT.java
----------------------------------------------------------------------
diff --git a/eventbridges/cayenne-xmpp/src/test/java/org/apache/cayenne/event/XMPPModuleIT.java b/eventbridges/cayenne-xmpp/src/test/java/org/apache/cayenne/event/XMPPModuleIT.java
deleted file mode 100644
index 45173bb..0000000
--- a/eventbridges/cayenne-xmpp/src/test/java/org/apache/cayenne/event/XMPPModuleIT.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*****************************************************************
- * 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.cayenne.event;
-
-import org.apache.cayenne.configuration.Constants;
-import org.apache.cayenne.configuration.server.ServerModule;
-import org.apache.cayenne.di.Binder;
-import org.apache.cayenne.di.DIBootstrap;
-import org.apache.cayenne.di.Injector;
-import org.apache.cayenne.di.Module;
-import org.junit.Test;
-
-import static org.hamcrest.CoreMatchers.instanceOf;
-import static org.junit.Assert.assertThat;
-
-/**
- * @since 4.0
- */
-public class XMPPModuleIT {
-
- @Test
- public void testModule() {
-
- Module configModule = new Module() {
- public void configure(Binder binder) {
- ServerModule.contributeProperties(binder).put(Constants.SERVER_DOMAIN_NAME_PROPERTY, "test");
- }
- };
-
- Injector injector = DIBootstrap.createInjector(new ServerModule(), new XMPPModule(), configModule);
- EventBridge bridge = injector.getInstance(EventBridge.class);
-
- assertThat(bridge, instanceOf(XMPPBridge.class));
- }
-
-}