|
| 1 | +#if !canImport(ObjectiveC) |
| 2 | +import XCTest |
| 3 | + |
| 4 | +extension CBORDecoderTests { |
| 5 | + // DO NOT MODIFY: This is autogenerated, use: |
| 6 | + // `swift test --generate-linuxmain` |
| 7 | + // to regenerate. |
| 8 | + static let __allTests__CBORDecoderTests = [ |
| 9 | + ("testAppendixAComplexExamples1", testAppendixAComplexExamples1), |
| 10 | + ("testAppendixAComplexExamples10", testAppendixAComplexExamples10), |
| 11 | + ("testAppendixAComplexExamples2", testAppendixAComplexExamples2), |
| 12 | + ("testAppendixAComplexExamples3", testAppendixAComplexExamples3), |
| 13 | + ("testAppendixAComplexExamples4", testAppendixAComplexExamples4), |
| 14 | + ("testAppendixAComplexExamples5", testAppendixAComplexExamples5), |
| 15 | + ("testAppendixAComplexExamples6", testAppendixAComplexExamples6), |
| 16 | + ("testAppendixAComplexExamples7", testAppendixAComplexExamples7), |
| 17 | + ("testAppendixAComplexExamples8", testAppendixAComplexExamples8), |
| 18 | + ("testAppendixAComplexExamples9", testAppendixAComplexExamples9), |
| 19 | + ("testAppendixASimpleExamples", testAppendixASimpleExamples), |
| 20 | + ("testDecodeDecimalFractionsAndBigfloats", testDecodeDecimalFractionsAndBigfloats), |
| 21 | + ("testDecodeIntKeyedValues", testDecodeIntKeyedValues), |
| 22 | + ("testDecodeKeyedValuesFailureCases", testDecodeKeyedValuesFailureCases), |
| 23 | + ("testDecodeNestedUnkeyedContainers", testDecodeNestedUnkeyedContainers), |
| 24 | + ("testDecoderUserInfo", testDecoderUserInfo), |
| 25 | + ("testDecodeSingleValueFailureCases", testDecodeSingleValueFailureCases), |
| 26 | + ("testDecodeSingleValues", testDecodeSingleValues), |
| 27 | + ("testDecodeStringKeyedValues", testDecodeStringKeyedValues), |
| 28 | + ("testDecodeUnkeyedValues", testDecodeUnkeyedValues), |
| 29 | + ("testDecodeUnkeyedValuesFailureCases1", testDecodeUnkeyedValuesFailureCases1), |
| 30 | + ("testDecodeUnkeyedValuesFailureCases2", testDecodeUnkeyedValuesFailureCases2), |
| 31 | + ("testFailureCases", testFailureCases), |
| 32 | + ("testSuperDecoder1", testSuperDecoder1), |
| 33 | + ("testSuperDecoder2", testSuperDecoder2), |
| 34 | + ("testSuperDecoder3", testSuperDecoder3), |
| 35 | + ("testSuperDecoder4", testSuperDecoder4), |
| 36 | + ] |
| 37 | +} |
| 38 | + |
| 39 | +extension CBOREncoderTests { |
| 40 | + // DO NOT MODIFY: This is autogenerated, use: |
| 41 | + // `swift test --generate-linuxmain` |
| 42 | + // to regenerate. |
| 43 | + static let __allTests__CBOREncoderTests = [ |
| 44 | + ("testAppendixAComplexExamples1", testAppendixAComplexExamples1), |
| 45 | + ("testAppendixAComplexExamples10", testAppendixAComplexExamples10), |
| 46 | + ("testAppendixAComplexExamples11", testAppendixAComplexExamples11), |
| 47 | + ("testAppendixAComplexExamples12", testAppendixAComplexExamples12), |
| 48 | + ("testAppendixAComplexExamples13", testAppendixAComplexExamples13), |
| 49 | + ("testAppendixAComplexExamples14", testAppendixAComplexExamples14), |
| 50 | + ("testAppendixAComplexExamples15", testAppendixAComplexExamples15), |
| 51 | + ("testAppendixAComplexExamples16", testAppendixAComplexExamples16), |
| 52 | + ("testAppendixAComplexExamples17", testAppendixAComplexExamples17), |
| 53 | + ("testAppendixAComplexExamples18", testAppendixAComplexExamples18), |
| 54 | + ("testAppendixAComplexExamples19", testAppendixAComplexExamples19), |
| 55 | + ("testAppendixAComplexExamples2", testAppendixAComplexExamples2), |
| 56 | + ("testAppendixAComplexExamples20", testAppendixAComplexExamples20), |
| 57 | + ("testAppendixAComplexExamples3", testAppendixAComplexExamples3), |
| 58 | + ("testAppendixAComplexExamples4", testAppendixAComplexExamples4), |
| 59 | + ("testAppendixAComplexExamples5", testAppendixAComplexExamples5), |
| 60 | + ("testAppendixAComplexExamples6", testAppendixAComplexExamples6), |
| 61 | + ("testAppendixAComplexExamples7", testAppendixAComplexExamples7), |
| 62 | + ("testAppendixAComplexExamples8", testAppendixAComplexExamples8), |
| 63 | + ("testAppendixAComplexExamples9", testAppendixAComplexExamples9), |
| 64 | + ("testAppendixASimpleExamples", testAppendixASimpleExamples), |
| 65 | + ("testDuplicateContainers1", testDuplicateContainers1), |
| 66 | + ("testDuplicateContainers2", testDuplicateContainers2), |
| 67 | + ("testEncodeEmptyDataTypes", testEncodeEmptyDataTypes), |
| 68 | + ("testEncodePrimitiveTypes1", testEncodePrimitiveTypes1), |
| 69 | + ("testEncodePrimitiveTypes2", testEncodePrimitiveTypes2), |
| 70 | + ("testEncodePrimitiveTypes3", testEncodePrimitiveTypes3), |
| 71 | + ("testEncodePrimitiveTypes4", testEncodePrimitiveTypes4), |
| 72 | + ("testEncoderUserInfo", testEncoderUserInfo), |
| 73 | + ("testFailureCases", testFailureCases), |
| 74 | + ("testSelfDescribedCBOR", testSelfDescribedCBOR), |
| 75 | + ("testSuperEncoder1", testSuperEncoder1), |
| 76 | + ("testSuperEncoder2", testSuperEncoder2), |
| 77 | + ("testSuperEncoder3", testSuperEncoder3), |
| 78 | + ("testTaggedValues", testTaggedValues), |
| 79 | + ("testTaggedValuesFailureCases", testTaggedValuesFailureCases), |
| 80 | + ] |
| 81 | +} |
| 82 | + |
| 83 | +extension CBORParserTests { |
| 84 | + // DO NOT MODIFY: This is autogenerated, use: |
| 85 | + // `swift test --generate-linuxmain` |
| 86 | + // to regenerate. |
| 87 | + static let __allTests__CBORParserTests = [ |
| 88 | + ("testAppendixAComplexExamples1", testAppendixAComplexExamples1), |
| 89 | + ("testAppendixAComplexExamples10", testAppendixAComplexExamples10), |
| 90 | + ("testAppendixAComplexExamples2", testAppendixAComplexExamples2), |
| 91 | + ("testAppendixAComplexExamples3", testAppendixAComplexExamples3), |
| 92 | + ("testAppendixAComplexExamples4", testAppendixAComplexExamples4), |
| 93 | + ("testAppendixAComplexExamples5", testAppendixAComplexExamples5), |
| 94 | + ("testAppendixAComplexExamples6", testAppendixAComplexExamples6), |
| 95 | + ("testAppendixAComplexExamples7", testAppendixAComplexExamples7), |
| 96 | + ("testAppendixAComplexExamples8", testAppendixAComplexExamples8), |
| 97 | + ("testAppendixAComplexExamples9", testAppendixAComplexExamples9), |
| 98 | + ("testAppendixASimpleExamples", testAppendixASimpleExamples), |
| 99 | + ("testCreateCodingKeys", testCreateCodingKeys), |
| 100 | + ("testDecodeMapCodingKeys", testDecodeMapCodingKeys), |
| 101 | + ("testDirectDecoding", testDirectDecoding), |
| 102 | + ("testFailureCases", testFailureCases), |
| 103 | + ("testTaggedValues", testTaggedValues), |
| 104 | + ("testTypeParsing", testTypeParsing), |
| 105 | + ] |
| 106 | +} |
| 107 | + |
| 108 | +extension CBORTests { |
| 109 | + // DO NOT MODIFY: This is autogenerated, use: |
| 110 | + // `swift test --generate-linuxmain` |
| 111 | + // to regenerate. |
| 112 | + static let __allTests__CBORTests = [ |
| 113 | + ("testCBOREncoded", testCBOREncoded), |
| 114 | + ("testDecodeBigfloatWithOtherEncoder", testDecodeBigfloatWithOtherEncoder), |
| 115 | + ("testDecodeBignumWithOtherEncoder", testDecodeBignumWithOtherEncoder), |
| 116 | + ("testDecodeDecimalFractionWithOtherEncoder", testDecodeDecimalFractionWithOtherEncoder), |
| 117 | + ("testDecodeIndefiniteLengthDataWithOtherEncoder", testDecodeIndefiniteLengthDataWithOtherEncoder), |
| 118 | + ("testDecodeIndefiniteLengthStringWithOtherEncoder", testDecodeIndefiniteLengthStringWithOtherEncoder), |
| 119 | + ("testDecodeNegativeUInt64WithOtherEncoder", testDecodeNegativeUInt64WithOtherEncoder), |
| 120 | + ("testDecodeSimpleValueWithOtherEncoder", testDecodeSimpleValueWithOtherEncoder), |
| 121 | + ("testDirectlyDecodeBignum", testDirectlyDecodeBignum), |
| 122 | + ("testDirectlyDecodeIndefiniteLengthArray", testDirectlyDecodeIndefiniteLengthArray), |
| 123 | + ("testDirectlyDecodeIndefiniteLengthData", testDirectlyDecodeIndefiniteLengthData), |
| 124 | + ("testDirectlyDecodeIndefiniteLengthMap", testDirectlyDecodeIndefiniteLengthMap), |
| 125 | + ("testDirectlyDecodeIndefiniteLengthString", testDirectlyDecodeIndefiniteLengthString), |
| 126 | + ("testDirectlyDecodeNegativeUInt64", testDirectlyDecodeNegativeUInt64), |
| 127 | + ("testDirectlyDecodeSimpleValue", testDirectlyDecodeSimpleValue), |
| 128 | + ("testDirectlyDecodeUndefined", testDirectlyDecodeUndefined), |
| 129 | + ("testDirectlyEncodeCBOREncoded", testDirectlyEncodeCBOREncoded), |
| 130 | + ("testDirectlyEncodeIndefiniteLengthData", testDirectlyEncodeIndefiniteLengthData), |
| 131 | + ("testDirectlyEncodeIndefiniteLengthString", testDirectlyEncodeIndefiniteLengthString), |
| 132 | + ("testDirectlyEncodeNegativeUInt64", testDirectlyEncodeNegativeUInt64), |
| 133 | + ("testDirectlyEncodeUndefined", testDirectlyEncodeUndefined), |
| 134 | + ("testEncodeBigfloatWithOtherEncoder", testEncodeBigfloatWithOtherEncoder), |
| 135 | + ("testEncodeBignumWithOtherEncoder", testEncodeBignumWithOtherEncoder), |
| 136 | + ("testEncodeCBOREncodedWithOtherEncoder", testEncodeCBOREncodedWithOtherEncoder), |
| 137 | + ("testEncodeDecimalFractionWithOtherEncoder", testEncodeDecimalFractionWithOtherEncoder), |
| 138 | + ("testEncodeIndefiniteLengthArrayWithOtherEncoder", testEncodeIndefiniteLengthArrayWithOtherEncoder), |
| 139 | + ("testEncodeIndefiniteLengthDataWithOtherEncoder", testEncodeIndefiniteLengthDataWithOtherEncoder), |
| 140 | + ("testEncodeIndefiniteLengthMapWithOtherEncoder", testEncodeIndefiniteLengthMapWithOtherEncoder), |
| 141 | + ("testEncodeIndefiniteLengthStringWithOtherEncoder", testEncodeIndefiniteLengthStringWithOtherEncoder), |
| 142 | + ("testEncodeNegativeUInt64WithOtherEncoder", testEncodeNegativeUInt64WithOtherEncoder), |
| 143 | + ("testEncodeSimpleValueWithOtherEncoder", testEncodeSimpleValueWithOtherEncoder), |
| 144 | + ("testEncodeUndefinedWithOtherEncoder", testEncodeUndefinedWithOtherEncoder), |
| 145 | + ("testIndefiniteLengthDataInitialization", testIndefiniteLengthDataInitialization), |
| 146 | + ("testIndefiniteLengthStringInitialization", testIndefiniteLengthStringInitialization), |
| 147 | + ("testTagInitialization", testTagInitialization), |
| 148 | + ("testTagValues", testTagValues), |
| 149 | + ] |
| 150 | +} |
| 151 | + |
| 152 | +extension ContainersTests { |
| 153 | + // DO NOT MODIFY: This is autogenerated, use: |
| 154 | + // `swift test --generate-linuxmain` |
| 155 | + // to regenerate. |
| 156 | + static let __allTests__ContainersTests = [ |
| 157 | + ("testArrayWrapperImplementedProtocolRequirements", testArrayWrapperImplementedProtocolRequirements), |
| 158 | + ("testArrayWrapperInitialization", testArrayWrapperInitialization), |
| 159 | + ("testCodingKeyDictionaryImplementedProtocolRequirements", testCodingKeyDictionaryImplementedProtocolRequirements), |
| 160 | + ("testCodingKeyDictionaryInitialization", testCodingKeyDictionaryInitialization), |
| 161 | + ] |
| 162 | +} |
| 163 | + |
| 164 | +public func __allTests() -> [XCTestCaseEntry] { |
| 165 | + return [ |
| 166 | + testCase(CBORDecoderTests.__allTests__CBORDecoderTests), |
| 167 | + testCase(CBOREncoderTests.__allTests__CBOREncoderTests), |
| 168 | + testCase(CBORParserTests.__allTests__CBORParserTests), |
| 169 | + testCase(CBORTests.__allTests__CBORTests), |
| 170 | + testCase(ContainersTests.__allTests__ContainersTests), |
| 171 | + ] |
| 172 | +} |
| 173 | +#endif |
0 commit comments