Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.googlecode.junittoolbox;

Abstract base class to encapsulate assertions, see PollingWait for usage example.
 
 public abstract class RunnableAssert {
 
     private final String description;
    protected RunnableAssert(String description) {
        this. = description;
    }

    
This method might be executed multiple times by PollingWait.until(com.googlecode.junittoolbox.RunnableAssert), if it throws any {link Error} or java.lang.Exception.
    public abstract void run() throws Exception;
    @Override
    public String toString() {
        return "RunnableAssert(" +  + ")";
    }
New to GrepCode? Check out our FAQ X