ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [04/14] incubator-ignite git commit: ignite-615 ignite-616 partial test implementation
Date Wed, 01 Apr 2015 10:26:13 GMT
ignite-615
ignite-616
partial test implementation


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/ef5d6474
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/ef5d6474
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/ef5d6474

Branch: refs/heads/ignite-sprint-3
Commit: ef5d6474ceff4f688c498f58abe62fbc3660e4a9
Parents: 1d77b1b
Author: avinogradov <avinogradov@gridgain.com>
Authored: Fri Mar 27 18:30:15 2015 +0300
Committer: avinogradov <avinogradov@gridgain.com>
Committed: Fri Mar 27 18:30:15 2015 +0300

----------------------------------------------------------------------
 ...bernateBlobStoreNodeRestartAbstractTest.java | 40 ---------------
 ...bernateBlobStoreNodeRestartAbstractTest.java | 53 ++++++++++++++++++++
 2 files changed, 53 insertions(+), 40 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ef5d6474/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheHibernateBlobStoreNodeRestartAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheHibernateBlobStoreNodeRestartAbstractTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheHibernateBlobStoreNodeRestartAbstractTest.java
deleted file mode 100644
index 6efe423..0000000
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheHibernateBlobStoreNodeRestartAbstractTest.java
+++ /dev/null
@@ -1,40 +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.ignite.internal.processors.cache.integration;
-
-import org.apache.ignite.cache.*;
-import org.apache.ignite.cache.store.*;
-import org.apache.ignite.configuration.*;
-
-public class IgniteCacheHibernateBlobStoreNodeRestartAbstractTest extends IgniteCacheStoreNodeRestartAbstractTest
{
-    @Override protected CacheStore getStore() {
-        return null;
-    }
-
-    @Override protected CacheMode cacheMode() {
-        return null;
-    }
-
-    @Override protected CacheAtomicityMode atomicityMode() {
-        return null;
-    }
-
-    @Override protected NearCacheConfiguration nearConfiguration() {
-        return null;
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ef5d6474/modules/hibernate/src/test/java/org/apache/ignite/cache/store/hibernate/IgniteCacheHibernateBlobStoreNodeRestartAbstractTest.java
----------------------------------------------------------------------
diff --git a/modules/hibernate/src/test/java/org/apache/ignite/cache/store/hibernate/IgniteCacheHibernateBlobStoreNodeRestartAbstractTest.java
b/modules/hibernate/src/test/java/org/apache/ignite/cache/store/hibernate/IgniteCacheHibernateBlobStoreNodeRestartAbstractTest.java
new file mode 100644
index 0000000..79009d0
--- /dev/null
+++ b/modules/hibernate/src/test/java/org/apache/ignite/cache/store/hibernate/IgniteCacheHibernateBlobStoreNodeRestartAbstractTest.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.ignite.cache.store.hibernate;
+
+import org.apache.ignite.cache.*;
+import org.apache.ignite.cache.store.*;
+import org.apache.ignite.configuration.*;
+import org.apache.ignite.internal.processors.cache.integration.*;
+
+import static org.apache.ignite.cache.CacheAtomicWriteOrderMode.PRIMARY;
+
+public class IgniteCacheHibernateBlobStoreNodeRestartAbstractTest extends IgniteCacheStoreNodeRestartAbstractTest
{
+
+    /** {@inheritDoc} */
+    @Override protected CacheStore getStore() {
+        return new CacheHibernateBlobStore();
+    }
+
+    /** {@inheritDoc} */
+    @Override protected CacheMode cacheMode() {
+        return CacheMode.PARTITIONED;
+    }
+
+    /** {@inheritDoc} */
+    @Override protected CacheAtomicityMode atomicityMode() {
+        return CacheAtomicityMode.ATOMIC;
+    }
+
+    /** {@inheritDoc} */
+    @Override protected NearCacheConfiguration nearConfiguration() {
+        return null;
+    }
+
+    /** {@inheritDoc} */
+    @Override protected CacheAtomicWriteOrderMode atomicWriteOrderMode() {
+        return PRIMARY;
+    }
+}


Mime
View raw message