示例#1
0
 @Test
 public void testUnparseLegal() throws PersistenceLayerException {
   primaryProf.put(ObjectKey.GENDER_LOCK, Gender.Male);
   LocaleDependentTestCase.before(Locale.US);
   expectSingle(getToken().unparse(primaryContext, primaryProf), "Male");
   LocaleDependentTestCase.after();
   LocaleDependentTestCase.before(Locale.FRENCH);
   expectSingle(getToken().unparse(primaryContext, primaryProf), "Male");
   LocaleDependentTestCase.after();
 }
示例#2
0
 @Test
 public void testRoundRobinMale() throws PersistenceLayerException {
   LocaleDependentTestCase.before(Locale.US);
   runRoundRobin("Male");
   LocaleDependentTestCase.after();
 }
示例#3
0
 @Test
 public void testRoundRobinNeuterI18N() throws PersistenceLayerException {
   LocaleDependentTestCase.before(Locale.FRENCH);
   runRoundRobin("Neuter");
   LocaleDependentTestCase.after();
 }