Type getType() { final Type testCase = scenario.getTestCaseType(); return testCase; }
Type getType() { final Type testCase = scenario.getTestCaseType(); return testCase; }
protected void renderTableEnd(final ScenarioTestDoc scenarioRepresentant) throws IOException { final Type testCaseType = scenarioRepresentant.getTestCaseType(); final JUnitTestCaseManager junitManager = testDocHelper.getJunitManager(); junitManager.evict(testCaseType); }
protected void renderTableEnd(final ScenarioTestDoc scenarioRepresentant) throws IOException { final Type testCaseType = scenarioRepresentant.getTestCaseType(); final JUnitTestCaseManager junitManager = testDocHelper.getJunitManager(); junitManager.evict(testCaseType); }
/** * {@inheritDoc} * * @see de.smartics.testdoc.maven.export.AbstractReportExporter#renderTestCase(de.smartics.testdoc.report.doc.ScenarioTestDoc) */ @Override protected void renderTestCase(final ScenarioTestDoc scenario) throws IOException { try { final TestMethodDoc testMethodDoc = scenario.getTestMethod(); final Type type = scenario.getTestCaseType(); xmlWriter.writeStartElement(TESTDOC_NS, "test-case"); writeType(type); final ExternalReportReferences refs = testDocHelper.getReports(); renderReports(type, refs.getTestCaseReports(), testMethodDoc); xmlWriter.writeEndElement(); } catch (final XMLStreamException e) { throw new IOException("Cannot write test case.", e); } }
/** * {@inheritDoc} * * @see de.smartics.testdoc.maven.export.AbstractReportExporter#renderTestCase(de.smartics.testdoc.report.doc.ScenarioTestDoc) */ @Override protected void renderTestCase(final ScenarioTestDoc scenario) throws IOException { try { final TestMethodDoc testMethodDoc = scenario.getTestMethod(); final Type type = scenario.getTestCaseType(); xmlWriter.writeStartElement(TESTDOC_NS, "test-case"); writeType(type); final ExternalReportReferences refs = testDocHelper.getReports(); renderReports(type, refs.getTestCaseReports(), testMethodDoc); xmlWriter.writeEndElement(); } catch (final XMLStreamException e) { throw new IOException("Cannot write test case.", e); } }
final Type testCaseType = scenario.getTestCaseType(); final TestMethodDoc testMethod = scenario.getTestMethod(); final String testMethodName = testMethod.getTestName();
final Type testCaseType = scenario.getTestCaseType(); final TestMethodDoc testMethod = scenario.getTestMethod(); final String testMethodName = testMethod.getTestName();
@Override protected void renderTestCase(final ScenarioTestDoc scenario) { if (informationFilter.isShowTestCase()) { sink.tableCell(); final Type testCase = scenario.getTestCaseType(); sink.text(testCase.getTypeName()); final ExternalReportReferences reportRefs = testDocHelper.getReports(); final List<ExternalReport> reports = reportRefs.getTestCaseReports(); if (!reports.isEmpty()) { sink.text(": "); final ScenarioLinkRenderer linkRenderer = new ScenarioLinkRenderer(sink, messages, scenario); for (final ExternalReport report : reports) { linkRenderer.renderTestMethodLink(report); } } sink.tableCell_(); } }
@Override protected void renderTestCase(final ScenarioTestDoc scenario) { if (informationFilter.isShowTestCase()) { sink.tableCell(); final Type testCase = scenario.getTestCaseType(); sink.text(testCase.getTypeName()); final ExternalReportReferences reportRefs = testDocHelper.getReports(); final List<ExternalReport> reports = reportRefs.getTestCaseReports(); if (!reports.isEmpty()) { sink.text(": "); final ScenarioLinkRenderer linkRenderer = new ScenarioLinkRenderer(sink, messages, scenario); for (final ExternalReport report : reports) { linkRenderer.renderTestMethodLink(report); } } sink.tableCell_(); } }
final Type testCaseType = scenario.getTestCaseType(); final TestMethodDoc testMethod = scenario.getTestMethod(); final String testMethodName = testMethod.getTestName();
final Type testCaseType = scenario.getTestCaseType(); final TestMethodDoc testMethod = scenario.getTestMethod(); final String testMethodName = testMethod.getTestName();