org.testng.internal.InstanceInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testng Show documentation
Show all versions of testng Show documentation
Testing framework for Java
package org.testng.internal;
import org.testng.IInstanceInfo;
public class InstanceInfo implements IInstanceInfo {
private Class m_instanceClass = null;
private Object m_instance = null;
public InstanceInfo(Class cls, Object instance) {
m_instanceClass = cls;
m_instance = instance;
}
@Override
public Object getInstance() {
return m_instance;
}
@Override
public Class getInstanceClass() {
return m_instanceClass;
}
}