List of usage examples for java.util PropertyResourceBundle keySet
public Set<String> keySet()
Set
of all keys contained in this ResourceBundle
and its parent bundles. From source file:org.ebayopensource.turmeric.eclipse.utils.test.plugin.TestJDTUtil.java
/** * Test method for {@link org.ebayopensource.turmeric.eclipse.utils.plugin.JDTUtil#getPluginProperties(org.osgi.framework.Bundle, java.lang.String)}. * @throws IOException //from w w w . j a va2 s. c o m */ @Test public void testGetPluginPropertiesBundleString() throws IOException { PropertyResourceBundle bundle = JDTUtil.getPluginProperties(Activator.getDefault().getBundle(), "plugin.properties"); Assert.assertNotNull(bundle); Assert.assertFalse(bundle.keySet().isEmpty()); }
From source file:org.ebayopensource.turmeric.eclipse.utils.test.plugin.TestJDTUtil.java
/** * Test method for {@link org.ebayopensource.turmeric.eclipse.utils.plugin.JDTUtil#getPluginProperties(org.osgi.framework.Bundle)}. * @throws IOException // w w w . ja va 2s. c o m */ @Test public void testGetPluginPropertiesBundle() throws IOException { PropertyResourceBundle bundle = JDTUtil.getPluginProperties(Activator.getDefault().getBundle()); Assert.assertNotNull(bundle); Assert.assertFalse(bundle.keySet().isEmpty()); }