Package com.tngtech.jgiven.report.model
Class CasesTable.CaseRow
java.lang.Object
com.tngtech.jgiven.report.model.CasesTable.CaseRow
- Enclosing class:
- CasesTable
Represents one case of a scenario.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe argument values of the case.The case description.long
The duration of the case.The error message of the case if any.int
The row number starting from 1.The stack trace of the case if any.status()
The execution status of the case.
-
Constructor Details
-
CaseRow
public CaseRow(int rowNumber, String description, List<String> arguments, ExecutionStatus executionStatus, long durationInNanos, String errorMessage, List<String> stackTrace) Create a new row representing a single ScenarioCaseModel.- Parameters:
rowNumber
- the case numberdescription
- the case's descriptionarguments
- the case's argumentsexecutionStatus
- the case's execution resultdurationInNanos
- the duration it took to execute the caseerrorMessage
- the case's error message if anystackTrace
- the case's stackTrace if any
-
-
Method Details
-
rowNumber
public int rowNumber()The row number starting from 1. -
description
The case description. -
arguments
The argument values of the case. -
status
The execution status of the case. -
durationInNanos
public long durationInNanos()The duration of the case. -
errorMessage
The error message of the case if any. -
stackTrace
The stack trace of the case if any.
-