Lines Matching refs:rawValue
54 msg.repeatedEnumArray.addValue(Message2_Enum.bar.rawValue) in testProto2Basics()
55 msg.repeatedEnumArray.addValue(Message2_Enum.baz.rawValue) in testProto2Basics()
60 msg.mapInt32Enum.setEnum(Message2_Enum.bar.rawValue, forKey:600) in testProto2Basics()
61 msg.mapInt32Enum.setEnum(Message2_Enum.baz.rawValue, forKey:601) in testProto2Basics()
89 XCTAssertEqual(msg.repeatedEnumArray.value(at: 0), Message2_Enum.bar.rawValue) in testProto2Basics()
90 XCTAssertEqual(msg.repeatedEnumArray.value(at: 1), Message2_Enum.baz.rawValue) in testProto2Basics()
103 XCTAssertEqual(intValue, Message2_Enum.bar.rawValue) in testProto2Basics()
105 XCTAssertEqual(intValue, Message2_Enum.baz.rawValue) in testProto2Basics()
151 msg.repeatedEnumArray.addValue(Message3_Enum.bar.rawValue) in testProto3Basics()
158 msg.mapInt32Enum.setEnum(Message2_Enum.bar.rawValue, forKey:600) in testProto3Basics()
180 XCTAssertEqual(msg.repeatedEnumArray.value(at: 0), Message3_Enum.bar.rawValue) in testProto3Basics()
181 …ertEqual(msg.repeatedEnumArray.value(at: 1), Message3_Enum.gpbUnrecognizedEnumeratorValue.rawValue) in testProto3Basics()
182 XCTAssertEqual(msg.repeatedEnumArray.rawValue(at: 1), 666) in testProto3Basics()
196 XCTAssertEqual(intValue, Message2_Enum.bar.rawValue) in testProto3Basics()
198 XCTAssertEqual(intValue, Message3_Enum.gpbUnrecognizedEnumeratorValue.rawValue) in testProto3Basics()
223 XCTAssertEqual(Message3_OptionalEnum_RawValue(msg2), Message3_Enum.foo.rawValue) in testProto3Basics()