public class Difference extends Object
| Constructor and Description |
|---|
Difference(DataModelReflection expected,
DataModelReflection actual,
Object diagnostic)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
format(Object value)
return formatted value.
|
DataModelReflection |
getActual()
Returns the actual data.
|
Object |
getDiagnostic()
Returns a diagnostic message.
|
DataModelReflection |
getExpected()
Returns the expected data.
|
String |
toString() |
public Difference(DataModelReflection expected, DataModelReflection actual, Object diagnostic)
expected - expected data (nullable)actual - actual data (nullable)diagnostic - diagnostic message (nullable)public DataModelReflection getExpected()
null if nonepublic DataModelReflection getActual()
null if nonepublic Object getDiagnostic()
null if nonepublic static String format(Object value)
DataModelReflection.toStringRepresentation(Object).value - target value.Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.