@Test public void setTrue() throws Exception { System.setProperty( GuidedDecisionTableEditorService.DTABLE_VERIFICATION_DISABLED, "true" ); assertEquals( "true", new GuidedDecisionTableApplicationPreferencesLoader().load().get( GuidedDecisionTableEditorService.DTABLE_VERIFICATION_DISABLED ) ); }
@Override public Map<String, String> load() { final Map<String, String> preferences = new HashMap<String, String>(); final String property = getProperty(); log.info( "Setting preference '" + GuidedDecisionTableEditorService.DTABLE_VERIFICATION_DISABLED + "' to '" + property + "'." ); preferences.put( GuidedDecisionTableEditorService.DTABLE_VERIFICATION_DISABLED, property ); return preferences; }
GuidedDecisionTableApplicationPreferencesLoader implements ApplicationPreferencesLoader { @Override public Map<String, String> load() { final Map<String, String> preferences = new HashMap<String, String>(); final String property = getProperty(); log.info( "Setting preference '" + GuidedDecisionTableEditorService.DTABLE_VERIFICATION_DISABLED + "' to '" + property + "'." ); preferences.put( GuidedDecisionTableEditorService.DTABLE_VERIFICATION_DISABLED, property ); return preferences; } }
GuidedDecisionTableApplicationPreferencesLoader implements ApplicationPreferencesLoader { @Override public Map<String, String> load() { final Map<String, String> preferences = new HashMap<String, String>(); final String property = getProperty(); log.info( "Setting preference '" + GuidedDecisionTableEditorService.DTABLE_VERIFICATION_DISABLED + "' to '" + property + "'." ); preferences.put( GuidedDecisionTableEditorService.DTABLE_VERIFICATION_DISABLED, property ); return preferences; }  }
GuidedDecisionTableApplicationPreferencesLoader implements ApplicationPreferencesLoader { @Override public Map<String, String> load() { final Map<String, String> preferences = new HashMap<String, String>(); final String property = getProperty(); log.info( "Setting preference '" + GuidedDecisionTableEditorService.DTABLE_VERIFICATION_DISABLED + "' to '" + property + "'." ); preferences.put( GuidedDecisionTableEditorService.DTABLE_VERIFICATION_DISABLED, property ); return preferences; }  @Override Map<String, String> load(); }
GuidedDecisionTableApplicationPreferencesLoader implements ApplicationPreferencesLoader { @Override public Map<String, String> load() { final Map<String, String> preferences = new HashMap<String, String>(); final String property = getProperty(); log.info( "Setting preference '" + GuidedDecisionTableEditorService.DTABLE_VERIFICATION_DISABLED + "' to '" + property + "'." ); preferences.put( GuidedDecisionTableEditorService.DTABLE_VERIFICATION_DISABLED, property ); return preferences; }  @Override Map<String, String> load();  }