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 final Class m_instanceClass;
private final T m_instance;
public InstanceInfo(Class cls, T instance) {
m_instanceClass = cls;
m_instance = instance;
}
@Override
public T getInstance() {
return m_instance;
}
@Override
public Class getInstanceClass() {
return m_instanceClass;
}
}