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

sft.Fixture Maven / Gradle / Ivy

/*******************************************************************************
 * Copyright (c) 2013 Sylvain Lézier.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Sylvain Lézier - initial implementation
 *******************************************************************************/
package sft;

import sft.javalang.JavaToHumanTranslator;

import java.lang.reflect.Method;
import java.util.ArrayList;

public class Fixture {

    public final Method method;
    private final JavaToHumanTranslator javaToHumanTranslator = new JavaToHumanTranslator();
    public ArrayList parametersName = new ArrayList();

    public Fixture(Method method) {
        this.method = method;
    }

    public String getText() {
        return javaToHumanTranslator.humanize(method);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy