类 AssertRecord
- java.lang.Object
-
- tech.testnx.cah.common.reports.AssertRecord
-
- 所有已实现的接口:
Recordable<AssertRecord>
public class AssertRecord extends Object implements Recordable<AssertRecord>
- 作者:
- Yun
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classAssertRecord.Extra
-
字段概要
-
从接口继承的字段 tech.testnx.cah.common.reports.Recordable
dateTimeFormat
-
-
构造器概要
构造器 构造器 说明 AssertRecord()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetActual()LocalDateTimegetDatetime()StringgetDatetimeText()StringgetDescription()StringgetExpected()Optional<String>getExtraInfo()RecordTypegetRecordType()Get Record TypeStringgetResultText()StringgetSupplementary()StringgetTextRecord()Get text recordStringgetTextRecordWithoutTime()booleanisResult()AssertRecordsetActual(String actual)AssertRecordsetDatetimeAsNow()AssertRecordsetDescription(String description)AssertRecordsetExpected(String expected)AssertRecordsetExtraInfo(Optional<String> extraInfo)AssertRecordsetResult(boolean result)AssertRecordsetSupplementary(String supplementary)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 tech.testnx.cah.common.reports.Recordable
getRecord
-
-
-
-
方法详细资料
-
getDescription
public String getDescription()
-
setDescription
public AssertRecord setDescription(String description)
-
getExpected
public String getExpected()
-
setExpected
public AssertRecord setExpected(String expected)
-
getActual
public String getActual()
-
setActual
public AssertRecord setActual(String actual)
-
getSupplementary
public String getSupplementary()
-
setSupplementary
public AssertRecord setSupplementary(String supplementary)
-
setExtraInfo
public AssertRecord setExtraInfo(Optional<String> extraInfo)
-
getDatetime
public LocalDateTime getDatetime()
-
getDatetimeText
public String getDatetimeText()
-
setDatetimeAsNow
public AssertRecord setDatetimeAsNow()
-
isResult
public boolean isResult()
-
getResultText
public String getResultText()
-
setResult
public AssertRecord setResult(boolean result)
-
getTextRecord
public String getTextRecord()
从接口复制的说明:RecordableGet text record- 指定者:
getTextRecord在接口中Recordable<AssertRecord>- 返回:
- record as text
-
getTextRecordWithoutTime
public String getTextRecordWithoutTime()
-
getRecordType
public RecordType getRecordType()
从接口复制的说明:RecordableGet Record Type- 指定者:
getRecordType在接口中Recordable<AssertRecord>- 返回:
- RecordType
-
-