Added comments

This commit is contained in:
Alfonso Lentini 2018-10-23 23:40:46 +02:00
parent e3b1152c5e
commit a828ae2137
2 changed files with 5 additions and 2 deletions

View File

@ -24,6 +24,7 @@ internal class SliceTest {
assertIterableEquals(expected, actual) assertIterableEquals(expected, actual)
} }
// From the 1.3 version of Kotlin APIs, slice doesn't return array of nulls but throw IndexOutOfBoundsException
// @Test // @Test
// fun whenSlicingBeyondTheRangeOfTheArray_thenContainManyNulls() { // fun whenSlicingBeyondTheRangeOfTheArray_thenContainManyNulls() {
// val original = arrayOf(12, 3, 34, 4) // val original = arrayOf(12, 3, 34, 4)

View File

@ -222,6 +222,8 @@ internal class FuelHttpUnitTest {
} }
// The new 1.3 coroutine APIs, aren't implemented yet in Fuel Library
// @Test // @Test
// fun whenMakeGETRequestUsingCoroutines_thenResponseStatusCode200() = runBlocking { // fun whenMakeGETRequestUsingCoroutines_thenResponseStatusCode200() = runBlocking {
// val (request, response, result) = Fuel.get("http://httpbin.org/get").awaitStringResponse() // val (request, response, result) = Fuel.get("http://httpbin.org/get").awaitStringResponse()
@ -231,8 +233,8 @@ internal class FuelHttpUnitTest {
// //
// }, { error -> }) // }, { error -> })
// } // }
//
// // The new 1.3 coroutine APIs, aren't implemented yet in Fuel Library
// @Test // @Test
// fun whenMakeGETRequestUsingCoroutines_thenDeserializeResponse() = runBlocking { // fun whenMakeGETRequestUsingCoroutines_thenDeserializeResponse() = runBlocking {
// Fuel.get("https://jsonplaceholder.typicode.com/posts?id=1").awaitObjectResult(Post.Deserializer()) // Fuel.get("https://jsonplaceholder.typicode.com/posts?id=1").awaitObjectResult(Post.Deserializer())