Package org.apache.maven.plugin.resources.stub

Examples of org.apache.maven.plugin.resources.stub.MavenProjectBasicStub


    public void testGet_escapeBackslashCharacterInPath()
        throws Exception
    {
        // setup data
        MavenProjectBasicStub project = new MavenProjectBasicStub( "escapeBackSlashCharacterInPath" );

        // set dummy value
        project.setDescription( "c:\\\\org\\apache\\test" );

        ReflectionProperties reflectProp = new ReflectionProperties( project, true );

        // project property to be verified
        String reflectPropValue = (String) reflectProp.get( "description" );
View Full Code Here


    public void testGet_dontEscapeBackslashCharacterInPath()
        throws Exception
    {
        // setup data
        MavenProjectBasicStub project = new MavenProjectBasicStub( "dontEscapeBackSlashCharacterInPath" );

        // set dummy value
        project.setDescription( "c:\\\\org\\apache\\test" );

        // project property to be verified
        ReflectionProperties reflectProp = new ReflectionProperties( project, false );

        // project property to be verified
View Full Code Here

TOP

Related Classes of org.apache.maven.plugin.resources.stub.MavenProjectBasicStub

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.