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

io.toast.tk.runtime.result.IntegerResultHandler Maven / Gradle / Ivy

Go to download

Toast Toolkit Runtime Module contains covers: - Test Source Adapters - Test Parsing - Test Execution - Test Report generation

The newest version!
package io.toast.tk.runtime.result;

import io.toast.tk.dao.core.report.SuccessResult;
import io.toast.tk.dao.domain.api.test.ITestResult;
import io.toast.tk.runtime.IActionItemRepository;

public class IntegerResultHandler extends AbstractResultHandler {

    public IntegerResultHandler(IActionItemRepository objectRepository) {
        super(objectRepository);
    }
    
	@Override
	protected ITestResult buildResult(Integer value, String expected) {
		ITestResult result = new SuccessResult(value.toString());
	    return result;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy