org.alfresco.repo.domain.locale
Class LocaleDAOTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.domain.locale.LocaleDAOTest
All Implemented Interfaces:
junit.framework.Test

public class LocaleDAOTest
extends junit.framework.TestCase

Since:
2.2.1, 3.3
See Also:
LocaleDAO

Constructor Summary
LocaleDAOTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testConcurrentLocale()
          Forces a bunch of threads to attempt Locale creation.
 void testCreateLocale()
           
 void testCreateLocaleEmpty()
           
 void testDefaultLocale()
           
 
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

LocaleDAOTest

public LocaleDAOTest()
Method Detail

setUp

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

tearDown

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

testCreateLocale

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

testCreateLocaleEmpty

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

testDefaultLocale

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

testConcurrentLocale

public void testConcurrentLocale()
                          throws java.lang.Throwable
Forces a bunch of threads to attempt Locale creation.

Throws:
java.lang.Throwable


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