Tabnine Logo
ReportConfig
Code IndexAdd Tabnine to your IDE (free)

How to use
ReportConfig
in
de.smartics.testdoc.report.export.doc

Best Java code snippets using de.smartics.testdoc.report.export.doc.ReportConfig (Showing top 11 results out of 315)

origin: de.smartics.testdoc/testdoc-report

/**
 * Convenience constructor to create an instance with a filter that accepts
 * all categories and shows defaults.
 *
 * @param index the index of test documentation.
 */
public TestDocHelper(final UnitTestDocIndex index)
{
 this(index, new ReportConfig());
}
origin: de.smartics.testdoc/testdoc-report

/**
 * Returns the configuration of links to images used in reports.
 *
 * @return the configuration of links to images used in reports.
 */
public ImageHelper getImageHelper()
{
 return config.getImageHelper();
}
origin: de.smartics.testdoc/testdoc-report

/**
 * Returns the configuration that tells which report information is to be
 * displayed.
 *
 * @return the configuration that tells which report information is to be
 *         displayed.
 */
public InformationFilter getInformationFilter()
{
 return config.getInformationFilter();
}
origin: de.smartics.testdoc/testdoc-report

/**
 * Filters scenarios by their categories according the the given report
 * configuration.
 *
 * @param scenarios the scenarios to filter.
 * @return the filtered scenarios.
 */
public List<ScenarioTestDoc> filterScenarios(
  final List<ScenarioTestDoc> scenarios)
{
 return config.getSelectionFilter().filterScenarios(scenarios);
}
origin: de.smartics.testdoc/testdoc-report

/**
 * Returns the manager to access JUnit report information. Is
 * <code>null</code> if the information is not to be included.
 *
 * @return the manager to access JUnit report information.
 */
public JUnitTestCaseManager getJunitManager()
{
 return config.getJunitManager();
}
origin: de.smartics.testdoc/testdoc-report

/**
 * Returns the comparator to use to sort the rendering of unit test
 * documentation.
 *
 * @return the comparator to use to sort the rendering of unit test
 *         documentation.
 */
public Comparator<UnitTestDoc> getUnitTestDocComparator()
{
 return config.getUnitTestDocComparator();
}
origin: de.smartics.testdoc/testdoc-report

/**
 * Returns the external reports to reference to.
 *
 * @return the external reports.
 */
public ExternalReportReferences getReports()
{
 return config.getReports();
}
origin: de.smartics.testdoc/testdoc-report

/**
 * Filters the given categories according the the given report configuration.
 *
 * @param categories the categories to be filtered.
 * @return a copy of the given <code>categories</code> containing only those
 *         categories that are accepted.
 */
public List<String> filter(final List<String> categories)
{
 return config.getSelectionFilter().filterCategories(categories);
}
origin: de.smartics.testdoc/testdoc-report

/**
 * Checks whether or not to include JUnit report information.
 *
 * @return <code>true</code> if the information is requested to be included,
 *         <code>false</code> if it should be omitted.
 */
public boolean isJUnitReportInformationRequested()
{
 return config.getJunitManager() != null;
}
origin: de.smartics.testdoc/maven-testdoc-report-plugin

private ReportConfig createReportConfig() throws MavenReportException
{
 final InformationFilter.Builder builder = new InformationFilter.Builder();
 builder.setShowIndexOfIndices(showIndexOfIndices);
 builder.setShowNumbering(showNumbering);
 builder.setShowCategories(showCategories);
 builder.setShowTestCase(showTestCase);
 builder.setShowTestStatus(showTestStatus);
 final InformationFilter filter = builder.build();
 final SelectionFilter selectionFilter =
   new SelectionFilter(includeCategories, excludeCategories);
 final Comparator<UnitTestDoc> comparator = createComparator();
 final ReportConfig config =
   new ReportConfig(selectionFilter, filter, junitManager, imageHelper,
     reports, comparator);
 return config;
}
origin: de.smartics.testdoc/testdoc-maven-report-plugin

private ReportConfig createReportConfig() throws MavenReportException
{
 final InformationFilter.Builder builder = new InformationFilter.Builder();
 builder.setShowIndexOfIndices(showIndexOfIndices);
 builder.setShowNumbering(showNumbering);
 builder.setShowCategories(showCategories);
 builder.setShowTestCase(showTestCase);
 builder.setShowTestStatus(showTestStatus);
 final InformationFilter filter = builder.build();
 final SelectionFilter selectionFilter =
   new SelectionFilter(includeCategories, excludeCategories);
 final Comparator<UnitTestDoc> comparator = createComparator();
 final ReportConfig config =
   new ReportConfig(selectionFilter, filter, junitManager, imageHelper,
     reports, comparator);
 return config;
}
de.smartics.testdoc.report.export.docReportConfig

Javadoc

The configuration to control the generation of the report. This is simply a tool to pass the configuration information from the client (e.g. a Maven plugin) to the generator.

Most used methods

  • <init>
    Default constructor.
  • getImageHelper
    Returns the configuration of links to images used in reports.
  • getInformationFilter
    Returns the configuration that tells which report information is to be displayed.
  • getJunitManager
    Returns the manager to access JUnit report information. Isnull if the information is not to be inclu
  • getReports
    Returns the external reports to reference to.
  • getSelectionFilter
    Returns the category classes of test scenarios that should be filtered.
  • getUnitTestDocComparator
    Returns the comparator to use to sort the rendering of unit test documentation.

Popular in Java

  • Reading from database using SQL prepared statement
  • getContentResolver (Context)
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (Timer)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • JPanel (javax.swing)
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now