Codota Logo
TestDocHelper.filter
Code IndexAdd Codota to your IDE (free)

How to use
filter
method
in
de.smartics.testdoc.report.export.doc.TestDocHelper

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
origin: de.smartics.testdoc/maven-testdoc-report-plugin

/**
 * {@inheritDoc}
 *
 * @see de.smartics.testdoc.maven.export.AbstractReportExporter#renderCategories(de.smartics.testdoc.report.doc.ScenarioTestDoc)
 */
@Override
protected void renderCategories(final ScenarioTestDoc scenario)
 throws IOException
{
 try
 {
  final List<String> categories =
    testDocHelper.filter(scenario.getCategories());
  if (!categories.isEmpty())
  {
   xmlWriter.writeStartElement(TESTDOC_NS, "categories");
   for (final String category : categories)
   {
    writeElement("category", messages.getLabel(category));
   }
   xmlWriter.writeEndElement();
  }
 }
 catch (final XMLStreamException e)
 {
  throw new IOException("Cannot write categories.", e);
 }
}
origin: de.smartics.testdoc/testdoc-maven-report-plugin

/**
 * {@inheritDoc}
 *
 * @see de.smartics.testdoc.maven.export.AbstractReportExporter#renderCategories(de.smartics.testdoc.report.doc.ScenarioTestDoc)
 */
@Override
protected void renderCategories(final ScenarioTestDoc scenario)
 throws IOException
{
 try
 {
  final List<String> categories =
    testDocHelper.filter(scenario.getCategories());
  if (!categories.isEmpty())
  {
   xmlWriter.writeStartElement(TESTDOC_NS, "categories");
   for (final String category : categories)
   {
    writeElement("category", messages.getLabel(category));
   }
   xmlWriter.writeEndElement();
  }
 }
 catch (final XMLStreamException e)
 {
  throw new IOException("Cannot write categories.", e);
 }
}
origin: de.smartics.testdoc/testdoc-maven-report-plugin

  testDocHelper.filter(scenario.getCategories());
if (!categories.isEmpty())
origin: de.smartics.testdoc/maven-testdoc-report-plugin

  testDocHelper.filter(scenario.getCategories());
if (!categories.isEmpty())
de.smartics.testdoc.report.export.docTestDocHelperfilter

Javadoc

Filters the given categories according the the given report configuration.

Popular methods of TestDocHelper

  • filterScenarios
    Filters scenarios by their categories according the the given report configuration.
  • getImageHelper
    Returns the configuration of links to images used in reports.
  • getIndex
    Returns the index of test documentation. May be null, if no index is requested.
  • 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.
  • getUnitTestDocComparator
    Returns the comparator to use to sort the rendering of unit test documentation.
  • isIndexProvided
    Checks if test documentation information is provided.
  • isJUnitReportInformationRequested
    Checks whether or not to include JUnit report information.
  • <init>
    Default constructor.

Popular in Java

  • Making http requests using okhttp
  • requestLocationUpdates (LocationManager)
  • startActivity (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now