Package com.gentics.cr

Examples of com.gentics.cr.HSQLTestHandler


  @BeforeClass
  public static void setUp() throws CRException {
    CRConfigUtil config = HSQLTestConfigFactory.getDefaultHSQLConfiguration(RESTBinaryContainerTest.class.getName());
    config.set("rp.1.rpClass", "com.gentics.cr.CRRequestProcessor");
    container = new RESTBinaryContainer(config);
    testHandler = new HSQLTestHandler(config.getRequestProcessorConfig(1));
   
    CRResolvableBean testBean = new CRResolvableBean();
    testBean.setObj_type("10008");
   
    byte[] file = testHandler.getFileAsByteArray("picture.png");
View Full Code Here

TOP

Related Classes of com.gentics.cr.HSQLTestHandler

Copyright © 2018 www.massapicom. 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.