| /* |
| * 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 java.util.ArrayList; |
| import java.util.Collection; |
| import java.util.List; |
| import org.apache.ignite.internal.processors.cache.CachePutIfAbsentTest; |
| import org.apache.ignite.internal.processors.cache.IgniteCacheGetCustomCollectionsSelfTest; |
| import org.apache.ignite.internal.processors.cache.IgniteCacheLoadRebalanceEvictionSelfTest; |
| import org.apache.ignite.internal.processors.cache.distributed.CacheAtomicPrimarySyncBackPressureTest; |
| import org.apache.ignite.internal.processors.cache.distributed.CacheOperationsInterruptTest; |
| import org.apache.ignite.internal.processors.cache.distributed.IgniteCachePrimarySyncTest; |
| import org.apache.ignite.internal.processors.cache.distributed.IgniteTxCachePrimarySyncTest; |
| import org.apache.ignite.internal.processors.cache.distributed.IgniteTxCacheWriteSynchronizationModesMultithreadedTest; |
| import org.apache.ignite.internal.processors.cache.distributed.IgniteTxConcurrentRemoveObjectsTest; |
| import org.apache.ignite.internal.processors.cache.transactions.TxDataConsistencyOnCommitFailureTest; |
| import org.apache.ignite.internal.stat.IoStatisticsCachePersistenceSelfTest; |
| import org.apache.ignite.internal.stat.IoStatisticsCacheSelfTest; |
| import org.apache.ignite.internal.stat.IoStatisticsManagerSelfTest; |
| import org.apache.ignite.internal.stat.IoStatisticsMetricsLocalMXBeanImplSelfTest; |
| import org.apache.ignite.testframework.GridTestUtils; |
| import org.apache.ignite.testframework.junits.DynamicSuite; |
| import org.junit.runner.RunWith; |
| |
| /** |
| * Test suite. |
| */ |
| @RunWith(DynamicSuite.class) |
| public class IgniteCacheTestSuite9 { |
| /** |
| * @return IgniteCache test suite. |
| */ |
| public static List<Class<?>> suite() { |
| return suite(null); |
| } |
| |
| /** |
| * @param ignoredTests Tests to ignore. |
| * @return Test suite. |
| */ |
| public static List<Class<?>> suite(Collection<Class> ignoredTests) { |
| List<Class<?>> suite = new ArrayList<>(); |
| |
| GridTestUtils.addTestIfNeeded(suite, IgniteCacheGetCustomCollectionsSelfTest.class, ignoredTests); |
| GridTestUtils.addTestIfNeeded(suite, IgniteCacheLoadRebalanceEvictionSelfTest.class, ignoredTests); |
| GridTestUtils.addTestIfNeeded(suite, IgniteCachePrimarySyncTest.class, ignoredTests); |
| GridTestUtils.addTestIfNeeded(suite, IgniteTxCachePrimarySyncTest.class, ignoredTests); |
| GridTestUtils.addTestIfNeeded(suite, IgniteTxCacheWriteSynchronizationModesMultithreadedTest.class, ignoredTests); |
| GridTestUtils.addTestIfNeeded(suite, CachePutIfAbsentTest.class, ignoredTests); |
| |
| GridTestUtils.addTestIfNeeded(suite, CacheAtomicPrimarySyncBackPressureTest.class, ignoredTests); |
| |
| GridTestUtils.addTestIfNeeded(suite, IgniteTxConcurrentRemoveObjectsTest.class, ignoredTests); |
| |
| GridTestUtils.addTestIfNeeded(suite, TxDataConsistencyOnCommitFailureTest.class, ignoredTests); |
| |
| GridTestUtils.addTestIfNeeded(suite, CacheOperationsInterruptTest.class, ignoredTests); |
| |
| // IO statistics |
| GridTestUtils.addTestIfNeeded(suite, IoStatisticsCachePersistenceSelfTest.class, ignoredTests); |
| GridTestUtils.addTestIfNeeded(suite, IoStatisticsCacheSelfTest.class, ignoredTests); |
| GridTestUtils.addTestIfNeeded(suite, IoStatisticsManagerSelfTest.class, ignoredTests); |
| GridTestUtils.addTestIfNeeded(suite, IoStatisticsMetricsLocalMXBeanImplSelfTest.class, ignoredTests); |
| |
| return suite; |
| } |
| } |