Skip to content

Commit

Permalink
BAEL-809: Moved mockito-kotlin to existing mockito module (eugenp#2191)
Browse files Browse the repository at this point in the history
* BAEL-809: Add Kotlin Mockito supporting code

* BAEL-809: Add references to kotlin-mockito library

* BAEL-809: Move kotlin-mockito to existing kotlin module

Some unused java classes that were in the kotlin-mockito
module were simply deleted instead of moved to the mockito
module.
  • Loading branch information
felipe-gdr authored and maibin committed Jul 2, 2017
1 parent 37360b9 commit 6e99424
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 205 deletions.
8 changes: 0 additions & 8 deletions kotlin-mockito/README.md

This file was deleted.

121 changes: 0 additions & 121 deletions kotlin-mockito/pom.xml

This file was deleted.

24 changes: 0 additions & 24 deletions kotlin-mockito/src/main/java/com/baeldung/java/ArrayExample.java

This file was deleted.

24 changes: 0 additions & 24 deletions kotlin-mockito/src/main/java/com/baeldung/java/Customer.java

This file was deleted.

This file was deleted.

This file was deleted.

11 changes: 7 additions & 4 deletions kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.baeldung</groupId>
<artifactId>kotlin</artifactId>
<version>1.0-SNAPSHOT</version>

Expand All @@ -13,15 +12,13 @@
<version>1.0.0-SNAPSHOT</version>
</parent>


<repositories>
<repository>
<id>central</id>
<url>http://jcenter.bintray.com</url>
</repository>
</repositories>


<dependencies>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
Expand All @@ -45,9 +42,14 @@
<artifactId>kotlinx-coroutines-core</artifactId>
<version>${kotlinx.version}</version>
</dependency>
<dependency>
<groupId>com.nhaarman</groupId>
<artifactId>mockito-kotlin</artifactId>
<version>${mockito-kotlin.version}</version>
<scope>test</scope>
</dependency>
</dependencies>


<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -123,6 +125,7 @@
<kotlin-stdlib.version>1.1.2</kotlin-stdlib.version>
<kotlin-reflect.version>1.1.2</kotlin-reflect.version>
<kotlinx.version>0.15</kotlinx.version>
<mockito-kotlin.version>1.5.0</mockito-kotlin.version>
</properties>

</project>

0 comments on commit 6e99424

Please sign in to comment.