Tabnine Logo
Type.getPackageName
Code IndexAdd Tabnine to your IDE (free)

How to use
getPackageName
method
in
de.smartics.testdoc.core.doc.Type

Best Java code snippets using de.smartics.testdoc.core.doc.Type.getPackageName (Showing top 9 results out of 315)

origin: de.smartics.testdoc/testdoc-report

/**
 * {@inheritDoc}
 *
 * @see de.smartics.testdoc.report.index.ExportIndex#addToIndex(de.smartics.testdoc.core.doc.UnitTestDoc)
 */
@Override
public void addToIndex(final UnitTestDoc testDoc)
{
 final Type type = testDoc.getUutType();
 final String packageName = type.getPackageName();
 final Map<String, UnitTestDoc> nameIndex = getNameIndex(packageName);
 final String typeName = type.getTypeName();
 nameIndex.put(typeName, testDoc);
}
origin: de.smartics.testdoc/testdoc-maven-report-plugin

protected void renderReports(final Type type,
  final List<ExternalReport> reports, final TestMethodDoc testMethod)
 throws XMLStreamException
{
 if (!reports.isEmpty())
 {
  xmlWriter.writeStartElement(TESTDOC_NS, "reports");
  for (final ExternalReport report : reports)
  {
   xmlWriter.writeStartElement(TESTDOC_NS, "report");
   final String messageKey = report.getLabelKey();
   final String label = messages.getLabel(messageKey);
   writeElement("name", label);
   final String link =
     report.constructLink(type.getPackageName(), type.getTypeName(),
       testMethod);
   writeElement("link", link);
   xmlWriter.writeEndElement();
  }
  xmlWriter.writeEndElement();
 }
}
origin: de.smartics.testdoc/maven-testdoc-report-plugin

protected void renderReports(final Type type,
  final List<ExternalReport> reports, final TestMethodDoc testMethod)
 throws XMLStreamException
{
 if (!reports.isEmpty())
 {
  xmlWriter.writeStartElement(TESTDOC_NS, "reports");
  for (final ExternalReport report : reports)
  {
   xmlWriter.writeStartElement(TESTDOC_NS, "report");
   final String messageKey = report.getLabelKey();
   final String label = messages.getLabel(messageKey);
   writeElement("name", label);
   final String link =
     report.constructLink(type.getPackageName(), type.getTypeName(),
       testMethod);
   writeElement("link", link);
   xmlWriter.writeEndElement();
  }
  xmlWriter.writeEndElement();
 }
}
origin: de.smartics.testdoc/testdoc-maven-report-plugin

private void writeType(final Type type) throws XMLStreamException
{
 final String packageName = type.getPackageName();
 if (StringUtils.isNotBlank(packageName))
 {
  writeElement("package", packageName);
 }
 writeElement("type", type.getTypeName());
}
origin: de.smartics.testdoc/maven-testdoc-report-plugin

private void writeType(final Type type) throws XMLStreamException
{
 final String packageName = type.getPackageName();
 if (StringUtils.isNotBlank(packageName))
 {
  writeElement("package", packageName);
 }
 writeElement("type", type.getTypeName());
}
origin: de.smartics.testdoc/testdoc-maven-report-plugin

@Override
protected void renderTestDocTypeStart(final UnitTestDoc testDoc)
{
 final Type type = testDoc.getUutType();
 final String id = type.toString();
 final String name = type.getTypeName();
 sink.section3();
 helper.renderAnchor(id);
 sink.sectionTitle3();
 sink.text(name + " (" + type.getPackageName() + ')');
 sink.sectionTitle3_();
}
origin: de.smartics.testdoc/maven-testdoc-report-plugin

@Override
protected void renderTestDocTypeStart(final UnitTestDoc testDoc)
{
 final Type type = testDoc.getUutType();
 final String id = type.toString();
 final String name = type.getTypeName();
 sink.section3();
 helper.renderAnchor(id);
 sink.sectionTitle3();
 sink.text(name + " (" + type.getPackageName() + ')');
 sink.sectionTitle3_();
}
origin: de.smartics.testdoc/testdoc-maven-report-plugin

void renderTestMethodLink(final ExternalReport report)
{
 final String messageKey = report.getLabelKey();
 final Type type = getType();
 final String link =
   report.constructLink(type.getPackageName(), type.getTypeName(),
     getTestMethod());
 if (link != null)
 {
  sink.link(link);
  final String label = messages.getLabel(messageKey);
  sink.text(label);
  sink.link_();
 }
}
origin: de.smartics.testdoc/maven-testdoc-report-plugin

void renderTestMethodLink(final ExternalReport report)
{
 final String messageKey = report.getLabelKey();
 final Type type = getType();
 final String link =
   report.constructLink(type.getPackageName(), type.getTypeName(),
     getTestMethod());
 if (link != null)
 {
  sink.link(link);
  final String label = messages.getLabel(messageKey);
  sink.text(label);
  sink.link_();
 }
}
de.smartics.testdoc.core.docTypegetPackageName

Popular methods of Type

  • getTypeName
  • toString
  • <init>

Popular in Java

  • Making http requests using okhttp
  • addToBackStack (FragmentTransaction)
  • getSharedPreferences (Context)
  • setContentView (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • JFrame (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Github Copilot alternatives
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