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

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.model.ml.tools.AbstractMultilingualTestCases
              extended by org.alfresco.repo.model.ml.tools.MultilingualContentServiceImplTest
All Implemented Interfaces:
junit.framework.Test

public class MultilingualContentServiceImplTest
extends AbstractMultilingualTestCases

See Also:
org.alfresco.repo.ml.MultilingualContentServiceImpl

Field Summary
 
Fields inherited from class org.alfresco.repo.model.ml.tools.AbstractMultilingualTestCases
authenticationComponent, contentFilterLanguagesService, ctx, editionService, fileFolderService, folderNodeRef, multilingualContentService, nodeArchiveService, nodeService, serviceRegistry, transactionService, versionService
 
Constructor Summary
MultilingualContentServiceImplTest()
           
 
Method Summary
 void testAddTranslationUsingContent()
           
 void testCopyAndRenameMLContainer()
           
 void testCopyMLContainerInNewSpace()
           
 void testCopyMLContainerInSameSpace()
           
 void testCreateEmptyTranslation()
           
 void testCreateEmptyTranslationNames()
           
 void testDeleteMultilingualContent()
           
 void testGetMissingTranslation()
           
 void testGetPivotTranslation()
           
 void testGetTranslationContainerPermissions()
           
 void testGetTranslationForLocale()
           
 void testMakeTranslation()
           
 void testMoveMLContainer()
           
 void testPermissions()
          Check whether non-admin users can take part in ML document manipulation
 
Methods inherited from class org.alfresco.repo.model.ml.tools.AbstractMultilingualTestCases
createContent, createContent, setUp, tearDown, 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
 

Constructor Detail

MultilingualContentServiceImplTest

public MultilingualContentServiceImplTest()
Method Detail

testMakeTranslation

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

testAddTranslationUsingContent

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

testGetMissingTranslation

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

testGetTranslationForLocale

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

testGetPivotTranslation

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

testCreateEmptyTranslation

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

testCreateEmptyTranslationNames

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

testGetTranslationContainerPermissions

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

testPermissions

public void testPermissions()
                     throws java.lang.Exception
Check whether non-admin users can take part in ML document manipulation

Throws:
java.lang.Exception

testDeleteMultilingualContent

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

testCopyMLContainerInNewSpace

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

testCopyMLContainerInSameSpace

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

testCopyAndRenameMLContainer

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

testMoveMLContainer

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


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