Examples of DummyComponentInfo


Examples of org.geomajas.plugin.printing.component.dto.DummyComponentInfo

  @Autowired
  ApplicationContext context;

  @Test
  public void testPrototypeScope() throws PrintingException {
    DummyComponentInfo info = new DummyComponentInfo();
    DummyComponent comp1 = (DummyComponent) service.toInternal(info);
    DummyComponent comp2 = (DummyComponent) service.toInternal(info);
    Assert.assertTrue(comp1 != comp2);
  }
View Full Code Here

Examples of org.geomajas.plugin.printing.component.dto.DummyComponentInfo

    Assert.assertTrue(comp1 != comp2);
  }
 
  @Test
  public void testRuntimeInjection() throws PrintingException {
    DummyComponentInfo info = new DummyComponentInfo();
    DummyComponent comp = (DummyComponent) service.toInternal(info);
    Assert.assertTrue(comp.isInjected());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.