55
66package aws.smithy.kotlin.runtime.auth.awssigning.tests
77
8+ import aws.smithy.kotlin.runtime.IgnoreNative
89import aws.smithy.kotlin.runtime.auth.awssigning.*
910import aws.smithy.kotlin.runtime.auth.awssigning.internal.CHUNK_SIZE_BYTES
1011import aws.smithy.kotlin.runtime.http.DeferredHeaders
@@ -171,6 +172,7 @@ abstract class AwsChunkedTestBase(
171172 return length
172173 }
173174
175+ @IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
174176 @Test
175177 fun testReadNegativeOffset (): TestResult = runTest {
176178 val dataLengthBytes = CHUNK_SIZE_BYTES
@@ -184,6 +186,7 @@ abstract class AwsChunkedTestBase(
184186 }
185187 }
186188
189+ @IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
187190 @Test
188191 fun testReadExactBytes (): TestResult = runTest {
189192 val dataLengthBytes = CHUNK_SIZE_BYTES
@@ -217,6 +220,7 @@ abstract class AwsChunkedTestBase(
217220 assertTrue(awsChunked.isClosedForRead())
218221 }
219222
223+ @IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
220224 @Test
221225 fun testReadExcessiveBytes (): TestResult = runTest {
222226 val dataLengthBytes = CHUNK_SIZE_BYTES
@@ -246,6 +250,7 @@ abstract class AwsChunkedTestBase(
246250 assertTrue(awsChunked.isClosedForRead())
247251 }
248252
253+ @IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
249254 @Test
250255 fun testReadFewerBytes (): TestResult = runTest {
251256 val dataLengthBytes = CHUNK_SIZE_BYTES
@@ -272,6 +277,7 @@ abstract class AwsChunkedTestBase(
272277 assertFalse(awsChunked.isClosedForRead())
273278 }
274279
280+ @IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
275281 @Test
276282 fun testReadMultipleFullChunks (): TestResult = runTest {
277283 val numChunks = 5
@@ -319,6 +325,7 @@ abstract class AwsChunkedTestBase(
319325 assertTrue(awsChunked.isClosedForRead())
320326 }
321327
328+ @IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
322329 @Test
323330 fun testReadMultipleChunksLastChunkNotFull (): TestResult = runTest {
324331 val numChunks = 6
@@ -384,6 +391,7 @@ abstract class AwsChunkedTestBase(
384391 assertEquals(0 , chunkSizes.last())
385392 }
386393
394+ @IgnoreNative // FIXME Re-enable after Kotlin/Native implementation
387395 @Test
388396 fun testReadWithTrailingHeaders (): TestResult = runTest {
389397 val dataLengthBytes = CHUNK_SIZE_BYTES
@@ -434,6 +442,7 @@ abstract class AwsChunkedTestBase(
434442 assertEquals(expectedTrailerSignature.decodeToString(), trailerSignature)
435443 }
436444
445+ @IgnoreNative // FIXME Re-enable after Kotlin/Native implementation
437446 @Test
438447 fun testUnsignedChunk (): TestResult = runTest {
439448 val dataLengthBytes = CHUNK_SIZE_BYTES
@@ -465,6 +474,7 @@ abstract class AwsChunkedTestBase(
465474 assertEquals(chunkSizes[1 ], 0 )
466475 }
467476
477+ @IgnoreNative // FIXME Re-enable after Kotlin/Native implementation
468478 @Test
469479 fun testUnsignedChunkWithTrailingHeaders (): TestResult = runTest {
470480 val dataLengthBytes = CHUNK_SIZE_BYTES
0 commit comments