cz.cuni.amis.tests
Class ActivityLog

Package class diagram package ActivityLog
java.lang.Object
  extended by cz.cuni.amis.tests.ActivityLog

public class ActivityLog
extends Object

Activity logs serves to check "strings" which represents the behavior of some component.

You may use expectExactOrder(String...) and expectAnyOrder(String...) to initialize the object and activity(String...) to report the activity.

Author:
Jimmy

Constructor Summary
ActivityLog(Logger log)
           
 
Method Summary
 void activity(String... activity)
           
 boolean activityNoException(String... activity)
           
 void checkNoMoreActivityExpected()
           
 ActivityLog expectAnyOrder(String... activities)
           
 ActivityLog expectExactOrder(String... activities)
           
 boolean isEmpty()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivityLog

public ActivityLog(Logger log)
Method Detail

expectAnyOrder

public ActivityLog expectAnyOrder(String... activities)

expectExactOrder

public ActivityLog expectExactOrder(String... activities)

activity

public void activity(String... activity)

activityNoException

public boolean activityNoException(String... activity)

isEmpty

public boolean isEmpty()

toString

public String toString()
Overrides:
toString in class Object

checkNoMoreActivityExpected

public void checkNoMoreActivityExpected()


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.