|
842 | 842 | <section id="4.2.9" title="Exception Types" /> |
843 | 843 |
|
844 | 844 | <section id="4.3" title="Currency Conversion" /> |
845 | | - <section id="4.3.1" title="MonetaryConversions Singleton" /> |
846 | | - <section id="4.3.2" title="Converting Amounts" /> |
847 | | - <section id="4.3.3" title="Exchange Rates and Rate Providers" /> |
848 | | - <section id="4.3.4" title="Provider Chains" /> |
| 845 | + <section id="4.3.1" title="MonetaryConversions Singleton"> |
| 846 | + <group> |
| 847 | + <text>A. Test Basic MonetaryConversions Accessors |
| 848 | + </text> |
| 849 | + <assertion id="431-A1"> |
| 850 | + <text>Ensure at least one conversion provider is accessible.</text> |
| 851 | + </assertion> |
| 852 | + <assertion id="431-A2"> |
| 853 | + <text>Access and test different Currency Conversions for the provider in place.</text> |
| 854 | + </assertion> |
| 855 | + <assertion id="431-A3"> |
| 856 | + <text>Access and test the provider's meta data.</text> |
| 857 | + </assertion> |
| 858 | + <assertion id="431-A4"> |
| 859 | + <text>Access the default provider chain (must be defined).</text> |
| 860 | + </assertion> |
| 861 | + <assertion id="431-A5"> |
| 862 | + <text>Access and test conversion using the default provider chain.</text> |
| 863 | + </assertion> |
| 864 | + <assertion id="431-A6"> |
| 865 | + <text>Bad case: Test access of an inexistent provider.</text> |
| 866 | + </assertion> |
| 867 | + <assertion id="431-A7"> |
| 868 | + <text>Bad case: Test inclusion of an inexistent provider in a provider chain.</text> |
| 869 | + </assertion> |
| 870 | + </group> |
| 871 | + </section> |
| 872 | + <section id="4.3.2" title="Converting Amounts" > |
| 873 | + <group> |
| 874 | + <text>A. Test Basic MonetaryConversions Accessors |
| 875 | + </text> |
| 876 | + <assertion id="432-A1"> |
| 877 | + <text>Test successful conversion for possible currency pairs.</text> |
| 878 | + </assertion> |
| 879 | + <assertion id="432-A2"> |
| 880 | + <text>Compare conversions done with exchange rates provided for same conversion.</text> |
| 881 | + </assertion> |
| 882 | + <assertion id="432-A3"> |
| 883 | + <text>Bad case: try converting from/to an inconvertible (custom) currency, ensure CurrencyConversionException is thrown.</text> |
| 884 | + </assertion> |
| 885 | + <assertion id="432-A4"> |
| 886 | + <text>Bad case: try converting from/to a null currency, ensure CurrencyConversionException is thrown.</text> |
| 887 | + </assertion> |
| 888 | + </group> |
| 889 | + </section> |
| 890 | + |
| 891 | + <section id="4.3.3" title="Exchange Rates and Rate Providers" > |
| 892 | + <group> |
| 893 | + <text>A. Test Basic MonetaryConversions Accessors |
| 894 | + </text> |
| 895 | + <assertion id="433-A1"> |
| 896 | + <text>Test access to conversion rates.</text> |
| 897 | + </assertion> |
| 898 | + <assertion id="433-A2"> |
| 899 | + <text>Ensure additional ConversionContext is passed correctly to SPIs.</text> |
| 900 | + </assertion> |
| 901 | + <assertion id="433-A3"> |
| 902 | + <text>Bad case: try accessing rates with incosistent data.</text> |
| 903 | + </assertion> |
| 904 | + </group> |
| 905 | + </section> |
| 906 | + <section id="4.3.4" title="Provider Chains" > |
| 907 | + <group> |
| 908 | + <text>A. Test Basic MonetaryConversions Accessors |
| 909 | + </text> |
| 910 | + <assertion id="434-A1"> |
| 911 | + <text>Test correct rate evaluation for different provider chains, providers defined by the TCK.</text> |
| 912 | + </assertion> |
| 913 | + <assertion id="434-A2"> |
| 914 | + <text>Test correct rate evaluation for different provider chains, providers defined by the TCK, with historic rates.</text> |
| 915 | + </assertion> |
| 916 | + <assertion id="434-A3"> |
| 917 | + <text>Test availability of providers defined by the TCK.</text> |
| 918 | + </assertion> |
| 919 | + </group> |
| 920 | + </section> |
849 | 921 |
|
850 | 922 | <section id="4.4" title="Money and Currency Formatting API" /> |
851 | 923 | <section id="4.4.1" title="Formatting of Monetary Amounts"> |
|
0 commit comments