Package net.flexmojos.oss.plugin.compiler

Examples of net.flexmojos.oss.plugin.compiler.CompcMojo


        throws Exception
    {
        // This problem only occurs on Windows machines, so we can only test for it on them.
        if ( OSUtils.isWindows() )
        {
            CompcMojo m = new CompcMojo()
            {
                @Override
                public IIncludeFile[] getIncludeFile()
                {
                    includeFiles = new SimplifiablePattern();
                    includeFiles.addInclude( "abc\\cba\\test" );
                    return super.getIncludeFile();
                }

                @Override
                protected List<File> getResourcesTargetDirectories()
                {
                    return Arrays.asList( file( "./target/test-classes" ) );
                }
            };

            IIncludeFile[] files = m.getIncludeFile();

            for ( IIncludeFile file : files )
            {
                assertThat( file.name(), not( containsString( "\\" ) ) );
            }
View Full Code Here

TOP

Related Classes of net.flexmojos.oss.plugin.compiler.CompcMojo

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.