net.thucydides.core.hamcrest
Class XMLIsSimilarMatcher

Package class diagram package XMLIsSimilarMatcher
java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<String>
          extended by net.thucydides.core.hamcrest.XMLIsSimilarMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<String>, org.hamcrest.SelfDescribing

public class XMLIsSimilarMatcher
extends org.hamcrest.TypeSafeMatcher<String>

Compare XML structures.


Constructor Summary
XMLIsSimilarMatcher(String xmlDocument)
           
 
Method Summary
 void describeTo(org.hamcrest.Description description)
           
 boolean matchesSafely(String expectedXML)
           
 
Methods inherited from class org.hamcrest.TypeSafeMatcher
matches
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLIsSimilarMatcher

public XMLIsSimilarMatcher(String xmlDocument)
Method Detail

matchesSafely

public boolean matchesSafely(String expectedXML)
Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<String>

describeTo

public void describeTo(org.hamcrest.Description description)


Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.