Skip to content

Commit

Permalink
Fix test and running of jmockit
Browse files Browse the repository at this point in the history
  • Loading branch information
trispad committed Mar 9, 2022
1 parent 2ccf16f commit 3843dd5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
15 changes: 5 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@
</goals>
</execution>
</executions>
<configuration>
<argLine>
-javaagent:"${settings.localRepository}"/org/jmockit/jmockit/1.41/jmockit-1.41.jar
</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -182,16 +187,6 @@
<suppressionsLocation>${project.basedir}/checkstyle-suppressions.xml</suppressionsLocation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
<argLine>
-javaagent:"${settings.localRepository}"/org/jmockit/jmockit/1.41/jmockit-1.41.jar
</argLine>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void shouldSupportListView() {

// Then
assertThat(list)
.containsOption(APP_ID + "/******", foo.getName());
.containsOption(foo.getName(), foo.getName());
}

@Test
Expand Down

0 comments on commit 3843dd5

Please sign in to comment.