Esempio n. 1
0
 @Test
 public void getDefaultPreferenceTest() {
   String defaultValue = Preferences.getDefault(M2E_PLUGIN, M2E_USER_SETTINGS);
   // This test works only from command line!
   // The default value is set using resources/plugin_customization.ini
   // See appArgLine in pom.xml
   assertEquals("/tmp/settings.xml", defaultValue);
 }