Package org.archive.spring

Examples of org.archive.spring.PathSharingContext.validate()


            ac = new PathSharingContext("file:"+config.getAbsolutePath());
        } catch (BeansException be){
            be.printStackTrace(System.err);
        } finally {
            assertNotNull("profile not buildable",ac);
            ac.validate();
            assertEquals("did not get the expected one error",1,ac.getAllErrors().size());
            ac.destroy();
        }
    }
}
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.