File tree Expand file tree Collapse file tree 12 files changed +21
-28
lines changed
src/test/java/org/jmock/junit5/testdata Expand file tree Collapse file tree 12 files changed +21
-28
lines changed Original file line number Diff line number Diff line change 44
55# Maven
66``` xml
7- <dependency >
8- <groupId >org.jmock</groupId >
9- <artifactId >jmock-imposters</artifactId >
10- <version >2.10.0-RC3</version >
11- <scope >test</scope >
12- </dependency >
137 <dependency >
148 <groupId >org.jmock</groupId >
159 <artifactId >jmock-junit5</artifactId >
16- <version >2.10.0-RC3 </version >
10+ <version >2.11.0 </version >
1711 <scope >test</scope >
1812 </dependency >
1913```
2014# Gradle
2115```
2216testCompile(
23- "junit:junit5:2.10.0",
24- "org.jmock:jmock-imposters:2.10.0-RC3"
25- "org.jmock:jmock-junit5:2.10.0-RC3"
17+ "junit:junit5:5.3.1",
18+ "org.jmock:jmock-junit5:2.11.0"
2619)
2720```
2821# Recent Changes
Original file line number Diff line number Diff line change 1212 <parent >
1313 <groupId >org.jmock</groupId >
1414 <artifactId >jmock-parent</artifactId >
15- <version >2.10.0-RC3 </version >
15+ <version >2.11.0 </version >
1616 <relativePath >../pom.xml</relativePath >
1717 </parent >
1818
4747 <dependency >
4848 <groupId >org.jmock</groupId >
4949 <artifactId >jmock-junit3</artifactId >
50- <version >2.10.0-RC3 </version >
50+ <version >2.11.0 </version >
5151 </dependency >
5252 <dependency >
5353 <groupId >org.jmock</groupId >
5454 <artifactId >jmock-junit4</artifactId >
55- <version >2.10.0-RC3 </version >
55+ <version >2.11.0 </version >
5656 </dependency >
5757 </dependencies >
5858
Original file line number Diff line number Diff line change 66 <parent >
77 <groupId >org.jmock</groupId >
88 <artifactId >jmock-parent</artifactId >
9- <version >2.10.0-RC3 </version >
9+ <version >2.11.0 </version >
1010 </parent >
1111 <artifactId >jmock-imposters-tests</artifactId >
1212
1515 <dependency >
1616 <groupId >org.jmock</groupId >
1717 <artifactId >jmock</artifactId >
18- <version >2.10.0-RC3 </version >
18+ <version >2.11.0 </version >
1919 <type >test-jar</type >
2020 </dependency >
2121 <dependency >
2222 <groupId >org.jmock</groupId >
2323 <artifactId >jmock-junit4</artifactId >
24- <version >2.10.0-RC3 </version >
24+ <version >2.11.0 </version >
2525 </dependency >
2626 <dependency >
2727 <groupId >org.jmock</groupId >
2828 <artifactId >jmock-junit5</artifactId >
29- <version >2.10.0-RC3 </version >
29+ <version >2.11.0 </version >
3030 </dependency >
3131 <dependency >
3232 <groupId >org.jmock</groupId >
3333 <artifactId >jmock-testjar</artifactId >
34- <version >2.10.0-RC3 </version >
34+ <version >2.11.0 </version >
3535 <scope >test</scope >
3636 </dependency >
3737
Original file line number Diff line number Diff line change 66 <parent >
77 <groupId >org.jmock</groupId >
88 <artifactId >jmock-parent</artifactId >
9- <version >2.10.0-RC3 </version >
9+ <version >2.11.0 </version >
1010 </parent >
1111 <artifactId >jmock-imposters</artifactId >
1212 <description >Class mocks are more numerous than interface mocks, so drop the legacy name</description >
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >org.jmock</groupId >
77 <artifactId >jmock-parent</artifactId >
8- <version >2.10.0-RC3 </version >
8+ <version >2.11.0 </version >
99 </parent >
1010
1111 <artifactId >jmock-junit3</artifactId >
Original file line number Diff line number Diff line change 1010 <parent >
1111 <groupId >org.jmock</groupId >
1212 <artifactId >jmock-parent</artifactId >
13- <version >2.10.0-RC3 </version >
13+ <version >2.11.0 </version >
1414 </parent >
1515
1616 <properties >
Original file line number Diff line number Diff line change 99 <parent >
1010 <groupId >org.jmock</groupId >
1111 <artifactId >jmock-parent</artifactId >
12- <version >2.10.0-RC3 </version >
12+ <version >2.11.0 </version >
1313 </parent >
1414
1515 <properties >
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ public class JUnit5TestThatDoesSatisfyExpectations {
1010
1111 @ RegisterExtension
1212 JUnit5Mockery context = new JUnit5Mockery ();
13-
13+
1414 @ Mock
1515 private Runnable runnable ;
16-
16+
1717 @ Test
1818 public void doesSatisfyExpectations () {
1919 context .checking (new Expectations () {{
Original file line number Diff line number Diff line change 1010 <parent >
1111 <groupId >org.jmock</groupId >
1212 <artifactId >jmock-parent</artifactId >
13- <version >2.10.0-RC3 </version >
13+ <version >2.11.0 </version >
1414 </parent >
1515
1616 <properties >
Original file line number Diff line number Diff line change 1010 <parent >
1111 <groupId >org.jmock</groupId >
1212 <artifactId >jmock-parent</artifactId >
13- <version >2.10.0-RC3 </version >
13+ <version >2.11.0 </version >
1414 <relativePath >../pom.xml</relativePath >
1515 </parent >
1616
You can’t perform that action at this time.
0 commit comments