org.alfresco.repo.model.ml.tools
Class AbstractMultilingualTestCases

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.model.ml.tools.AbstractMultilingualTestCases
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
ContentFilterLanguagesMapTest, EditionServiceImplTest, EmptyTranslationAspectTest, MLContainerTypeTest, MultilingualContentServiceImplTest, MultilingualDocumentAspectTest

public abstract class AbstractMultilingualTestCases
extends junit.framework.TestCase

Base multilingual test cases


Field Summary
protected  AuthenticationComponent authenticationComponent
           
protected  ContentFilterLanguagesService contentFilterLanguagesService
           
protected static org.springframework.context.ApplicationContext ctx
           
protected  EditionService editionService
           
protected  FileFolderService fileFolderService
           
protected  org.alfresco.service.cmr.repository.NodeRef folderNodeRef
           
protected  MultilingualContentService multilingualContentService
           
protected  NodeArchiveService nodeArchiveService
           
protected  org.alfresco.service.cmr.repository.NodeService nodeService
           
protected  ServiceRegistry serviceRegistry
           
protected  TransactionService transactionService
           
protected  VersionService versionService
           
 
Constructor Summary
AbstractMultilingualTestCases()
           
 
Method Summary
protected  org.alfresco.service.cmr.repository.NodeRef createContent()
           
protected  org.alfresco.service.cmr.repository.NodeRef createContent(java.lang.String name)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testSetup()
           
 
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

ctx

protected static org.springframework.context.ApplicationContext ctx

serviceRegistry

protected ServiceRegistry serviceRegistry

authenticationComponent

protected AuthenticationComponent authenticationComponent

transactionService

protected TransactionService transactionService

nodeService

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

fileFolderService

protected FileFolderService fileFolderService

versionService

protected VersionService versionService

multilingualContentService

protected MultilingualContentService multilingualContentService

folderNodeRef

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

contentFilterLanguagesService

protected ContentFilterLanguagesService contentFilterLanguagesService

nodeArchiveService

protected NodeArchiveService nodeArchiveService

editionService

protected EditionService editionService
Constructor Detail

AbstractMultilingualTestCases

public AbstractMultilingualTestCases()
Method Detail

setUp

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

tearDown

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

createContent

protected org.alfresco.service.cmr.repository.NodeRef createContent()

createContent

protected org.alfresco.service.cmr.repository.NodeRef createContent(java.lang.String name)

testSetup

public void testSetup()
               throws java.lang.Exception
Throws:
java.lang.Exception


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