com.google.testing.threadtester
Interface CallLogger


public interface CallLogger

An instance of a CallLogger is provided for every instance of an instrumented class under test. The bytecode of the instrumented class is modified to invoke the CallLogger during execution of its own methods. E.g. whenever a call is made to a method in the instrumented class, the start(Method) method is invoked on the CallLogger. This allows execution of the instrumented class to be controlled. The methods in this class should only be invoked as described above, and should not be invoked by normal test code.

Author:
alasdair.mackintosh@gmail.com (Alasdair Mackintosh)

Method Summary
 void atLine(int line)
           
 void beginCall(Method source, int line, Method target)
           
 void end(Method method)
           
 void endCall(Method source, int line, Method target)
           
 void start(Method method)
           
 

Method Detail

start

void start(Method method)

end

void end(Method method)

beginCall

void beginCall(Method source,
               int line,
               Method target)

endCall

void endCall(Method source,
             int line,
             Method target)

atLine

void atLine(int line)


Copyright © 2013. All Rights Reserved.