Skip to content

Commit d753061

Browse files
Fix minitest plugin tests
1 parent bfc6908 commit d753061

File tree

7 files changed

+19
-68
lines changed

7 files changed

+19
-68
lines changed

minitest-maven-plugin/src/it/minispec-with-jar-dependencies/verify.bsh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,7 @@ if ( !log.contains( expected ) )
99
throw new RuntimeException( "log file does not contain '" + expected + "'" );
1010
}
1111

12-
File f = new File( new File( new File( basedir, "target" ), "surefire-reports" ), "TEST-minispec-9.0.1.0.xml" );
13-
if ( !f.exists() )
14-
{
15-
throw new RuntimeException( "file does not exist: " + f );
16-
}
17-
18-
f = new File( new File( new File( basedir, "target" ), "surefire-reports" ), "TEST-minispec-1.7.22--1.9.xml" );
12+
File f = new File( new File( new File( basedir, "target" ), "surefire-reports" ), "TEST-minispec.xml" );
1913
if ( !f.exists() )
2014
{
2115
throw new RuntimeException( "file does not exist: " + f );

minitest-maven-plugin/src/it/minitest-failure-19/invoker.properties

Lines changed: 0 additions & 3 deletions
This file was deleted.

minitest-maven-plugin/src/it/minitest-failure-19/pom.xml

Lines changed: 0 additions & 34 deletions
This file was deleted.

minitest-maven-plugin/src/it/minitest-failure-19/test.properties

Lines changed: 0 additions & 1 deletion
This file was deleted.

minitest-maven-plugin/src/it/minitest-failure-19/test/simple_test.rb

Lines changed: 0 additions & 7 deletions
This file was deleted.

minitest-maven-plugin/src/it/minitest-failure-19/verify.bsh

Lines changed: 0 additions & 15 deletions
This file was deleted.

minitest-maven-plugin/src/it/minitest-from-jruby/pom.xml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,24 @@
44
<groupId>de.saumya.mojo</groupId>
55
<artifactId>minitest-from-jruby</artifactId>
66
<version>testing</version>
7-
7+
8+
<repositories>
9+
<repository>
10+
<id>rubygems-releases</id>
11+
<url>http://rubygems-proxy.torquebox.org/releases</url>
12+
</repository>
13+
</repositories>
14+
15+
<dependencies>
16+
<dependency>
17+
<groupId>rubygems</groupId>
18+
<artifactId>minitest</artifactId>
19+
<version>5.14.4</version>
20+
<type>gem</type>
21+
<scope>test</scope>
22+
</dependency>
23+
</dependencies>
24+
825
<build>
926
<plugins>
1027
<plugin>

0 commit comments

Comments
 (0)