| 830 | |
| 831 | template <typename TypeClass> |
| 832 | void TestPrettyPrintVarLengthListLike() { |
| 833 | using LargeTypeClass = typename TypeTraits<TypeClass>::LargeType; |
| 834 | auto var_list_type = std::make_shared<TypeClass>(int64()); |
| 835 | auto var_large_list_type = std::make_shared<LargeTypeClass>(int64()); |
| 836 | |
| 837 | static const char* ex = R"expected([ |
| 838 | [ |
| 839 | null |
| 840 | ], |
| 841 | [], |
| 842 | null, |
| 843 | [ |
| 844 | 4, |
| 845 | 6, |
| 846 | 7 |
| 847 | ], |
| 848 | [ |
| 849 | 2, |
| 850 | 3 |
| 851 | ] |
| 852 | ])expected"; |
| 853 | static const char* ex_2 = R"expected( [ |
| 854 | [ |
| 855 | null |
| 856 | ], |
| 857 | [], |
| 858 | null, |
| 859 | [ |
| 860 | 4, |
| 861 | 6, |
| 862 | 7 |
| 863 | ], |
| 864 | [ |
| 865 | 2, |
| 866 | 3 |
| 867 | ] |
| 868 | ])expected"; |
| 869 | static const char* ex_3 = R"expected([ |
| 870 | [ |
| 871 | null |
| 872 | ], |
| 873 | ... |
| 874 | [ |
| 875 | 2, |
| 876 | 3 |
| 877 | ] |
| 878 | ])expected"; |
| 879 | static const char* ex_4 = R"expected([ |
| 880 | [ |
| 881 | null |
| 882 | ], |
| 883 | [], |
| 884 | null, |
| 885 | [ |
| 886 | 4, |
| 887 | 6, |
| 888 | 7 |
| 889 | ], |
nothing calls this directly
no test coverage detected