public static LazyXpand factory(String template, Outlet[] outlets, EPackage[] ePackages, HashMap<String, EObject> slots, String encoding) { //TODO remove the logging trick to let xpand work String value = System.getProperty(LogFactoryImpl.LOG_PROPERTY); System.setProperty(LogFactoryImpl.LOG_PROPERTY, "org.apache.commons.logging.impl.NoOpLog"); LazyXpand job = new LazyXpand( slots, ePackages, outlets, template, encoding); //TODO remove the logging trick to let xpand work System.setProperty(LogFactoryImpl.LOG_PROPERTY, value); return job; }
public AbstractTestPage(UiTestBase<D> testBase) { this.testbase = testBase; logger = LogFactoryImpl.getLog(this.getClass()); driver = testbase.getDriver(); this.pageProps = ConfigurationManager.getBundle(); initWebElements(); }
public TestNGTestCase() { logger = LogFactoryImpl.getLog(this.getClass()); }
public AbstractScenarioFileParser() { logger = LogFactoryImpl.getLog(getClass()); gson = new GsonBuilder().registerTypeAdapter(Map.class, new GsonObjectDeserializer()).create(); this.includeGroups = new ArrayList<String>(); this.excludeGroups = new ArrayList<String>(); }
public AssertionService() { logger = LogFactoryImpl.getLog(this.getClass()); checkPointResults = new ArrayList<CheckpointResultBean>(); }
protected void setUp() throws Exception { super.setUp(); originalLogFactoryAttribute = (String) LogFactory.getFactory().getAttribute(LogFactoryImpl.LOG_PROPERTY); LogFactory.getFactory().setAttribute(LogFactoryImpl.LOG_PROPERTY, SimpleLog.class.getName()); }
protected void tearDown() throws Exception { LogFactory.getFactory().setAttribute(LogFactoryImpl.LOG_PROPERTY, originalLogFactoryAttribute); super.tearDown(); }