Java Code Examples for javax.money.convert.MonetaryConversions#getConversionProviderNames()

The following examples show how to use javax.money.convert.MonetaryConversions#getConversionProviderNames() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MonetaryConversionTest.java    From jsr354-ri with Apache License 2.0 5 votes vote down vote up
@Test
public void testGetSupportedProviderContexts() {
	Collection<String> types = MonetaryConversions
			.getConversionProviderNames();
	assertNotNull(types);
	assertTrue(types.size() >= 1);
	assertTrue(types.contains("ECB"));
}
 
Example 2
Source File: MonetaryConversionTest.java    From jsr354-ri with Apache License 2.0 5 votes vote down vote up
@Test
public void testGetSupportedProviderContexts() {
	Collection<String> types = MonetaryConversions
			.getConversionProviderNames();
	assertNotNull(types);
	assertTrue(types.size() >= 1);
	assertTrue(types.contains("IMF"));
}
 
Example 3
Source File: MonetaryConversionTest.java    From javamoney-examples with Apache License 2.0 5 votes vote down vote up
@Test
public void testGetSupportedProviderContexts() {
	Collection<String> types = MonetaryConversions
			.getConversionProviderNames();
	assertNotNull(types);
	assertTrue(types.size() >= 1);
	assertTrue(types.contains("IMF"));
	assertTrue(types.contains("ECB"));
}
 
Example 4
Source File: MonetaryConversionTest.java    From javamoney-examples with Apache License 2.0 5 votes vote down vote up
@Test
public void testGetSupportedProviderContexts() {
	Collection<String> types = MonetaryConversions
			.getConversionProviderNames();
	assertNotNull(types);
	assertTrue(types.size() >= 1);
	assertTrue(types.contains("IMF"));
	assertTrue(types.contains("ECB"));
}
 
Example 5
Source File: RateTypeSelector.java    From javamoney-examples with Apache License 2.0 4 votes vote down vote up
public RateTypeSelector() {
	final Collection<String> types = MonetaryConversions.getConversionProviderNames();
}