All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.anarsoft.vmlens.concurrent.junit.internal.InvokeListOfMethods Maven / Gradle / Ivy

The newest version!
package com.anarsoft.vmlens.concurrent.junit.internal;

import java.util.List;

import org.junit.runners.model.FrameworkMethod;
import org.junit.runners.model.Statement;

public class InvokeListOfMethods extends Statement {
   

    private final Object target;

    private final List befores;

    public InvokeListOfMethods( List befores, Object target) {
        this.befores = befores;
        this.target = target;
    }

    @Override
    public void evaluate() throws Throwable {
        for (FrameworkMethod before : befores) {
            before.invokeExplosively(target);
        }
      
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy