Repository: activemq-6 Updated Branches: refs/heads/master 45a081c72 -> c43dda3f9
removing redundant tests Project: http://git-wip-us.apache.org/repos/asf/activemq-6/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-6/commit/11d4b0a8 Tree: http://git-wip-us.apache.org/repos/asf/activemq-6/tree/11d4b0a8 Diff: http://git-wip-us.apache.org/repos/asf/activemq-6/diff/11d4b0a8 Branch: refs/heads/master Commit: 11d4b0a80dcaa37b4eac1bc6f072986460f96a16 Parents: 45a081c Author: jbertram <[email protected]> Authored: Thu Jan 22 12:29:24 2015 -0600 Committer: jbertram <[email protected]> Committed: Fri Jan 23 08:30:01 2015 -0600 ---------------------------------------------------------------------- .../asyncio/LibaioDependencyCheckTest.java | 61 -------------------- .../core/asyncio/LibaioDependencyCheckTest.java | 61 -------------------- 2 files changed, 122 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-6/blob/11d4b0a8/activemq-journal/src/test/java/org/apache/activemq/tests/asyncio/LibaioDependencyCheckTest.java ---------------------------------------------------------------------- diff --git a/activemq-journal/src/test/java/org/apache/activemq/tests/asyncio/LibaioDependencyCheckTest.java b/activemq-journal/src/test/java/org/apache/activemq/tests/asyncio/LibaioDependencyCheckTest.java deleted file mode 100644 index d8ae829..0000000 --- a/activemq-journal/src/test/java/org/apache/activemq/tests/asyncio/LibaioDependencyCheckTest.java +++ /dev/null @@ -1,61 +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.activemq.tests.asyncio; - -import org.junit.Test; - -import org.junit.Assert; -import org.apache.activemq.core.asyncio.impl.AsynchronousFileImpl; - -/** - * A LibaioDependencyCheckTest - * - * @author <mailto:[email protected]">Clebert Suconic</a> - * - * - */ -public class LibaioDependencyCheckTest extends Assert -{ - - // Constants ----------------------------------------------------- - - // Attributes ---------------------------------------------------- - - // Static -------------------------------------------------------- - - // Constructors -------------------------------------------------- - - // Public -------------------------------------------------------- - - @Test - public void testDependency() throws Exception - { - if (System.getProperties().get("os.name").equals("Linux")) - { - assertTrue("Libaio is not available on this platform", AsynchronousFileImpl.isLoaded()); - } - } - - // Package protected --------------------------------------------- - - // Protected ----------------------------------------------------- - - // Private ------------------------------------------------------- - - // Inner classes ------------------------------------------------- - -} http://git-wip-us.apache.org/repos/asf/activemq-6/blob/11d4b0a8/tests/unit-tests/src/test/java/org/apache/activemq/tests/unit/core/asyncio/LibaioDependencyCheckTest.java ---------------------------------------------------------------------- diff --git a/tests/unit-tests/src/test/java/org/apache/activemq/tests/unit/core/asyncio/LibaioDependencyCheckTest.java b/tests/unit-tests/src/test/java/org/apache/activemq/tests/unit/core/asyncio/LibaioDependencyCheckTest.java deleted file mode 100644 index a50fb7b..0000000 --- a/tests/unit-tests/src/test/java/org/apache/activemq/tests/unit/core/asyncio/LibaioDependencyCheckTest.java +++ /dev/null @@ -1,61 +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.activemq.tests.unit.core.asyncio; - -import org.junit.Test; - -import org.apache.activemq.core.asyncio.impl.AsynchronousFileImpl; -import org.apache.activemq.tests.util.UnitTestCase; - -/** - * A LibaioDependencyCheckTest - * - * @author <mailto:[email protected]">Clebert Suconic</a> - * - * - */ -public class LibaioDependencyCheckTest extends UnitTestCase -{ - - // Constants ----------------------------------------------------- - - // Attributes ---------------------------------------------------- - - // Static -------------------------------------------------------- - - // Constructors -------------------------------------------------- - - // Public -------------------------------------------------------- - - @Test - public void testDependency() throws Exception - { - if (System.getProperties().get("os.name").equals("Linux")) - { - assertTrue("Libaio is not available on this platform", AsynchronousFileImpl.isLoaded()); - } - } - - // Package protected --------------------------------------------- - - // Protected ----------------------------------------------------- - - // Private ------------------------------------------------------- - - // Inner classes ------------------------------------------------- - -}
