@Test public void testGetVersionFromNonDefaultLocation() { PluginPropertiesUtil ppu = new PluginPropertiesUtil( "test-version.properties" ); String version = ppu.getVersion(); assertEquals( "X.Y.Z-TEST", version ); }
public String getVersion() { return VERSION_PLACEHOLDER; }
PluginPropertiesUtil { public String getVersion() { return VERSION_PLACEHOLDER; } }
PluginPropertiesUtil { public String getVersion() { return VERSION_PLACEHOLDER; } PluginPropertiesUtil();  PluginPropertiesUtil( String versionPropertiesFile ); }
PluginPropertiesUtil { public String getVersion() { return VERSION_PLACEHOLDER; } PluginPropertiesUtil();  PluginPropertiesUtil( String versionPropertiesFile ); Properties loadPluginProperties( PluginInterface plugin ); String getVersion(); }
PluginPropertiesUtil { public String getVersion() { return VERSION_PLACEHOLDER; } PluginPropertiesUtil();  PluginPropertiesUtil( String versionPropertiesFile ); Properties loadPluginProperties( PluginInterface plugin ); String getVersion(); static final String PLUGIN_PROPERTIES_FILE; static final String VERSION_PROPERTIES_FILE; }