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

arjuna.tpi.value.Value Maven / Gradle / Ivy

Go to download

Arjuna-Java is the client implementation in Java for development of test automation using Arjuna. It uses TestNG as the test engine. With minor tweaks, it can be used with any other test engine or custom test automation implementations. Arjuna is a Python based test automation framework developed by Rahul Verma (www.rahulverma.net)

The newest version!
package arjuna.tpi.value;

import java.util.List;

public interface Value{

	Object object();

	boolean isNotSet();
	
	boolean isNull();
	
	boolean isNA();

	boolean asBoolean() throws Exception;

	Number asNumber() throws Exception;

	int asInt() throws Exception;

	long asLong() throws Exception;

	double asDouble() throws Exception;

	String asString() throws Exception;

	> T asEnum(Class enumClass) throws Exception;

	> List asEnumList(Class klass) throws Exception;

	List asNumberList() throws Exception;

	List asIntList() throws Exception;

	List asStringList() throws Exception;

	float asFloat() throws Exception;

	List splitToStringList() throws Exception;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy