Package org.apache.jackrabbit.test

Examples of org.apache.jackrabbit.test.ConcurrentTestSuite


     * Returns a test suite that executes all tests inside this package.
     *
     * @return a test suite that executes all tests inside this package
     */
    public static Test suite() {
        TestSuite suite = new ConcurrentTestSuite("Data tests");

        suite.addTestSuite(DataStoreAPITest.class);
        suite.addTestSuite(LazyFileInputStreamTest.class);
        suite.addTestSuite(OpenFilesTest.class);
        suite.addTestSuite(DataStoreTest.class);
        suite.addTestSuite(NodeTypeTest.class);
        suite.addTestSuite(ExportImportTest.class);
        suite.addTestSuite(GarbageCollectorTest.class);
        suite.addTestSuite(GCConcurrentTest.class);
        suite.addTestSuite(GCEventListenerTest.class);
        suite.addTestSuite(PersistenceManagerIteratorTest.class);
        suite.addTestSuite(CopyValueTest.class);
        suite.addTestSuite(TestTwoGetStreams.class);
        suite.addTestSuite(TempFileInputStreamTest.class);
        suite.addTestSuite(WriteWhileReadingTest.class);

        return suite;
    }
View Full Code Here


    /**
     * @return a <code>Test</code> suite that executes all tests inside this
     *         package, except the multi-threading related ones.
     */
    public static Test suite() {
        TestSuite suite = new ConcurrentTestSuite("Core tests");

        suite.addTestSuite(CachingHierarchyManagerTest.class);
        suite.addTestSuite(ShareableNodeTest.class);
        suite.addTestSuite(MultiWorkspaceShareableNodeTest.class);
        suite.addTestSuite(TransientRepositoryTest.class);
        suite.addTestSuite(XATest.class);
        suite.addTestSuite(RestoreAndCheckoutTest.class);
        suite.addTestSuite(NodeImplTest.class);
        suite.addTestSuite(RetentionRegistryImplTest.class);
        suite.addTestSuite(InvalidDateTest.class);
        suite.addTestSuite(SessionGarbageCollectedTest.class);
        suite.addTestSuite(ReferencesTest.class);
        suite.addTestSuite(ReplaceTest.class);

        // test related to NodeStateMerger
        suite.addTestSuite(ConcurrentImportTest.class);
        suite.addTestSuite(ConcurrentAddRemoveMoveTest.class);
        suite.addTestSuite(ConcurrentAddRemovePropertyTest.class);
        suite.addTestSuite(ConcurrentMixinModificationTest.class);
        suite.addTestSuite(ConcurrentModificationWithSNSTest.class);
        suite.addTestSuite(ConcurrentMoveTest.class);
        suite.addTestSuite(ConcurrentReorderTest.class);
        suite.addTestSuite(ConcurrentAddRemoveNodeTest.class);

        // TODO: These tests pass, but they cause some instability in other
        // parts of the test suite, most likely due to uncleaned test data
        if (Boolean.getBoolean("org.apache.jackrabbit.test.integration")) {
            suite.addTestSuite(ConcurrencyTest.class);
//            // suite.addTestSuite(ConcurrencyTest3.class);
            suite.addTestSuite(ConcurrentVersioningTest.class);
//            // suite.addTestSuite(ConcurrentVersioningWithTransactionsTest.class);
//            suite.addTestSuite(ConcurrentCheckinMixedTransactionTest.class);
//            suite.addTestSuite(ConcurrentLoginTest.class);
//            suite.addTestSuite(ConcurrentNodeModificationTest.class);
//            suite.addTestSuite(ConcurrentReadWriteTest.class);
//            suite.addTestSuite(ConcurrentRenameTest.class);
//            suite.addTestSuite(ConcurrentSaveTest.class);
//            suite.addTestSuite(ConcurrentWorkspaceCopyTest.class);
        }

        suite.addTestSuite(UserPerWorkspaceSecurityManagerTest.class);

        suite.addTestSuite(OverlappingNodeAddTest.class);

        suite.addTestSuite(NPEandCMETest.class);

        suite.addTestSuite(ConsistencyCheck.class);

        return suite;
    }
View Full Code Here

     *
     * @return a <code>Test</code> suite that executes all tests inside this
     *         package.
     */
    public static Test suite() {
        TestSuite suite = new ConcurrentTestSuite("security.authorization.acl tests");

        suite.addTestSuite(ACLTemplateTest.class);
        suite.addTestSuite(EntryTest.class);

        suite.addTestSuite(WriteTest.class);
        suite.addTestSuite(LockTest.class);
        suite.addTestSuite(VersionTest.class);
        suite.addTestSuite(NodeTypeTest.class);

        return suite;
    }
View Full Code Here

import org.apache.jackrabbit.test.ConcurrentTestSuite;

public class QueryJcrTest extends TestCase {

    public static Test suite() {
        TestSuite suite = new ConcurrentTestSuite(
                "Jackrabbit query tests using a Lucene based index");
        suite.addTestSuite(FulltextQueryTest.class);
        suite.addTestSuite(SQLTest.class);
        suite.addTestSuite(JoinTest.class);
        suite.addTestSuite(SkipDeletedNodesTest.class);
        suite.addTestSuite(PathQueryNodeTest.class);
        suite.addTestSuite(FulltextSQL2QueryTest.class);
        suite.addTestSuite(SQL2NodeLocalNameTest.class);
        suite.addTestSuite(MixinTest.class);
        suite.addTestSuite(SQL2OuterJoinTest.class);
        suite.addTestSuite(SQL2OffsetLimitTest.class);
        suite.addTestSuite(LimitAndOffsetTest.class);
        suite.addTestSuite(OrderByTest.class);
        suite.addTestSuite(ParentNodeTest.class);

        // FAILURES
        //
        // suite.addTestSuite(SQL2OrderByTest.class); // order by score is not stable
        // suite.addTestSuite(QueryResultTest.class); // OAK-484
View Full Code Here

import org.apache.jackrabbit.test.ConcurrentTestSuite;

public class QueryJcrTest extends TestCase {

    public static Test suite() {
        TestSuite suite = new ConcurrentTestSuite("Jackrabbit query tests");
        suite.addTestSuite(FulltextQueryTest.class);
        suite.addTestSuite(SQLTest.class);
        suite.addTestSuite(JoinTest.class);
        suite.addTestSuite(SkipDeletedNodesTest.class);
        suite.addTestSuite(PathQueryNodeTest.class);
        suite.addTestSuite(FulltextSQL2QueryTest.class);
        suite.addTestSuite(SQL2NodeLocalNameTest.class);
        suite.addTestSuite(SQL2OrderByTest.class);
        suite.addTestSuite(MixinTest.class);
        suite.addTestSuite(SQL2OuterJoinTest.class);
        suite.addTestSuite(SQL2OffsetLimitTest.class);
        suite.addTestSuite(LimitAndOffsetTest.class);
        suite.addTestSuite(OrderByTest.class);

        // FAILURES
        //
        // suite.addTestSuite(QueryResultTest.class); // OAK-484
        // suite.addTestSuite(ParentNodeTest.class); // OAK-309
View Full Code Here

* Test suite of JCR tests to be run with Oak Solr index
*/
public class QueryJcrTest extends TestCase {

    public static Test suite() {
        TestSuite suite = new ConcurrentTestSuite(
                "Jackrabbit query tests using a Solr based index");
//        suite.addTestSuite(FulltextQueryTest.class); // fail
        suite.addTestSuite(SQLTest.class);
//        suite.addTestSuite(JoinTest.class); // fail
        suite.addTestSuite(SkipDeletedNodesTest.class);
        suite.addTestSuite(PathQueryNodeTest.class);
//        suite.addTestSuite(FulltextSQL2QueryTest.class); // fail
//        suite.addTestSuite(SQL2NodeLocalNameTest.class); // fail
//        suite.addTestSuite(SQL2OrderByTest.class); // fail
//        suite.addTestSuite(MixinTest.class); // fail
//        suite.addTestSuite(SQL2OuterJoinTest.class);
        suite.addTestSuite(SQL2OffsetLimitTest.class);
//        suite.addTestSuite(LimitAndOffsetTest.class); // randomly failing
//        suite.addTestSuite(OrderByTest.class); // fail
//        suite.addTestSuite(ExcerptTest.class); // error unsupported
//        suite.addTestSuite(QueryResultTest.class); // fail
//        suite.addTestSuite(ParentNodeTest.class);  // fail
//        suite.addTestSuite(SimilarQueryTest.class); // error unsupported
//        suite.addTestSuite(DerefTest.class); // error
//        suite.addTestSuite(XPathAxisTest.class); // fail and error
        suite.addTestSuite(SQL2QueryResultTest.class);
//        suite.addTestSuite(SimpleQueryTest.class); // fail and error
//        suite.addTestSuite(FnNameQueryTest.class); // fail
//        suite.addTestSuite(UpperLowerCaseQueryTest.class); // fail
//        suite.addTestSuite(SQL2PathEscapingTest.class); // fail and error
//        suite.addTestSuite(ChildAxisQueryTest.class); // fail and error : javax.jcr.ItemExistsException: node3
//        suite.addTestSuite(SelectClauseTest.class); // error : javax.jcr.ItemExistsException: node
//        suite.addTestSuite(ShareableNodeTest.class); //not implemented
        suite.addTestSuite(VersionStoreQueryTest.class);
        return suite;
    }
View Full Code Here

    /**
     * @return a <code>Test</code> suite that executes all tests inside this
     *         package, except the multi-threading related ones.
     */
    public static Test suite() {
        TestSuite suite = new ConcurrentTestSuite("Core tests");

        suite.addTestSuite(CachingHierarchyManagerTest.class);
        suite.addTestSuite(ShareableNodeTest.class);
        suite.addTestSuite(TransientRepositoryTest.class);
        suite.addTestSuite(XATest.class);
        suite.addTestSuite(RestoreAndCheckoutTest.class);
        suite.addTestSuite(NodeImplTest.class);
        suite.addTestSuite(RetentionRegistryImplTest.class);
        suite.addTestSuite(InvalidDateTest.class);
        suite.addTestSuite(SessionGarbageCollectedTest.class);
        suite.addTestSuite(ReferencesTest.class);

        // test related to NodeStateMerger
        // temporarily disabled see JCR-2272 and JCR-2295
        // suite.addTestSuite(ConcurrentImportTest.class);
        suite.addTestSuite(ConcurrentAddRemoveMoveTest.class);
        suite.addTestSuite(ConcurrentAddRemovePropertyTest.class);
        suite.addTestSuite(ConcurrentMixinModificationTest.class);
        suite.addTestSuite(ConcurrentModificationWithSNSTest.class);
        suite.addTestSuite(ConcurrentMoveTest.class);
        suite.addTestSuite(ConcurrentReorderTest.class);

        return suite;
    }
View Full Code Here

     * Returns a <code>Test</code> suite that executes all test in this package.
     *
     * @return a <code>Test</code> suite that executes all test in this package.
     */
    public static Test suite() {
        TestSuite suite = new ConcurrentTestSuite("core.security.user tests");

        suite.addTestSuite(UserManagerImplTest.class);
        suite.addTestSuite(AuthorizableImplTest.class);
        suite.addTestSuite(UserImplTest.class);
        suite.addTestSuite(ImpersonationImplTest.class);

        suite.addTestSuite(UserAdministratorTest.class);
        suite.addTestSuite(NotUserAdministratorTest.class);
        suite.addTestSuite(GroupAdministratorTest.class);
        suite.addTestSuite(AdministratorTest.class);

        suite.addTestSuite(IndexNodeResolverTest.class);
        suite.addTestSuite(TraversingNodeResolverTest.class);

        suite.addTestSuite(NodeCreationTest.class);

        suite.addTestSuite(UserImporterTest.class);

        suite.addTestSuite(DefaultPrincipalProviderTest.class);

        return suite;
    }
View Full Code Here

     *
     * @return a <code>Test</code> suite that executes all tests inside this
     *         package.
     */
    public static Test suite() {
        TestSuite suite = new ConcurrentTestSuite("Search tests");

        suite.addTestSuite(SimpleQueryTest.class);
        suite.addTestSuite(FulltextQueryTest.class);
        suite.addTestSuite(SelectClauseTest.class);
        suite.addTestSuite(SQLTest.class);
        suite.addTestSuite(OrderByTest.class);
        suite.addTestSuite(XPathAxisTest.class);
        suite.addTestSuite(SkipDeletedNodesTest.class);
        suite.addTestSuite(SkipDeniedNodesTest.class);
        suite.addTestSuite(MixinTest.class);
        suite.addTestSuite(DerefTest.class);
        suite.addTestSuite(VersionStoreQueryTest.class);
        suite.addTestSuite(UpperLowerCaseQueryTest.class);
        suite.addTestSuite(ChildAxisQueryTest.class);
        suite.addTestSuite(QueryResultTest.class);
        suite.addTestSuite(FnNameQueryTest.class);
        suite.addTestSuite(PathQueryNodeTest.class);
        suite.addTestSuite(SynonymProviderTest.class);
        suite.addTestSuite(ArrayHitsTest.class);
        suite.addTestSuite(ExcerptTest.class);
        suite.addTestSuite(IndexFormatVersionTest.class);
        suite.addTestSuite(IndexingRuleTest.class);
        suite.addTestSuite(ShareableNodeTest.class);
        suite.addTestSuite(ParentNodeTest.class);
        suite.addTestSuite(SimilarQueryTest.class);
        suite.addTestSuite(FulltextSQL2QueryTest.class);

        return suite;
    }
View Full Code Here

     *
     * @return a <code>Test</code> suite that executes all tests inside this
     *         package.
     */
    public static Test suite() {
        TestSuite suite = new ConcurrentTestSuite("security.authorization.acl tests");

        suite.addTestSuite(ACLTemplateTest.class);
        suite.addTestSuite(EntryTest.class);
        suite.addTestSuite(EntryCollectorTest.class);

        suite.addTestSuite(ReadTest.class);
        suite.addTestSuite(WriteTest.class);
        suite.addTestSuite(AcReadWriteTest.class);
        suite.addTestSuite(LockTest.class);
        suite.addTestSuite(VersionTest.class);
        suite.addTestSuite(NodeTypeTest.class);
        suite.addTestSuite(EffectivePolicyTest.class);
        suite.addTestSuite(ACLEditorTest.class);
       
        return suite;
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.test.ConcurrentTestSuite

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.