@Before public void setUp() { assumeTrue(ShouldRun.X); StringMap stringMap = new SimpleStringMap(null); Registry.put(StringMap.class, stringMap); Registry.put(TaggedStringSources.class, new StringMapAsTaggedStringSources(stringMap)); Registry.put(ItemListPageFactoryFactory.class, new XItemListPageFactoryFactory()); Registry.put(XDeviceInfo.class, new FakeDeviceInfo()); Registry.put(IFormFactory.class, new FakeFormFactory()); Registry.put(ILogManager.class, new FakeLogManager()); Registry.put(XLogWriter.class, new XLogWriter()); Registry.put(XSearchableList.Factory.class, new FakeSearchableListFactory()); testObject = RootPageFactory.of(); }
private static ILog getLog() { return Registry.get(ILogManager.class).getLog(XJSON.class); }
XReflection reflection() { return Registry.get(XReflection.class); }
private static ILog getLog() { return Registry.get(ILogManager.class).getLog(C1UIRenderer.class); }