com.silverpeas.export.ical
Class CalendarEventMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<String>
          extended by com.silverpeas.export.ical.CalendarEventMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<String>, org.hamcrest.SelfDescribing

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

A matcher of a VEVENT instruction in an iCal calendar with a Silverpeas calendar event.


Method Summary
static org.hamcrest.Matcher<String> describes(CalendarEvent event)
           
 void describeTo(org.hamcrest.Description description)
           
 boolean matchesSafely(String actualICalContent)
           
 
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, 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
 

Method Detail

describes

public static org.hamcrest.Matcher<String> describes(CalendarEvent event)

describeTo

public void describeTo(org.hamcrest.Description description)

matchesSafely

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


Copyright © 2016 Silverpeas. All Rights Reserved.