Home
last modified time | relevance | path

Searched refs:LoggingObjectFactory (Results 1 – 4 of 4) sorted by relevance

/external/testng/src/test/java/test/objectfactory/
DCustomFactoryTest.java20 tng.setObjectFactory(LoggingObjectFactory.class); in setFactoryOnTestNG()
22 assert LoggingObjectFactory.invoked == 1 : "Logging factory invoked " in setFactoryOnTestNG()
23 + LoggingObjectFactory.invoked + " times"; in setFactoryOnTestNG()
28 LoggingObjectFactory.invoked = 0; in resetCount()
34 suite.setObjectFactory(new LoggingObjectFactory()); in setFactoryOnSuite()
37 assert LoggingObjectFactory.invoked == 1 : "Logging factory invoked " in setFactoryOnSuite()
38 + LoggingObjectFactory.invoked + " times"; in setFactoryOnSuite()
48 assert LoggingObjectFactory.invoked == 1 : "Logging factory invoked " in setFactoryByAnnotation()
49 + LoggingObjectFactory.invoked + " times"; in setFactoryByAnnotation()
DBadMethodFactoryFactory.java14 return new LoggingObjectFactory(); in create()
DMyFactoryFactory.java15 return new LoggingObjectFactory(); in create()
DLoggingObjectFactory.java12 public class LoggingObjectFactory extends ObjectFactoryImpl class