Skip to content

Commit

Permalink
Tests update.
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeny-goldin committed Jan 2, 2013
1 parent 6be935c commit dbf6b88
Show file tree
Hide file tree
Showing 4 changed files with 127 additions and 123 deletions.
22 changes: 11 additions & 11 deletions about-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
<goal>create-about</goal>
</goals>
<configuration>
<fileName>${project.build.outputDirectory}/1/2/3/4/5/6/7.txt</fileName>
<fileName>${outputDirectory}/1/2/3/4/5/6/7.txt</fileName>
<updateArchives>false</updateArchives>
<dumpDependencies>true</dumpDependencies>
<dumpEnv>true</dumpEnv>
Expand Down Expand Up @@ -287,10 +287,10 @@
${outputDirectory}/unpack/About/fff.txt
${outputDirectory}/unpack/about-root.txt

${project.build.outputDirectory}/about-standalone-1.txt
${outputDirectory}/about-standalone-1.txt
${project.build.directory}/about-standalone-2.txt

${project.build.outputDirectory}/1/2/3/4/5/6/7.txt
${outputDirectory}/1/2/3/4/5/6/7.txt
</assertFiles>
<assertGroovy>

Expand All @@ -302,16 +302,16 @@
new File( outputDirectory, 'unpack/META-INF/about-content-groovy.txt' ).text.contains( ' [Sum] : [156]' )
new File( outputDirectory, 'unpack/META-INF/about-content-groovy.txt' ).text.contains( ' [Ver] : [' + mavenVersion + ']' )

new File( project.build.outputDirectory, 'about-standalone-1.txt' ).text.contains( ' [outputDirectory]' )
new File( outputDirectory, 'about-standalone-1.txt' ).text.contains( ' [outputDirectory]' )
new File( project.build.directory, 'about-standalone-2.txt' ).text.contains( ' [MavenProject: ${project.groupId}:${project.artifactId}:${project.version}' )

new File( project.build.outputDirectory, '1/2/3/4/5/6/7.txt' ).text.contains( '+- com.github.goldin:jenkins-maven-plugin:jar:${plugins-version}:compile' )
new File( project.build.outputDirectory, '1/2/3/4/5/6/7.txt' ).text.contains( '| +- org.apache.maven:maven-core:jar:${maven-version}:compile' )
new File( project.build.outputDirectory, '1/2/3/4/5/6/7.txt' ).text.contains( 'Maven Properties' )
new File( project.build.outputDirectory, '1/2/3/4/5/6/7.txt' ).text.contains( '[${groovy-version}]' )
new File( project.build.outputDirectory, '1/2/3/4/5/6/7.txt' ).text.contains( '[' + groovyVersion + ']' )
new File( project.build.outputDirectory, '1/2/3/4/5/6/7.txt' ).text.contains( '[${spring-version}]' )
new File( project.build.outputDirectory, '1/2/3/4/5/6/7.txt' ).text.contains( '[' + springVersion + ']' )
new File( outputDirectory, '1/2/3/4/5/6/7.txt' ).text.contains( '+- com.github.goldin:jenkins-maven-plugin:jar:${plugins-version}:compile' )
new File( outputDirectory, '1/2/3/4/5/6/7.txt' ).text.contains( '| +- org.apache.maven:maven-core:jar:${maven-version}:compile' )
new File( outputDirectory, '1/2/3/4/5/6/7.txt' ).text.contains( 'Maven Properties' )
new File( outputDirectory, '1/2/3/4/5/6/7.txt' ).text.contains( '[${groovy-version}]' )
new File( outputDirectory, '1/2/3/4/5/6/7.txt' ).text.contains( '[' + groovyVersion + ']' )
new File( outputDirectory, '1/2/3/4/5/6/7.txt' ).text.contains( '[${spring-version}]' )
new File( outputDirectory, '1/2/3/4/5/6/7.txt' ).text.contains( '[' + springVersion + ']' )

new File( outputDirectory, 'unpack/About/fff.txt' ).text.contains( '[plugins-version]' )
new File( outputDirectory, 'unpack/About/fff.txt' ).text.contains( '[java.vm.version]' )
Expand Down
Loading

0 comments on commit dbf6b88

Please sign in to comment.