Browse Source

DATAMONGO-2206 - Polishing.

Reformat code. Convert spaces to tabs. Use mockk version property to define mockk version. Author tags.

Original pull request: #646.
pull/666/head
Mark Paluch 7 years ago
parent
commit
f20a0f20c9
  1. 4
      spring-data-mongodb/pom.xml
  2. 1
      spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ExecutableMapReduceOperationExtensionsTests.kt
  3. 1
      spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ExecutableUpdateOperationExtensionsTests.kt
  4. 2
      spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/MongoOperationsExtensionsTests.kt
  5. 1
      spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ReactiveAggregationOperationExtensionsTests.kt
  6. 1
      spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ReactiveFindOperationExtensionsTests.kt
  7. 1
      spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ReactiveInsertOperationExtensionsTests.kt
  8. 1
      spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ReactiveMapReduceOperationExtensionsTests.kt
  9. 1
      spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ReactiveRemoveOperationExtensionsTests.kt
  10. 1
      spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ReactiveUpdateOperationExtensionsTests.kt

4
spring-data-mongodb/pom.xml

@ -279,12 +279,12 @@ @@ -279,12 +279,12 @@
<version>${kotlin}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.mockk</groupId>
<artifactId>mockk</artifactId>
<version>1.9.1</version>
<version>${mockk}</version>
<scope>test</scope>
</dependency>
</dependencies>

1
spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ExecutableMapReduceOperationExtensionsTests.kt

@ -22,6 +22,7 @@ import org.junit.Test @@ -22,6 +22,7 @@ import org.junit.Test
/**
* @author Christoph Strobl
* @author Sebastien Deleuze
*/
class ExecutableMapReduceOperationExtensionsTests {

1
spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ExecutableUpdateOperationExtensionsTests.kt

@ -24,6 +24,7 @@ import org.junit.Test @@ -24,6 +24,7 @@ import org.junit.Test
* Unit tests for `ExecutableUpdateOperationExtensions.kt`.
*
* @author Christoph Strobl
* @author Sebastien Deleuze
*/
class ExecutableUpdateOperationExtensionsTests {

2
spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/MongoOperationsExtensionsTests.kt

@ -147,7 +147,7 @@ class MongoOperationsExtensionsTests { @@ -147,7 +147,7 @@ class MongoOperationsExtensionsTests {
fun `indexOps() with reified type parameter extension should call its Java counterpart`() {
operations.indexOps<First>()
verify { operations .indexOps(First::class.java) }
verify { operations.indexOps(First::class.java) }
}
@Test // DATAMONGO-1689

1
spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ReactiveAggregationOperationExtensionsTests.kt

@ -22,6 +22,7 @@ import org.junit.Test @@ -22,6 +22,7 @@ import org.junit.Test
/**
* @author Mark Paluch
* @author Sebastien Deleuze
*/
class ReactiveAggregationOperationExtensionsTests {

1
spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ReactiveFindOperationExtensionsTests.kt

@ -22,6 +22,7 @@ import org.junit.Test @@ -22,6 +22,7 @@ import org.junit.Test
/**
* @author Mark Paluch
* @author Sebastien Deleuze
*/
class ReactiveFindOperationExtensionsTests {

1
spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ReactiveInsertOperationExtensionsTests.kt

@ -22,6 +22,7 @@ import org.junit.Test @@ -22,6 +22,7 @@ import org.junit.Test
/**
* @author Mark Paluch
* @author Sebastien Deleuze
*/
class ReactiveInsertOperationExtensionsTests {

1
spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ReactiveMapReduceOperationExtensionsTests.kt

@ -22,6 +22,7 @@ import org.junit.Test @@ -22,6 +22,7 @@ import org.junit.Test
/**
* @author Christoph Strobl
* @author Sebastien Deleuze
*/
class ReactiveMapReduceOperationExtensionsTests {

1
spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ReactiveRemoveOperationExtensionsTests.kt

@ -22,6 +22,7 @@ import org.junit.Test @@ -22,6 +22,7 @@ import org.junit.Test
/**
* @author Mark Paluch
* @author Sebastien Deleuze
*/
class ReactiveRemoveOperationExtensionsTests {

1
spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ReactiveUpdateOperationExtensionsTests.kt

@ -24,6 +24,7 @@ import org.junit.Test @@ -24,6 +24,7 @@ import org.junit.Test
* Unit tests for `ReactiveExecutableUpdateOperationExtensions.kt`.
*
* @author Mark Paluch
* @author Sebastien Deleuze
*/
class ReactiveUpdateOperationExtensionsTests {

Loading…
Cancel
Save