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

com.technophobia.substeps.runner.description.JunitLegacyDescriptionBuilder Maven / Gradle / Ivy

There is a newer version: 1.1.8
Show newest version
package com.technophobia.substeps.runner.description;

import com.technophobia.substeps.execution.node.IExecutionNode;
import java.lang.annotation.Annotation;
import java.lang.reflect.Array;

public class JunitLegacyDescriptionBuilder extends AbstractReflectiveDescriptionBuilder {

    protected Class[] constructorParameterTypes() {
        return new Class[] { String.class, Array.newInstance(Annotation.class, 0).getClass() };
    }

    protected Object[] constructorArguments(IExecutionNode node, DescriptorStatus status) {
        return new Object[]{ getDescriptionForNode(node, status), new Annotation[0] };
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy