fitnesse.slim.test.AnotherEnumEditor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitnesse Show documentation
Show all versions of fitnesse Show documentation
The fully integrated standalone wiki, and acceptance testing framework.
package fitnesse.slim.test;
import java.beans.PropertyEditorSupport;
public class AnotherEnumEditor extends PropertyEditorSupport {
@Override
public void setAsText(String value) {
setValue("enum property editor called with \"" + value + "\"");
}
@Override
public String getAsText() {
String value = (String) getValue();
return value;
}
}