类 org.test4j.hamcrest.matcher.property.difference.UnorderedCollectionDifference
的使用

使用 UnorderedCollectionDifference 的软件包
org.test4j.hamcrest.matcher.property.comparator   
org.test4j.hamcrest.matcher.property.difference   
org.test4j.hamcrest.matcher.property.reflection   
org.test4j.hamcrest.matcher.property.report   
 

org.test4j.hamcrest.matcher.property.comparatorUnorderedCollectionDifference 的使用
 

参数类型为 UnorderedCollectionDifferenceorg.test4j.hamcrest.matcher.property.comparator 中的方法
protected  void IgnoreOrderComparator.fillAllDifferences(ArrayList<Object> leftList, ArrayList<Object> rightList, ReflectionComparator reflectionComparator, UnorderedCollectionDifference difference)
          Calculates the difference of all elements in the left list with all elements of the right list.
protected  void IgnoreOrderComparator.fillBestMatchingIndexes(ArrayList<Object> leftList, ArrayList<Object> rightList, UnorderedCollectionDifference difference)
          Calculates the indexes of the best matching differences for the given unordered collection difference.
protected  void IgnoreOrderComparator.removeMatchingIndexes(ArrayList<Integer> leftIndexes, ArrayList<Integer> rightIndexes, UnorderedCollectionDifference difference)
          Removes all left and right indexes for which there is a match in the given difference object.
protected  void IgnoreOrderComparator.setBestMatchingIndexes(ArrayList<Integer> leftIndexes, ArrayList<Integer> rightIndexes, UnorderedCollectionDifference difference)
          Actual implementation of the best match finding algorithm.
 

org.test4j.hamcrest.matcher.property.differenceUnorderedCollectionDifference 的使用
 

参数类型为 UnorderedCollectionDifferenceorg.test4j.hamcrest.matcher.property.difference 中的方法
 T DifferenceVisitor.visit(UnorderedCollectionDifference unorderedCollectionDifference, A argument)
          Visits an unordered collection difference.
 

org.test4j.hamcrest.matcher.property.reflectionUnorderedCollectionDifference 的使用
 

参数类型为 UnorderedCollectionDifferenceorg.test4j.hamcrest.matcher.property.reflection 中的方法
protected  int MatchingScoreCalculator.getMatchingScore(UnorderedCollectionDifference unorderedCollectionDifference)
          Gets the matching score for an unordered collection difference.
 Integer MatchingScoreCalculator.MatchingScoreVisitor.visit(UnorderedCollectionDifference unorderedCollectionDifference, Integer argument)
           
 Difference InnerDifferenceFinder.InnerDifferenceVisitor.visit(UnorderedCollectionDifference unorderedCollectionDifference, String indexString)
          Returns the best matching difference at the field with the given index.
 

org.test4j.hamcrest.matcher.property.reportUnorderedCollectionDifference 的使用
 

参数类型为 UnorderedCollectionDifferenceorg.test4j.hamcrest.matcher.property.report 中的方法
protected  String TreeDifferenceView.formatDifference(UnorderedCollectionDifference unorderedCollectionDifference, String fieldName)
          Creates a string representation of an unorder collection difference.
protected  String DefaultDifferenceView.formatDifference(UnorderedCollectionDifference unorderedCollectionDifference, String fieldName)
          Creates a string representation of an unordered collection difference.
 String TreeDifferenceView.TreeDifferenceFormatterVisitor.visit(UnorderedCollectionDifference unorderedCollectionDifference, String fieldName)
           
 String DefaultDifferenceView.DifferenceFormatterVisitor.visit(UnorderedCollectionDifference unorderedCollectionDifference, String fieldName)
           
 



Copyright © 2013. All rights reserved.