@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(); }
@Test public void testRoundRobinMale() throws PersistenceLayerException { LocaleDependentTestCase.before(Locale.US); runRoundRobin("Male"); LocaleDependentTestCase.after(); }
@Test public void testRoundRobinNeuterI18N() throws PersistenceLayerException { LocaleDependentTestCase.before(Locale.FRENCH); runRoundRobin("Neuter"); LocaleDependentTestCase.after(); }