io.toast.tk.runtime.result.IntegerResultHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of toast-tk-runtime Show documentation
Show all versions of toast-tk-runtime Show documentation
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