ApplicationConfiguration { public Set<String> getJavascript() { return javascript; } ApplicationConfiguration(); String getApplicationID(); void setApplicationID(final String applicationID); String getApplicationName(); void setApplicationName(final String applicationName); String getApplicationDescription(); void setApplicationDescription(final String applicationDescription); String getApplicationContextName(); void setApplicationContextName(final String applicationContextName); void setHeartBeatPeriod(final long heartBeatPeriod, final TimeUnit heartBeatPeriodTimeUnit); long getHeartBeatPeriod(); void setHeartBeatPeriod(final long heartBeatPeriod); TimeUnit getHeartBeatPeriodTimeUnit(); int getSessionTimeout(); void setSessionTimeout(final int sessionTimeout); Set<String> getJavascript(); void setJavascript(final Set<String> javascript); Map<String, String> getStyle(); void setStyle(final Map<String, String> style); Set<String> getMeta(); void setMeta(final Set<String> meta); Class<? extends EntryPoint> getEntryPointClass(); void setEntryPointClass(final Class<? extends EntryPoint> entryPointClass); String getClientConfigFile(); void setClientConfigFile(final String clientConfigFile); boolean isDebugMode(); void setDebugMode(final boolean debugMode); boolean isTabindexOnlyFormField(); void setTabindexOnlyFormField(final boolean tabindexOnlyFormField); @Override String toString(); boolean isEnableClientToServerHeartBeat(); void setEnableClientToServerHeartBeat(final boolean enableClientToServerHeartBeat); static final String APPLICATION_ID; static final String APPLICATION_NAME; static final String APPLICATION_DESCRIPTION; static final String APPLICATION_CONTEXT_NAME; static final String STYLESHEETS; static final String JAVASCRIPTS; static final String POINTCLASS; }
@Test public void testGetJavascript() { final Set<String> expected = Set.of("a.js", "b.js"); config.setJavascript(expected); assertEquals(expected, config.getJavascript()); }