mirror of
https://github.com/fankes/moshi.git
synced 2025-10-20 08:29:22 +08:00
Merge pull request #374 from square/eric.cleanup_33
Update to Kotlin 1.1.51.
This commit is contained in:
@@ -17,7 +17,6 @@ package com.squareup.moshi
|
|||||||
|
|
||||||
import org.assertj.core.api.Assertions.assertThat
|
import org.assertj.core.api.Assertions.assertThat
|
||||||
import org.junit.Assert.fail
|
import org.junit.Assert.fail
|
||||||
import org.junit.Ignore
|
|
||||||
import org.junit.Test
|
import org.junit.Test
|
||||||
import java.io.ByteArrayOutputStream
|
import java.io.ByteArrayOutputStream
|
||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
@@ -577,11 +576,6 @@ class KotlinJsonAdapterTest {
|
|||||||
var v26: Int, var v27: Int, var v28: Int, var v29: Int, var v30: Int,
|
var v26: Int, var v27: Int, var v28: Int, var v29: Int, var v30: Int,
|
||||||
var v31: Int, var v32: Int)
|
var v31: Int, var v32: Int)
|
||||||
|
|
||||||
/**
|
|
||||||
* Kotlin reflect can't target constructors with more than 32 parameters.
|
|
||||||
* https://github.com/square/moshi/issues/323
|
|
||||||
*/
|
|
||||||
@Ignore
|
|
||||||
@Test fun manyProperties33() {
|
@Test fun manyProperties33() {
|
||||||
val moshi = Moshi.Builder().add(KotlinJsonAdapterFactory()).build()
|
val moshi = Moshi.Builder().add(KotlinJsonAdapterFactory()).build()
|
||||||
val jsonAdapter = moshi.adapter(ManyProperties33::class.java)
|
val jsonAdapter = moshi.adapter(ManyProperties33::class.java)
|
||||||
|
2
pom.xml
2
pom.xml
@@ -27,7 +27,7 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<java.version>1.7</java.version>
|
<java.version>1.7</java.version>
|
||||||
<kotlin.version>1.1.1</kotlin.version>
|
<kotlin.version>1.1.51</kotlin.version>
|
||||||
|
|
||||||
<!-- Dependencies -->
|
<!-- Dependencies -->
|
||||||
<okio.version>1.13.0</okio.version>
|
<okio.version>1.13.0</okio.version>
|
||||||
|
Reference in New Issue
Block a user