Codota Logo
Type.getPackageName
Code IndexAdd Codota 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)

  • 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/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
  • onCreateOptionsMenu (Activity)
  • onRequestPermissionsResult (Fragment)
  • runOnUiThread (Activity)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Socket (java.net)
    Provides a client-side TCP socket.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
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