Package org.apache.james.test.mock.avalon

Examples of org.apache.james.test.mock.avalon.MockContext


        james.enableLogging(mockLogger);
        try {
            JamesTestConfiguration conf = new JamesTestConfiguration();
            conf.init();
            james.configure(conf);
            james.contextualize(new MockContext(File.createTempFile("james_test", "tmp")));
            james.initialize();
        } catch (Exception e) {
            e.printStackTrace();
            fail("James.initialize() failed");
        }
View Full Code Here


        james.enableLogging(mockLogger);
        try {
            JamesTestConfiguration conf = new JamesTestConfiguration();
            conf.init();
            james.configure(conf);
            james.contextualize(new MockContext(File.createTempFile("james_test", "tmp")));
            james.initialize();
        } catch (Exception e) {
            e.printStackTrace();
            fail("James.initialize() failed");
        }
View Full Code Here

TOP

Related Classes of org.apache.james.test.mock.avalon.MockContext

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.