org.alfresco.cmis.mapping
Class BaseCMISTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.cmis.mapping.BaseCMISTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
CMISAccessControlServiceTest, CMISDictionaryTest, CMISPropertyServiceTest, CMISRenditionServiceTest, QueryTest

public abstract class BaseCMISTest
extends junit.framework.TestCase

Base CMIS test Basic TX control and authentication


Field Summary
protected  AuthenticationComponent authenticationComponent
           
protected  CMISAccessControlService cmisAccessControlService
           
protected  CMISDictionaryService cmisDictionaryService
           
protected  CMISMapping cmisMapping
           
protected  CMISQueryService cmisQueryService
           
protected  CMISRenditionService cmisRenditionService
           
protected  CMISServices cmisService
           
protected  ContentService contentService
           
protected  org.alfresco.repo.dictionary.DictionaryDAO dictionaryDAO
           
protected  org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService
           
protected  FileFolderService fileFolderService
           
protected  org.alfresco.repo.dictionary.NamespaceDAOImpl namespaceDao
           
protected  org.alfresco.service.namespace.NamespaceService namespaceService
           
protected  org.alfresco.service.cmr.repository.NodeService nodeService
           
protected  ModelDAO permissionModelDao
           
protected  org.alfresco.service.cmr.security.PermissionService permissionService
           
protected  org.alfresco.service.cmr.repository.NodeRef rootNodeRef
           
protected  org.alfresco.service.cmr.search.SearchService searchService
           
protected  ServiceRegistry serviceRegistry
           
protected  javax.transaction.UserTransaction testTX
           
protected  ThumbnailService thumbnailService
           
protected  TransactionService transactionService
           
protected  VersionService versionService
           
 
Constructor Summary
BaseCMISTest()
           
 
Method Summary
protected  void runAs(java.lang.String userName)
           
 void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cmisMapping

protected CMISMapping cmisMapping

cmisService

protected CMISServices cmisService

cmisDictionaryService

protected CMISDictionaryService cmisDictionaryService

cmisRenditionService

protected CMISRenditionService cmisRenditionService

cmisAccessControlService

protected CMISAccessControlService cmisAccessControlService

dictionaryService

protected org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService

transactionService

protected TransactionService transactionService

authenticationComponent

protected AuthenticationComponent authenticationComponent

testTX

protected javax.transaction.UserTransaction testTX

nodeService

protected org.alfresco.service.cmr.repository.NodeService nodeService

rootNodeRef

protected org.alfresco.service.cmr.repository.NodeRef rootNodeRef

fileFolderService

protected FileFolderService fileFolderService

serviceRegistry

protected ServiceRegistry serviceRegistry

namespaceService

protected org.alfresco.service.namespace.NamespaceService namespaceService

cmisQueryService

protected CMISQueryService cmisQueryService

searchService

protected org.alfresco.service.cmr.search.SearchService searchService

contentService

protected ContentService contentService

permissionService

protected org.alfresco.service.cmr.security.PermissionService permissionService

thumbnailService

protected ThumbnailService thumbnailService

permissionModelDao

protected ModelDAO permissionModelDao

dictionaryDAO

protected org.alfresco.repo.dictionary.DictionaryDAO dictionaryDAO

namespaceDao

protected org.alfresco.repo.dictionary.NamespaceDAOImpl namespaceDao

versionService

protected VersionService versionService
Constructor Detail

BaseCMISTest

public BaseCMISTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

runAs

protected void runAs(java.lang.String userName)

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.