blob: 6ad2e0c0939540dc2584e1ba7765ce1b2e2b0e11 [file] [log] [blame]
package test.factory;
import org.testng.annotations.Test;
public class BaseFactory {
private int m_n;
public BaseFactory(int n) {
m_n = n;
}
public int getN() {
return m_n;
}
@Test
public void f() {
}
/**
* @@@ for some reason, the test results get added in the wrong order if
* I don't define a toString() method. Need to investigate.
*/
@Override
public String toString() {
return "[" + getClass().getName() + " " + getN() + "]";
}
}