org.test4j.hamcrest.matcher.property.report
类 SimpleDifferenceView

java.lang.Object
  继承者 org.test4j.hamcrest.matcher.property.report.SimpleDifferenceView
所有已实现的接口:
DifferenceView

public class SimpleDifferenceView
extends Object
implements DifferenceView


构造方法摘要
SimpleDifferenceView()
           
 
方法摘要
 String createView(Difference difference)
          Creates a string representation of the given difference tree.
protected  String formatOnOneLine(String expectedStr, String actualStr)
           
protected  String formatOnTwoLines(String expectedStr, String actualStr)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

SimpleDifferenceView

public SimpleDifferenceView()
方法详细信息

createView

public String createView(Difference difference)
Creates a string representation of the given difference tree.

指定者:
接口 DifferenceView 中的 createView
参数:
difference - The root difference, not null
返回:
The string representation, not null

formatOnOneLine

protected String formatOnOneLine(String expectedStr,
                                 String actualStr)

formatOnTwoLines

protected String formatOnTwoLines(String expectedStr,
                                  String actualStr)


Copyright © 2013. All rights reserved.