@SpecVersion(spec="JSR 354", version="1.0.0") public class AccessingCurrenciesAmountsRoundingsTest extends Object
Constructor and Description |
---|
AccessingCurrenciesAmountsRoundingsTest() |
Modifier and Type | Method and Description |
---|---|
void |
testAccessCustomRoundings()
Access custom roundings and ensure TCK custom roundings are
registered.
|
void |
testAccessRoundingsForCustomCurrencies_Default()
Access roundings using all defined currencies, including TCK
custom currencies.
|
void |
testAccessRoundingsForCustomCurrencies_Explicit_Null()
Access roundings using all defined currencies, including TCK
custom currencies.
|
void |
testAccessRoundingsForCustomCurrencies_Explicit()
Access roundings using all defined currencies, including TCK
custom currencies.
|
void |
testAccessRoundingsWithMonetaryContext_Null()
Access roundings using a RoundingContext, that is null.
|
void |
testAccessRoundingsWithRoundingContext()
Access roundings using a MonetaryContext.
|
void |
testAllISOCurrenciesAvailable()
Test if Monetary provides all ISO related entries,
similar to the JDK.
|
void |
testAllLocaleCurrenciesAvailable()
Test if Monetary provides all Locale related
entries, similar to the JDK (for all ISO countries).
|
void |
testAmountDefaultType()
Ensure a default factory is returned.
|
void |
testAmountQueryType()
Ensure correct query function implementations, providing also
the some test implementations with the TCK.
|
void |
testAmountTypesInstantiatable()
Ensure amount factories are accessible for all types
available,
providing also the
some test implementations with the
TCK,
and that
every factory accessed
is a new instance.
|
void |
testAmountTypesProvided()
Ensure amount factories are accessible for all types
available,
providing also the
some test implementations with the
TCK.
|
void |
testCorrectISOCodes()
Test if Monetary provides correct instance with ISO
codes.
|
void |
testCorrectLocales()
Test if Monetary provides correct instance with
Locales.
|
void |
testCustomCurrencies()
Test for custom Monetary provided, based on the TCK
TestProvider.
|
void |
testCustomRoundings_Foo()
Test TCK custom roundings.
|
void |
testCustomRoundings_Null()
Test TCK custom roundings.
|
void |
testCustomRoundings()
Test TCK custom roundings.
|
public AccessingCurrenciesAmountsRoundingsTest()
@SpecAssertion(section="4.2.7", id="427-A1") public void testAllISOCurrenciesAvailable()
@SpecAssertion(section="4.2.7", id="427-A2") public void testAllLocaleCurrenciesAvailable()
@SpecAssertion(section="4.2.7", id="427-A3") public void testCorrectISOCodes()
@SpecAssertion(section="4.2.7", id="427-A4") public void testCorrectLocales()
@SpecAssertion(section="4.2.7", id="427-A5") public void testCustomCurrencies()
@SpecAssertion(section="4.2.7", id="427-B2") public void testAmountTypesProvided()
@SpecAssertion(section="4.2.7", id="427-B3") public void testAmountTypesInstantiatable()
@SpecAssertion(section="4.2.7", id="427-B4") public void testAmountQueryType()
@SpecAssertion(section="4.2.7", id="427-B5") public void testAmountDefaultType()
@SpecAssertion(section="4.2.7", id="427-C1") public void testAccessRoundingsForCustomCurrencies_Default()
@SpecAssertion(section="4.2.7", id="427-C1") public void testAccessRoundingsForCustomCurrencies_Explicit()
@SpecAssertion(section="4.2.7", id="427-C1") public void testAccessRoundingsForCustomCurrencies_Explicit_Null()
@SpecAssertion(section="4.2.7", id="427-C2") public void testAccessRoundingsWithRoundingContext()
@SpecAssertion(section="4.2.7", id="427-C2") public void testAccessRoundingsWithMonetaryContext_Null()
@SpecAssertion(section="4.2.7", id="427-C3") public void testAccessCustomRoundings()
@SpecAssertion(section="4.2.7", id="427-C4") public void testCustomRoundings()
@SpecAssertion(section="4.2.7", id="427-C4") public void testCustomRoundings_Null()
@SpecAssertion(section="4.2.7", id="427-C4") public void testCustomRoundings_Foo()
Copyright © 2012-2015 JavaMoney. All Rights Reserved.