Ok excellent, we are on the same page and in the meantime I should spend some more time
reading JIRA reports more thoroughly:)
On 2010-01-08, at 4:00 PM, Mircea Markus wrote:
stop right here! :)
this is tricky with TestNG when it comes to inheritance.
BaseTest {
testMethod() {
TestCacheManagersFactory.getCacheManager();
}
}
OtherTest extends BasteTest {
}
when running OtherTest.testMethod, the TestCacheManagersFactory.getCacheManager will
appear as being called from BaseTest rather than the actual class which is OtherTest. This
is why, in JBC , we pass the actual .class as a parameter to
TestCacheManagersFactory.getCacheManager