Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbye committed Apr 5, 2019
2 parents 8e98d57 + 50c9893 commit 89b0980
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 28 deletions.
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,18 @@

# Maven
```xml
<dependency>
<groupId>org.jmock</groupId>
<artifactId>jmock-imposters</artifactId>
<version>2.10.0-RC3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jmock</groupId>
<artifactId>jmock-junit5</artifactId>
<version>2.10.0-RC3</version>
<version>2.11.0</version>
<scope>test</scope>
</dependency>
```
# Gradle
```
testCompile(
"junit:junit5:2.10.0",
"org.jmock:jmock-imposters:2.10.0-RC3"
"org.jmock:jmock-junit5:2.10.0-RC3"
"junit:junit5:5.3.1",
"org.jmock:jmock-junit5:2.11.0"
)
```
# Recent Changes
Expand Down
6 changes: 3 additions & 3 deletions jmock-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>org.jmock</groupId>
<artifactId>jmock-parent</artifactId>
<version>2.10.0-RC3</version>
<version>2.11.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -47,12 +47,12 @@
<dependency>
<groupId>org.jmock</groupId>
<artifactId>jmock-junit3</artifactId>
<version>2.10.0-RC3</version>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>org.jmock</groupId>
<artifactId>jmock-junit4</artifactId>
<version>2.10.0-RC3</version>
<version>2.11.0</version>
</dependency>
</dependencies>

Expand Down
10 changes: 5 additions & 5 deletions jmock-imposters-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jmock</groupId>
<artifactId>jmock-parent</artifactId>
<version>2.10.0-RC3</version>
<version>2.11.0</version>
</parent>
<artifactId>jmock-imposters-tests</artifactId>

Expand All @@ -15,23 +15,23 @@
<dependency>
<groupId>org.jmock</groupId>
<artifactId>jmock</artifactId>
<version>2.10.0-RC3</version>
<version>2.11.0</version>
<type>test-jar</type>
</dependency>
<dependency>
<groupId>org.jmock</groupId>
<artifactId>jmock-junit4</artifactId>
<version>2.10.0-RC3</version>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>org.jmock</groupId>
<artifactId>jmock-junit5</artifactId>
<version>2.10.0-RC3</version>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>org.jmock</groupId>
<artifactId>jmock-testjar</artifactId>
<version>2.10.0-RC3</version>
<version>2.11.0</version>
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion jmock-imposters/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jmock</groupId>
<artifactId>jmock-parent</artifactId>
<version>2.10.0-RC3</version>
<version>2.11.0</version>
</parent>
<artifactId>jmock-imposters</artifactId>
<description>Class mocks are more numerous than interface mocks, so drop the legacy name</description>
Expand Down
2 changes: 1 addition & 1 deletion jmock-junit3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jmock</groupId>
<artifactId>jmock-parent</artifactId>
<version>2.10.0-RC3</version>
<version>2.11.0</version>
</parent>

<artifactId>jmock-junit3</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jmock-junit4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>org.jmock</groupId>
<artifactId>jmock-parent</artifactId>
<version>2.10.0-RC3</version>
<version>2.11.0</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion jmock-junit5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>org.jmock</groupId>
<artifactId>jmock-parent</artifactId>
<version>2.10.0-RC3</version>
<version>2.11.0</version>
</parent>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ public class JUnit5TestThatDoesSatisfyExpectations {

@RegisterExtension
JUnit5Mockery context = new JUnit5Mockery();

@Mock
private Runnable runnable;

@Test
public void doesSatisfyExpectations() {
context.checking(new Expectations() {{
Expand Down
2 changes: 1 addition & 1 deletion jmock-legacy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>org.jmock</groupId>
<artifactId>jmock-parent</artifactId>
<version>2.10.0-RC3</version>
<version>2.11.0</version>
</parent>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion jmock/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>org.jmock</groupId>
<artifactId>jmock-parent</artifactId>
<version>2.10.0-RC3</version>
<version>2.11.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>org.jmock</groupId>
<artifactId>jmock-parent</artifactId>
<version>2.10.0-RC3</version>
<version>2.11.0</version>
<packaging>pom</packaging>
<name>jMock 2 Parent</name>

Expand Down
2 changes: 1 addition & 1 deletion testjar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>org.jmock</groupId>
<artifactId>jmock-parent</artifactId>
<version>2.10.0-RC3</version>
<version>2.11.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down

0 comments on commit 89b0980

Please sign in to comment.