Examples of containsFilename()


Examples of org.apache.maven.scm.ChangeSet.containsFilename()

        assertThat( cs.getAuthor(), is( "various" ) );
        // created/removed/moved but not the file that was in the promoted
        // set...
        assertThat( cs.getComment(), is( "Upstream changes" ) );
        assertThat( cs.getFiles().size(), is( 3 ) );
        assertThat( cs.containsFilename( "created/file" ), is( true ) );
    }

    @Test
    public void testWorkspaceChangelog()
        throws Exception
View Full Code Here

Examples of org.apache.maven.scm.ChangeSet.containsFilename()

        List<ChangeSet> entries = parseTestFile();

        // ensure the filename in the first ChangeSet has correct relative path
        ChangeSet entry = (ChangeSet) entries.get( 1 );

        assertTrue( entry.containsFilename( "./maven/src/File2.java" ));
    }

    public void testLocales()
        throws Exception
    {
View Full Code Here

Examples of org.apache.maven.scm.ChangeSet.containsFilename()

        List<ChangeSet> entries = parseTestFile();

        // ensure the filename in the first ChangeSet has correct relative path
        ChangeSet entry = (ChangeSet) entries.get( 1 );

        assertTrue( entry.containsFilename( "./maven/src/File2.java" ));
    }

    public void testLocales()
        throws Exception
    {
View Full Code Here

Examples of org.apache.maven.scm.ChangeSet.containsFilename()

                    for ( Iterator<ScmFile> j = filesList.iterator(); j.hasNext(); )
                    {
                        ScmFile currentFile = j.next();

                        if ( change.containsFilename( currentFile.getPath() ) )
                        {
                            changes.add( change );

                            break;
                        }
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.