public void assertCurrentActivity ( String message , String name , boolean isNewInstance ) { if ( config . commandLogging ) { Log . d ( config . commandLoggingTag , "assertCurrentActivity(" + message + ", " + name + ", " + isNewInstance + ")" ) ; } asserter . assertCurrentActivity ( message , name , isNewInstance ) ; }
Asserts that the Activity matching the specified name is active with the possibility to verify that the expected Activity is a new instance of the Activity .