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

fitlibrary.specify.CalculateFixtureSetUp Maven / Gradle / Ivy

Go to download

FitLibrary provides general-purpose fixtures (and runners) for storytests with Fit and FitNesse.

The newest version!
/*
 * Copyright (c) 2006 Rick Mugridge, www.RimuResearch.com
 * Released under the terms of the GNU General Public License version 2 or later.
*/
package fitlibrary.specify;

import fitlibrary.CalculateFixture;

public class CalculateFixtureSetUp extends CalculateFixture {
    private boolean isSetUp = false;
    
    @Override
	public void setUp() {
        isSetUp = true;
    }
    public int resultA(int a) { 
        if (isSetUp)
            return a+1;
        return 0;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy