Repository: incubator-ignite Updated Branches: refs/heads/ignite-950 e1a99a45c -> f3c160c3a
# ignite-950: move indexed object case suites at testsuites package and create the rest of indexed object cache test suites Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/f3c160c3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/f3c160c3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/f3c160c3 Branch: refs/heads/ignite-950 Commit: f3c160c3a1ab86371b77c9c4bc3000c13e0f3495 Parents: e1a99a4 Author: ashutak <ashu...@gridgain.com> Authored: Wed Jul 22 17:29:36 2015 +0300 Committer: ashutak <ashu...@gridgain.com> Committed: Wed Jul 22 17:29:36 2015 +0300 ---------------------------------------------------------------------- .../ignite/internal/util/IgniteUtils.java | 2 +- ...gniteIndexedObjectCacheFullApiTestSuite.java | 38 -------------------- .../IgniteIndexedObjectCacheTestSuite.java | 38 -------------------- .../IgniteIndexedObjectCacheTestSuite2.java | 38 -------------------- .../IgniteIndexedObjectCacheTestSuite3.java | 38 -------------------- .../IgniteIndexedObjectCacheTestSuite4.java | 38 -------------------- ...IndexedObjectCacheExpiryPolicyTestSuite.java | 37 +++++++++++++++++++ ...dObjectCacheDataStructuresSelfTestSuite.java | 37 +++++++++++++++++++ ...niteIndexedObjectCacheFailoverTestSuite.java | 37 +++++++++++++++++++ ...iteIndexedObjectCacheFailoverTestSuite2.java | 37 +++++++++++++++++++ ...gniteIndexedObjectCacheFullApiTestSuite.java | 37 +++++++++++++++++++ ...gniteIndexedObjectCacheRestartTestSuite.java | 37 +++++++++++++++++++ .../IgniteIndexedObjectCacheTestSuite.java | 37 +++++++++++++++++++ .../IgniteIndexedObjectCacheTestSuite2.java | 37 +++++++++++++++++++ .../IgniteIndexedObjectCacheTestSuite3.java | 37 +++++++++++++++++++ .../IgniteIndexedObjectCacheTestSuite4.java | 37 +++++++++++++++++++ ...iteIndexedObjectCacheQuerySelfTestSuite.java | 37 +++++++++++++++++++ ...IndexedObjectCacheWithIndexingTestSuite.java | 37 +++++++++++++++++++ 18 files changed, 445 insertions(+), 191 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java index c77ee59..f48a62d 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java @@ -876,7 +876,7 @@ public abstract class IgniteUtils { */ @Deprecated public static void dumpStack(String msg) { - new Exception(debugPrefix() + msg).printStackTrace(System.out); + new Exception(">>>>>> " + debugPrefix() + msg).printStackTrace(System.out); } /** http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheFullApiTestSuite.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheFullApiTestSuite.java b/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheFullApiTestSuite.java deleted file mode 100644 index 6963be4..0000000 --- a/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheFullApiTestSuite.java +++ /dev/null @@ -1,38 +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; - -import junit.framework.*; -import org.apache.ignite.marshaller.optimized.*; -import org.apache.ignite.testframework.config.*; -import org.apache.ignite.testsuites.*; - -/** - * - */ -public class IgniteIndexedObjectCacheFullApiTestSuite { - /** - * @return Suite. - * @throws Exception In case of error. - */ - public static TestSuite suite() throws Exception { - GridTestProperties.setProperty(GridTestProperties.OPTIMIZED_MARSH_PROTOCOL, OptimizedMarshallerProtocolVersion.VER_1_1.toString()); - - return IgniteCacheFullApiSelfTestSuite.suite(); - } -} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheTestSuite.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheTestSuite.java b/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheTestSuite.java deleted file mode 100644 index 2e56b7b..0000000 --- a/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheTestSuite.java +++ /dev/null @@ -1,38 +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; - -import junit.framework.*; -import org.apache.ignite.marshaller.optimized.*; -import org.apache.ignite.testframework.config.*; -import org.apache.ignite.testsuites.*; - -/** - * - */ -public class IgniteIndexedObjectCacheTestSuite { - /** - * @return Suite. - * @throws Exception In case of error. - */ - public static TestSuite suite() throws Exception { - GridTestProperties.setProperty(GridTestProperties.OPTIMIZED_MARSH_PROTOCOL, OptimizedMarshallerProtocolVersion.VER_1_1.toString()); - - return IgniteCacheTestSuite.suite(); - } -} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheTestSuite2.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheTestSuite2.java b/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheTestSuite2.java deleted file mode 100644 index 929179b..0000000 --- a/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheTestSuite2.java +++ /dev/null @@ -1,38 +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; - -import junit.framework.*; -import org.apache.ignite.marshaller.optimized.*; -import org.apache.ignite.testframework.config.*; -import org.apache.ignite.testsuites.*; - -/** - * - */ -public class IgniteIndexedObjectCacheTestSuite2 { - /** - * @return Suite. - * @throws Exception In case of error. - */ - public static TestSuite suite() throws Exception { - GridTestProperties.setProperty(GridTestProperties.OPTIMIZED_MARSH_PROTOCOL, OptimizedMarshallerProtocolVersion.VER_1_1.toString()); - - return IgniteCacheTestSuite2.suite(); - } -} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheTestSuite3.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheTestSuite3.java b/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheTestSuite3.java deleted file mode 100644 index 0f83900..0000000 --- a/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheTestSuite3.java +++ /dev/null @@ -1,38 +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; - -import junit.framework.*; -import org.apache.ignite.marshaller.optimized.*; -import org.apache.ignite.testframework.config.*; -import org.apache.ignite.testsuites.*; - -/** - * - */ -public class IgniteIndexedObjectCacheTestSuite3 { - /** - * @return Suite. - * @throws Exception In case of error. - */ - public static TestSuite suite() throws Exception { - GridTestProperties.setProperty(GridTestProperties.OPTIMIZED_MARSH_PROTOCOL, OptimizedMarshallerProtocolVersion.VER_1_1.toString()); - - return IgniteCacheTestSuite3.suite(); - } -} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheTestSuite4.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheTestSuite4.java b/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheTestSuite4.java deleted file mode 100644 index b0c233d..0000000 --- a/modules/core/src/test/java/org/apache/ignite/IgniteIndexedObjectCacheTestSuite4.java +++ /dev/null @@ -1,38 +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; - -import junit.framework.*; -import org.apache.ignite.marshaller.optimized.*; -import org.apache.ignite.testframework.config.*; -import org.apache.ignite.testsuites.*; - -/** - * - */ -public class IgniteIndexedObjectCacheTestSuite4 { - /** - * @return Suite. - * @throws Exception In case of error. - */ - public static TestSuite suite() throws Exception { - GridTestProperties.setProperty(GridTestProperties.OPTIMIZED_MARSH_PROTOCOL, OptimizedMarshallerProtocolVersion.VER_1_1.toString()); - - return IgniteCacheTestSuite4.suite(); - } -} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/expiry/IgniteIndexedObjectCacheExpiryPolicyTestSuite.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/expiry/IgniteIndexedObjectCacheExpiryPolicyTestSuite.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/expiry/IgniteIndexedObjectCacheExpiryPolicyTestSuite.java new file mode 100644 index 0000000..1a2cd5f --- /dev/null +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/expiry/IgniteIndexedObjectCacheExpiryPolicyTestSuite.java @@ -0,0 +1,37 @@ +/* + * 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.expiry; + +import junit.framework.*; +import org.apache.ignite.marshaller.optimized.*; +import org.apache.ignite.testframework.config.*; + +/** + * + */ +public class IgniteIndexedObjectCacheExpiryPolicyTestSuite { + /** + * @return Suite. + * @throws Exception In case of error. + */ + public static TestSuite suite() throws Exception { + GridTestProperties.setProperty(GridTestProperties.OPTIMIZED_MARSH_PROTOCOL, OptimizedMarshallerProtocolVersion.VER_1_1.toString()); + + return IgniteCacheExpiryPolicyTestSuite.suite(); + } +} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheDataStructuresSelfTestSuite.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheDataStructuresSelfTestSuite.java b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheDataStructuresSelfTestSuite.java new file mode 100644 index 0000000..1816bf2 --- /dev/null +++ b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheDataStructuresSelfTestSuite.java @@ -0,0 +1,37 @@ +/* + * 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.testsuites; + +import junit.framework.*; +import org.apache.ignite.marshaller.optimized.*; +import org.apache.ignite.testframework.config.*; + +/** + * + */ +public class IgniteIndexedObjectCacheDataStructuresSelfTestSuite { + /** + * @return Suite. + * @throws Exception In case of error. + */ + public static TestSuite suite() throws Exception { + GridTestProperties.setProperty(GridTestProperties.OPTIMIZED_MARSH_PROTOCOL, OptimizedMarshallerProtocolVersion.VER_1_1.toString()); + + return IgniteCacheDataStructuresSelfTestSuite.suite(); + } +} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheFailoverTestSuite.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheFailoverTestSuite.java b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheFailoverTestSuite.java new file mode 100644 index 0000000..09b223c --- /dev/null +++ b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheFailoverTestSuite.java @@ -0,0 +1,37 @@ +/* + * 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.testsuites; + +import junit.framework.*; +import org.apache.ignite.marshaller.optimized.*; +import org.apache.ignite.testframework.config.*; + +/** + * + */ +public class IgniteIndexedObjectCacheFailoverTestSuite { + /** + * @return Suite. + * @throws Exception In case of error. + */ + public static TestSuite suite() throws Exception { + GridTestProperties.setProperty(GridTestProperties.OPTIMIZED_MARSH_PROTOCOL, OptimizedMarshallerProtocolVersion.VER_1_1.toString()); + + return IgniteCacheFailoverTestSuite.suite(); + } +} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheFailoverTestSuite2.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheFailoverTestSuite2.java b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheFailoverTestSuite2.java new file mode 100644 index 0000000..7fbb253 --- /dev/null +++ b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheFailoverTestSuite2.java @@ -0,0 +1,37 @@ +/* + * 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.testsuites; + +import junit.framework.*; +import org.apache.ignite.marshaller.optimized.*; +import org.apache.ignite.testframework.config.*; + +/** + * + */ +public class IgniteIndexedObjectCacheFailoverTestSuite2 { + /** + * @return Suite. + * @throws Exception In case of error. + */ + public static TestSuite suite() throws Exception { + GridTestProperties.setProperty(GridTestProperties.OPTIMIZED_MARSH_PROTOCOL, OptimizedMarshallerProtocolVersion.VER_1_1.toString()); + + return IgniteCacheFailoverTestSuite2.suite(); + } +} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheFullApiTestSuite.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheFullApiTestSuite.java b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheFullApiTestSuite.java new file mode 100644 index 0000000..59e5135 --- /dev/null +++ b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheFullApiTestSuite.java @@ -0,0 +1,37 @@ +/* + * 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.testsuites; + +import junit.framework.*; +import org.apache.ignite.marshaller.optimized.*; +import org.apache.ignite.testframework.config.*; + +/** + * + */ +public class IgniteIndexedObjectCacheFullApiTestSuite { + /** + * @return Suite. + * @throws Exception In case of error. + */ + public static TestSuite suite() throws Exception { + GridTestProperties.setProperty(GridTestProperties.OPTIMIZED_MARSH_PROTOCOL, OptimizedMarshallerProtocolVersion.VER_1_1.toString()); + + return IgniteCacheFullApiSelfTestSuite.suite(); + } +} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheRestartTestSuite.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheRestartTestSuite.java b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheRestartTestSuite.java new file mode 100644 index 0000000..36c6906 --- /dev/null +++ b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheRestartTestSuite.java @@ -0,0 +1,37 @@ +/* + * 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.testsuites; + +import junit.framework.*; +import org.apache.ignite.marshaller.optimized.*; +import org.apache.ignite.testframework.config.*; + +/** + * + */ +public class IgniteIndexedObjectCacheRestartTestSuite { + /** + * @return Suite. + * @throws Exception In case of error. + */ + public static TestSuite suite() throws Exception { + GridTestProperties.setProperty(GridTestProperties.OPTIMIZED_MARSH_PROTOCOL, OptimizedMarshallerProtocolVersion.VER_1_1.toString()); + + return IgniteCacheRestartTestSuite.suite(); + } +} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheTestSuite.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheTestSuite.java b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheTestSuite.java new file mode 100644 index 0000000..b916061 --- /dev/null +++ b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheTestSuite.java @@ -0,0 +1,37 @@ +/* + * 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.testsuites; + +import junit.framework.*; +import org.apache.ignite.marshaller.optimized.*; +import org.apache.ignite.testframework.config.*; + +/** + * + */ +public class IgniteIndexedObjectCacheTestSuite { + /** + * @return Suite. + * @throws Exception In case of error. + */ + public static TestSuite suite() throws Exception { + GridTestProperties.setProperty(GridTestProperties.OPTIMIZED_MARSH_PROTOCOL, OptimizedMarshallerProtocolVersion.VER_1_1.toString()); + + return IgniteCacheTestSuite.suite(); + } +} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheTestSuite2.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheTestSuite2.java b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheTestSuite2.java new file mode 100644 index 0000000..b4ccc3a --- /dev/null +++ b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheTestSuite2.java @@ -0,0 +1,37 @@ +/* + * 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.testsuites; + +import junit.framework.*; +import org.apache.ignite.marshaller.optimized.*; +import org.apache.ignite.testframework.config.*; + +/** + * + */ +public class IgniteIndexedObjectCacheTestSuite2 { + /** + * @return Suite. + * @throws Exception In case of error. + */ + public static TestSuite suite() throws Exception { + GridTestProperties.setProperty(GridTestProperties.OPTIMIZED_MARSH_PROTOCOL, OptimizedMarshallerProtocolVersion.VER_1_1.toString()); + + return IgniteCacheTestSuite2.suite(); + } +} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheTestSuite3.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheTestSuite3.java b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheTestSuite3.java new file mode 100644 index 0000000..ac65fd5 --- /dev/null +++ b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheTestSuite3.java @@ -0,0 +1,37 @@ +/* + * 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.testsuites; + +import junit.framework.*; +import org.apache.ignite.marshaller.optimized.*; +import org.apache.ignite.testframework.config.*; + +/** + * + */ +public class IgniteIndexedObjectCacheTestSuite3 { + /** + * @return Suite. + * @throws Exception In case of error. + */ + public static TestSuite suite() throws Exception { + GridTestProperties.setProperty(GridTestProperties.OPTIMIZED_MARSH_PROTOCOL, OptimizedMarshallerProtocolVersion.VER_1_1.toString()); + + return IgniteCacheTestSuite3.suite(); + } +} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheTestSuite4.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheTestSuite4.java b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheTestSuite4.java new file mode 100644 index 0000000..8318366 --- /dev/null +++ b/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheTestSuite4.java @@ -0,0 +1,37 @@ +/* + * 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.testsuites; + +import junit.framework.*; +import org.apache.ignite.marshaller.optimized.*; +import org.apache.ignite.testframework.config.*; + +/** + * + */ +public class IgniteIndexedObjectCacheTestSuite4 { + /** + * @return Suite. + * @throws Exception In case of error. + */ + public static TestSuite suite() throws Exception { + GridTestProperties.setProperty(GridTestProperties.OPTIMIZED_MARSH_PROTOCOL, OptimizedMarshallerProtocolVersion.VER_1_1.toString()); + + return IgniteCacheTestSuite4.suite(); + } +} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheQuerySelfTestSuite.java ---------------------------------------------------------------------- diff --git a/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheQuerySelfTestSuite.java b/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheQuerySelfTestSuite.java new file mode 100644 index 0000000..e396f27 --- /dev/null +++ b/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheQuerySelfTestSuite.java @@ -0,0 +1,37 @@ +/* + * 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.testsuites; + +import junit.framework.*; +import org.apache.ignite.marshaller.optimized.*; +import org.apache.ignite.testframework.config.*; + +/** + * Test suite for cache queries. + */ +public class IgniteIndexedObjectCacheQuerySelfTestSuite extends TestSuite { + /** + * @return Test suite. + * @throws Exception If failed. + */ + public static TestSuite suite() throws Exception { + GridTestProperties.setProperty(GridTestProperties.OPTIMIZED_MARSH_PROTOCOL, OptimizedMarshallerProtocolVersion.VER_1_1.toString()); + + return IgniteCacheQuerySelfTestSuite.suite(); + } +} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3c160c3/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheWithIndexingTestSuite.java ---------------------------------------------------------------------- diff --git a/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheWithIndexingTestSuite.java b/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheWithIndexingTestSuite.java new file mode 100644 index 0000000..9d8483f --- /dev/null +++ b/modules/indexing/src/test/java/org/apache/ignite/testsuites/IgniteIndexedObjectCacheWithIndexingTestSuite.java @@ -0,0 +1,37 @@ +/* + * 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.testsuites; + +import junit.framework.*; +import org.apache.ignite.marshaller.optimized.*; +import org.apache.ignite.testframework.config.*; + +/** + * Test suite for cache queries. + */ +public class IgniteIndexedObjectCacheWithIndexingTestSuite extends TestSuite { + /** + * @return Test suite. + * @throws Exception If failed. + */ + public static TestSuite suite() throws Exception { + GridTestProperties.setProperty(GridTestProperties.OPTIMIZED_MARSH_PROTOCOL, OptimizedMarshallerProtocolVersion.VER_1_1.toString()); + + return IgniteCacheWithIndexingTestSuite.suite(); + } +}