@Test void shouldHaveNoRootFoldersWhenCreated() { WarningsPluginConfiguration configuration = createConfiguration(); assertThat(configuration.getSourceDirectories()).isEmpty(); assertThat(get(configuration, "")).isEqualTo(NORMALIZED); assertThat(get(configuration, "-")).isEqualTo(NORMALIZED); assertThat(get(configuration, ABSOLUTE_NOT_EXISTING)).isEqualTo(NORMALIZED); assertThat(get(configuration, RELATIVE)).isEqualTo(getWorkspaceChild(RELATIVE)); }
public List<SourceDirectory> getSourceDirectories() { return sourceDirectories; }
WarningsPluginConfiguration extends GlobalConfigurationItem { public List<SourceDirectory> getSourceDirectories() { return sourceDirectories; } }
WarningsPluginConfiguration extends GlobalConfigurationItem { public List<SourceDirectory> getSourceDirectories() { return sourceDirectories; } WarningsPluginConfiguration(); @VisibleForTesting  WarningsPluginConfiguration(final GlobalConfigurationFacade facade); }
WarningsPluginConfiguration extends GlobalConfigurationItem { public List<SourceDirectory> getSourceDirectories() { return sourceDirectories; } WarningsPluginConfiguration(); @VisibleForTesting  WarningsPluginConfiguration(final GlobalConfigurationFacade facade); static WarningsPluginConfiguration getInstance(); List<SourceDirectory> getSourceDirectories(); @DataBoundSetter void setSourceDirectories(final List<SourceDirectory> sourceDirectories); FilePath getPermittedSourceDirectory(final FilePath workspace, final String sourceDirectory); }
WarningsPluginConfiguration extends GlobalConfigurationItem { public List<SourceDirectory> getSourceDirectories() { return sourceDirectories; } WarningsPluginConfiguration(); @VisibleForTesting  WarningsPluginConfiguration(final GlobalConfigurationFacade facade); static WarningsPluginConfiguration getInstance(); List<SourceDirectory> getSourceDirectories(); @DataBoundSetter void setSourceDirectories(final List<SourceDirectory> sourceDirectories); FilePath getPermittedSourceDirectory(final FilePath workspace, final String sourceDirectory);  }