reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
25 auto ContinueOrErr = MPReader.read(Obj); 28 EXPECT_EQ(Obj.Kind, Type::Nil); 31 auto ContinueOrErr = MPReader.read(Obj); 34 EXPECT_EQ(Obj.Kind, Type::Boolean); 35 EXPECT_EQ(Obj.Bool, false); 38 auto ContinueOrErr = MPReader.read(Obj); 47 auto ContinueOrErr = MPReader.read(Obj); 50 EXPECT_EQ(Obj.Kind, Type::Nil); 56 auto ContinueOrErr = MPReader.read(Obj); 59 EXPECT_EQ(Obj.Kind, Type::Boolean); 60 EXPECT_EQ(Obj.Bool, false); 66 auto ContinueOrErr = MPReader.read(Obj); 69 EXPECT_EQ(Obj.Kind, Type::Boolean); 70 EXPECT_EQ(Obj.Bool, true); 81 auto ContinueOrErr = MPReader.read(Obj); 84 EXPECT_EQ(Obj.Kind, Type::Int); 85 EXPECT_EQ(Obj.Int, i); 92 auto ContinueOrErr = MPReader.read(Obj); 95 EXPECT_EQ(Obj.Kind, Type::Int); 96 EXPECT_EQ(Obj.Int, INT8_MAX); 102 auto ContinueOrErr = MPReader.read(Obj); 105 EXPECT_EQ(Obj.Kind, Type::Int); 106 EXPECT_EQ(Obj.Int, 0); 112 auto ContinueOrErr = MPReader.read(Obj); 115 EXPECT_EQ(Obj.Kind, Type::Int); 116 EXPECT_EQ(Obj.Int, INT8_MIN); 122 auto ContinueOrErr = MPReader.read(Obj); 125 EXPECT_EQ(Obj.Kind, Type::Int); 126 EXPECT_EQ(Obj.Int, INT16_MAX); 132 auto ContinueOrErr = MPReader.read(Obj); 135 EXPECT_EQ(Obj.Kind, Type::Int); 136 EXPECT_EQ(Obj.Int, 0); 142 auto ContinueOrErr = MPReader.read(Obj); 145 EXPECT_EQ(Obj.Kind, Type::Int); 146 EXPECT_EQ(Obj.Int, INT16_MIN); 152 auto ContinueOrErr = MPReader.read(Obj); 155 EXPECT_EQ(Obj.Kind, Type::Int); 156 EXPECT_EQ(Obj.Int, INT32_MAX); 162 auto ContinueOrErr = MPReader.read(Obj); 165 EXPECT_EQ(Obj.Kind, Type::Int); 166 EXPECT_EQ(Obj.Int, 0); 172 auto ContinueOrErr = MPReader.read(Obj); 175 EXPECT_EQ(Obj.Kind, Type::Int); 176 EXPECT_EQ(Obj.Int, INT32_MIN); 182 auto ContinueOrErr = MPReader.read(Obj); 185 EXPECT_EQ(Obj.Kind, Type::Int); 186 EXPECT_EQ(Obj.Int, INT64_MAX); 192 auto ContinueOrErr = MPReader.read(Obj); 195 EXPECT_EQ(Obj.Kind, Type::Int); 196 EXPECT_EQ(Obj.Int, 0); 202 auto ContinueOrErr = MPReader.read(Obj); 205 EXPECT_EQ(Obj.Kind, Type::Int); 206 EXPECT_EQ(Obj.Int, INT64_MIN); 215 auto ContinueOrErr = MPReader.read(Obj); 218 EXPECT_EQ(Obj.Kind, Type::UInt); 219 EXPECT_EQ(Obj.UInt, u); 226 auto ContinueOrErr = MPReader.read(Obj); 229 EXPECT_EQ(Obj.Kind, Type::UInt); 230 EXPECT_EQ(Obj.UInt, 0u); 236 auto ContinueOrErr = MPReader.read(Obj); 239 EXPECT_EQ(Obj.Kind, Type::UInt); 240 EXPECT_EQ(Obj.UInt, 1u); 246 auto ContinueOrErr = MPReader.read(Obj); 249 EXPECT_EQ(Obj.Kind, Type::UInt); 250 EXPECT_EQ(Obj.UInt, static_cast<uint8_t>(UINT8_MAX)); 256 auto ContinueOrErr = MPReader.read(Obj); 259 EXPECT_EQ(Obj.Kind, Type::UInt); 260 EXPECT_EQ(Obj.UInt, 0u); 266 auto ContinueOrErr = MPReader.read(Obj); 269 EXPECT_EQ(Obj.Kind, Type::UInt); 270 EXPECT_EQ(Obj.UInt, 1u); 276 auto ContinueOrErr = MPReader.read(Obj); 279 EXPECT_EQ(Obj.Kind, Type::UInt); 280 EXPECT_EQ(Obj.UInt, static_cast<uint16_t>(UINT16_MAX)); 286 auto ContinueOrErr = MPReader.read(Obj); 289 EXPECT_EQ(Obj.Kind, Type::UInt); 290 EXPECT_EQ(Obj.UInt, 0u); 296 auto ContinueOrErr = MPReader.read(Obj); 299 EXPECT_EQ(Obj.Kind, Type::UInt); 300 EXPECT_EQ(Obj.UInt, 1u); 306 auto ContinueOrErr = MPReader.read(Obj); 309 EXPECT_EQ(Obj.Kind, Type::UInt); 310 EXPECT_EQ(Obj.UInt, static_cast<uint32_t>(UINT32_MAX)); 316 auto ContinueOrErr = MPReader.read(Obj); 319 EXPECT_EQ(Obj.Kind, Type::UInt); 320 EXPECT_EQ(Obj.UInt, 0u); 326 auto ContinueOrErr = MPReader.read(Obj); 329 EXPECT_EQ(Obj.Kind, Type::UInt); 330 EXPECT_EQ(Obj.UInt, 1u); 336 auto ContinueOrErr = MPReader.read(Obj); 339 EXPECT_EQ(Obj.Kind, Type::UInt); 340 EXPECT_EQ(Obj.UInt, static_cast<uint64_t>(UINT64_MAX)); 346 auto ContinueOrErr = MPReader.read(Obj); 349 EXPECT_EQ(Obj.Kind, Type::Float); 350 EXPECT_EQ(Obj.Float, -3.6973142664068907e+28f); 356 auto ContinueOrErr = MPReader.read(Obj); 359 EXPECT_EQ(Obj.Kind, Type::Float); 360 EXPECT_EQ(Obj.Float, -2.2899894549927042e+226); 366 auto ContinueOrErr = MPReader.read(Obj); 369 EXPECT_EQ(Obj.Kind, Type::String); 370 EXPECT_EQ(Obj.Raw, StringRef()); 377 auto ContinueOrErr = MPReader.read(Obj); 380 EXPECT_EQ(Obj.Kind, Type::String); 381 EXPECT_EQ(Obj.Raw, Result); 389 auto ContinueOrErr = MPReader.read(Obj); 392 EXPECT_EQ(Obj.Kind, Type::String); 393 EXPECT_EQ(Obj.Raw, Result); 399 auto ContinueOrErr = MPReader.read(Obj); 402 EXPECT_EQ(Obj.Kind, Type::String); 403 EXPECT_EQ(Obj.Raw, StringRef()); 410 auto ContinueOrErr = MPReader.read(Obj); 413 EXPECT_EQ(Obj.Kind, Type::String); 414 EXPECT_EQ(Obj.Raw, Result); 421 auto ContinueOrErr = MPReader.read(Obj); 424 EXPECT_EQ(Obj.Kind, Type::String); 425 EXPECT_EQ(Obj.Raw, Result); 431 auto ContinueOrErr = MPReader.read(Obj); 434 EXPECT_EQ(Obj.Kind, Type::String); 435 EXPECT_EQ(Obj.Raw, StringRef()); 442 auto ContinueOrErr = MPReader.read(Obj); 445 EXPECT_EQ(Obj.Kind, Type::String); 446 EXPECT_EQ(Obj.Raw, Result); 453 auto ContinueOrErr = MPReader.read(Obj); 456 EXPECT_EQ(Obj.Kind, Type::String); 457 EXPECT_EQ(Obj.Raw, Result); 463 auto ContinueOrErr = MPReader.read(Obj); 466 EXPECT_EQ(Obj.Kind, Type::String); 467 EXPECT_EQ(Obj.Raw, StringRef()); 474 auto ContinueOrErr = MPReader.read(Obj); 477 EXPECT_EQ(Obj.Kind, Type::String); 478 EXPECT_EQ(Obj.Raw, Result); 485 auto ContinueOrErr = MPReader.read(Obj); 488 EXPECT_EQ(Obj.Kind, Type::String); 489 EXPECT_EQ(Obj.Raw, Result); 495 auto ContinueOrErr = MPReader.read(Obj); 498 EXPECT_EQ(Obj.Kind, Type::Binary); 499 EXPECT_EQ(Obj.Raw, StringRef()); 506 auto ContinueOrErr = MPReader.read(Obj); 509 EXPECT_EQ(Obj.Kind, Type::Binary); 510 EXPECT_EQ(Obj.Raw, Result); 517 auto ContinueOrErr = MPReader.read(Obj); 520 EXPECT_EQ(Obj.Kind, Type::Binary); 521 EXPECT_EQ(Obj.Raw, Result); 527 auto ContinueOrErr = MPReader.read(Obj); 530 EXPECT_EQ(Obj.Kind, Type::Binary); 531 EXPECT_EQ(Obj.Raw, StringRef()); 538 auto ContinueOrErr = MPReader.read(Obj); 541 EXPECT_EQ(Obj.Kind, Type::Binary); 542 EXPECT_EQ(Obj.Raw, Result); 549 auto ContinueOrErr = MPReader.read(Obj); 552 EXPECT_EQ(Obj.Kind, Type::Binary); 553 EXPECT_EQ(Obj.Raw, Result); 559 auto ContinueOrErr = MPReader.read(Obj); 562 EXPECT_EQ(Obj.Kind, Type::Binary); 563 EXPECT_EQ(Obj.Raw, StringRef()); 570 auto ContinueOrErr = MPReader.read(Obj); 573 EXPECT_EQ(Obj.Kind, Type::Binary); 574 EXPECT_EQ(Obj.Raw, Result); 581 auto ContinueOrErr = MPReader.read(Obj); 584 EXPECT_EQ(Obj.Kind, Type::Binary); 585 EXPECT_EQ(Obj.Raw, Result); 591 auto ContinueOrErr = MPReader.read(Obj); 594 EXPECT_EQ(Obj.Kind, Type::Array); 595 EXPECT_EQ(Obj.Length, 0u); 601 auto ContinueOrErr = MPReader.read(Obj); 604 EXPECT_EQ(Obj.Kind, Type::Array); 605 EXPECT_EQ(Obj.Length, 1u); 611 auto ContinueOrErr = MPReader.read(Obj); 614 EXPECT_EQ(Obj.Kind, Type::Array); 616 EXPECT_EQ(Obj.Length, 15u); 622 auto ContinueOrErr = MPReader.read(Obj); 625 EXPECT_EQ(Obj.Kind, Type::Array); 626 EXPECT_EQ(Obj.Length, 0u); 632 auto ContinueOrErr = MPReader.read(Obj); 635 EXPECT_EQ(Obj.Kind, Type::Array); 636 EXPECT_EQ(Obj.Length, 1u); 642 auto ContinueOrErr = MPReader.read(Obj); 645 EXPECT_EQ(Obj.Kind, Type::Array); 646 EXPECT_EQ(Obj.Length, static_cast<uint16_t>(UINT16_MAX)); 652 auto ContinueOrErr = MPReader.read(Obj); 655 EXPECT_EQ(Obj.Kind, Type::Array); 656 EXPECT_EQ(Obj.Length, 0u); 662 auto ContinueOrErr = MPReader.read(Obj); 665 EXPECT_EQ(Obj.Kind, Type::Array); 666 EXPECT_EQ(Obj.Length, 1u); 672 auto ContinueOrErr = MPReader.read(Obj); 675 EXPECT_EQ(Obj.Kind, Type::Array); 676 EXPECT_EQ(Obj.Length, static_cast<uint32_t>(UINT32_MAX)); 682 auto ContinueOrErr = MPReader.read(Obj); 685 EXPECT_EQ(Obj.Kind, Type::Map); 686 EXPECT_EQ(Obj.Length, 0u); 692 auto ContinueOrErr = MPReader.read(Obj); 695 EXPECT_EQ(Obj.Kind, Type::Map); 696 EXPECT_EQ(Obj.Length, 1u); 702 auto ContinueOrErr = MPReader.read(Obj); 705 EXPECT_EQ(Obj.Kind, Type::Map); 707 EXPECT_EQ(Obj.Length, 15u); 713 auto ContinueOrErr = MPReader.read(Obj); 716 EXPECT_EQ(Obj.Kind, Type::Map); 717 EXPECT_EQ(Obj.Length, 0u); 723 auto ContinueOrErr = MPReader.read(Obj); 726 EXPECT_EQ(Obj.Kind, Type::Map); 727 EXPECT_EQ(Obj.Length, 1u); 733 auto ContinueOrErr = MPReader.read(Obj); 736 EXPECT_EQ(Obj.Kind, Type::Map); 737 EXPECT_EQ(Obj.Length, static_cast<uint16_t>(UINT16_MAX)); 743 auto ContinueOrErr = MPReader.read(Obj); 746 EXPECT_EQ(Obj.Kind, Type::Map); 747 EXPECT_EQ(Obj.Length, 0u); 753 auto ContinueOrErr = MPReader.read(Obj); 756 EXPECT_EQ(Obj.Kind, Type::Map); 757 EXPECT_EQ(Obj.Length, 1u); 763 auto ContinueOrErr = MPReader.read(Obj); 766 EXPECT_EQ(Obj.Kind, Type::Map); 767 EXPECT_EQ(Obj.Length, static_cast<uint32_t>(UINT32_MAX)); 776 auto ContinueOrErr = MPReader.read(Obj); 779 EXPECT_EQ(Obj.Kind, Type::Extension); 780 EXPECT_EQ(Obj.Extension.Type, 0x01); 781 EXPECT_EQ(Obj.Extension.Bytes, Result); 788 auto ContinueOrErr = MPReader.read(Obj); 791 EXPECT_EQ(Obj.Kind, Type::Extension); 792 EXPECT_EQ(Obj.Extension.Type, 0x01); 793 EXPECT_EQ(Obj.Extension.Bytes, Result); 800 auto ContinueOrErr = MPReader.read(Obj); 803 EXPECT_EQ(Obj.Kind, Type::Extension); 804 EXPECT_EQ(Obj.Extension.Type, 0x01); 805 EXPECT_EQ(Obj.Extension.Bytes, Result); 812 auto ContinueOrErr = MPReader.read(Obj); 815 EXPECT_EQ(Obj.Kind, Type::Extension); 816 EXPECT_EQ(Obj.Extension.Type, 0x01); 817 EXPECT_EQ(Obj.Extension.Bytes, Result); 824 auto ContinueOrErr = MPReader.read(Obj); 827 EXPECT_EQ(Obj.Kind, Type::Extension); 828 EXPECT_EQ(Obj.Extension.Type, 0x01); 829 EXPECT_EQ(Obj.Extension.Bytes, Result); 836 auto ContinueOrErr = MPReader.read(Obj); 839 EXPECT_EQ(Obj.Kind, Type::Extension); 840 EXPECT_EQ(Obj.Extension.Type, 0x01); 841 EXPECT_EQ(Obj.Extension.Bytes, StringRef()); 848 auto ContinueOrErr = MPReader.read(Obj); 851 EXPECT_EQ(Obj.Kind, Type::Extension); 852 EXPECT_EQ(Obj.Extension.Type, 0x01); 853 EXPECT_EQ(Obj.Extension.Bytes, Result); 860 auto ContinueOrErr = MPReader.read(Obj); 863 EXPECT_EQ(Obj.Kind, Type::Extension); 864 EXPECT_EQ(Obj.Extension.Type, 0x01); 865 EXPECT_EQ(Obj.Extension.Bytes, Result); 872 auto ContinueOrErr = MPReader.read(Obj); 875 EXPECT_EQ(Obj.Kind, Type::Extension); 876 EXPECT_EQ(Obj.Extension.Type, 0x01); 877 EXPECT_EQ(Obj.Extension.Bytes, Result); 884 auto ContinueOrErr = MPReader.read(Obj); 887 EXPECT_EQ(Obj.Kind, Type::Extension); 888 EXPECT_EQ(Obj.Extension.Type, 0x01); 889 EXPECT_EQ(Obj.Extension.Bytes, Result);