Lines Matching refs:yin
78 Input yin("---\nfoo: 3\nbar: 5\n...\n"); in TEST() local
79 yin >> doc; in TEST()
81 EXPECT_FALSE(yin.error()); in TEST()
87 Input yin("{foo: 3, bar: 5}"); in TEST() local
88 yin >> doc; in TEST()
90 EXPECT_FALSE(yin.error()); in TEST()
98 Input yin("{foo: 3; bar: 5}", nullptr, suppressErrorMessages); in TEST() local
99 yin >> doc; in TEST()
100 EXPECT_TRUE(!!yin.error()); in TEST()
108 Input yin("---\n - foo: 3\n bar: 5\n - foo: 7\n bar: 9\n...\n"); in TEST() local
109 yin >> seq; in TEST()
111 EXPECT_FALSE(yin.error()); in TEST()
140 Input yin("---\nfbs:\n...\n"); in TEST() local
141 yin >> cont; in TEST()
143 EXPECT_FALSE(yin.error()); in TEST()
149 Input yin("---\nfbs: !!null null\n...\n"); in TEST() local
150 yin >> cont; in TEST()
152 EXPECT_FALSE(yin.error()); in TEST()
158 Input yin("---\nfbs: ~\n...\n"); in TEST() local
159 yin >> cont; in TEST()
161 EXPECT_FALSE(yin.error()); in TEST()
167 Input yin("---\nfbs: null\n...\n"); in TEST() local
168 yin >> cont; in TEST()
170 EXPECT_FALSE(yin.error()); in TEST()
181 Input yin("---\nfbs:\n foo: 3\n bar: 5\n...\n", nullptr, in TEST() local
183 yin >> cont; in TEST()
185 EXPECT_TRUE(!!yin.error()); in TEST()
191 Input yin("---\nfbs: 'scalar'\n...\n", nullptr, suppressErrorMessages); in TEST() local
192 yin >> cont; in TEST()
194 EXPECT_TRUE(!!yin.error()); in TEST()
221 Input yin(intermediate); in TEST() local
223 yin >> seq2; in TEST()
225 EXPECT_FALSE(yin.error()); in TEST()
294 Input yin("---\n" in TEST() local
313 yin >> map; in TEST()
315 EXPECT_FALSE(yin.error()); in TEST()
367 Input yin(intermediate); in TEST() local
369 yin >> map; in TEST()
371 EXPECT_FALSE(yin.error()); in TEST()
436 Input yin("---\n" in TEST() local
446 yin >> map; in TEST()
448 EXPECT_FALSE(yin.error()); in TEST()
481 Input yin(intermediate); in TEST() local
483 yin >> map; in TEST()
485 EXPECT_FALSE(yin.error()); in TEST()
606 Input yin(intermediate); in TEST() local
608 yin >> map; in TEST()
610 EXPECT_FALSE(yin.error()); in TEST()
677 Input yin("---\n" in TEST() local
683 yin >> map; in TEST()
685 EXPECT_FALSE(yin.error()); in TEST()
749 Input yin("---\n" in TEST() local
754 yin >> map; in TEST()
756 EXPECT_FALSE(yin.error()); in TEST()
782 Input yin(intermediate); in TEST() local
784 yin >> map2; in TEST()
786 EXPECT_FALSE(yin.error()); in TEST()
873 Input yin(intermediate); in TEST() local
875 yin >> map2; in TEST()
877 EXPECT_FALSE(yin.error()); in TEST()
962 Input yin(intermediate); in TEST() local
964 yin >> map2; in TEST()
966 EXPECT_FALSE(yin.error()); in TEST()
997 Input yin(intermediate); in TEST() local
999 yin >> documents2; in TEST()
1001 EXPECT_FALSE(yin.error()); in TEST()
1018 Input yin(intermediate); in TEST() local
1020 yin >> doc; in TEST()
1022 EXPECT_FALSE(yin.error()); in TEST()
1125 Input yin(intermediate); in TEST() local
1127 yin >> map2; in TEST()
1129 EXPECT_FALSE(yin.error()); in TEST()
1172 Input yin(intermediate); in TEST() local
1174 yin >> map2; in TEST()
1176 EXPECT_FALSE(yin.error()); in TEST()
1241 Input yin("---\n - hours: 1\n seconds: 5\n - seconds: 59\n...\n"); in TEST() local
1242 yin >> seq; in TEST()
1244 EXPECT_FALSE(yin.error()); in TEST()
1267 Input yin(intermediate); in TEST() local
1269 yin >> seq2; in TEST()
1271 EXPECT_FALSE(yin.error()); in TEST()
1363 Input yin("---\n - kind: A\n flags: a2\n - kind: B\n flags: b1\n...\n"); in TEST() local
1364 yin >> seq; in TEST()
1366 EXPECT_FALSE(yin.error()); in TEST()
1392 Input yin(intermediate); in TEST() local
1394 yin >> seq2; in TEST()
1396 EXPECT_FALSE(yin.error()); in TEST()
1443 Input yin("---\nfoo: 3\nbar: 5\n...\n"); in TEST() local
1444 yin >> doc; in TEST()
1446 EXPECT_FALSE(yin.error()); in TEST()
1476 Input yin(intermediate); in TEST() local
1478 yin >> docList2; in TEST()
1480 EXPECT_FALSE(yin.error()); in TEST()
1535 Input yin("--- !decimal\nvalue: 3.0\n" in TEST() local
1537 yin >> docList; in TEST()
1538 EXPECT_FALSE(yin.error()); in TEST()
1564 Input yin(intermediate); in TEST() local
1566 yin >> docList2; in TEST()
1568 EXPECT_FALSE(yin.error()); in TEST()
1608 Input yin("--- \nvalue: 3.0\n" in TEST() local
1611 yin >> docList; in TEST()
1612 EXPECT_TRUE(!!yin.error()); in TEST()
1684 Input yin(intermediate); in TEST() local
1686 yin >> doc2; in TEST()
1688 EXPECT_FALSE(yin.error()); in TEST()
1710 Input yin("---\n" in TEST() local
1717 yin >> map; in TEST()
1718 EXPECT_TRUE(!!yin.error()); in TEST()
1727 Input yin("---\n" in TEST() local
1734 yin >> map; in TEST()
1736 EXPECT_TRUE(!!yin.error()); in TEST()
1746 Input yin("---\n" in TEST() local
1753 yin >> seq; in TEST()
1755 EXPECT_TRUE(!!yin.error()); in TEST()
1765 Input yin("---\n" in TEST() local
1772 yin >> seq; in TEST()
1774 EXPECT_TRUE(!!yin.error()); in TEST()
1784 Input yin("---\n" in TEST() local
1791 yin >> seq; in TEST()
1793 EXPECT_TRUE(!!yin.error()); in TEST()
1803 Input yin("---\n" in TEST() local
1810 yin >> seq; in TEST()
1812 EXPECT_TRUE(!!yin.error()); in TEST()
1822 Input yin("---\n" in TEST() local
1830 yin >> seq; in TEST()
1832 EXPECT_TRUE(!!yin.error()); in TEST()
1840 Input yin("---\n" in TEST() local
1848 yin >> seq; in TEST()
1850 EXPECT_TRUE(!!yin.error()); in TEST()
1860 Input yin("---\n" in TEST() local
1868 yin >> seq; in TEST()
1870 EXPECT_TRUE(!!yin.error()); in TEST()
1879 Input yin("---\n" in TEST() local
1887 yin >> seq; in TEST()
1889 EXPECT_TRUE(!!yin.error()); in TEST()
1899 Input yin("---\n" in TEST() local
1907 yin >> seq; in TEST()
1909 EXPECT_TRUE(!!yin.error()); in TEST()
1917 Input yin("---\n" in TEST() local
1925 yin >> seq; in TEST()
1927 EXPECT_TRUE(!!yin.error()); in TEST()
1937 Input yin("---\n" in TEST() local
1945 yin >> seq; in TEST()
1947 EXPECT_TRUE(!!yin.error()); in TEST()
1955 Input yin("---\n" in TEST() local
1963 yin >> seq; in TEST()
1965 EXPECT_TRUE(!!yin.error()); in TEST()
1974 Input yin("---\n" in TEST() local
1982 yin >> seq; in TEST()
1984 EXPECT_TRUE(!!yin.error()); in TEST()
1993 Input yin("---\n" in TEST() local
2001 yin >> seq; in TEST()
2003 EXPECT_TRUE(!!yin.error()); in TEST()
2012 Input yin("---\n" in TEST() local
2019 yin >> seq; in TEST()
2021 EXPECT_TRUE(!!yin.error()); in TEST()
2031 Input yin("---\n" in TEST() local
2038 yin >> seq; in TEST()
2040 EXPECT_TRUE(!!yin.error()); in TEST()
2049 Input yin("---\n" in TEST() local
2056 yin >> seq; in TEST()
2058 EXPECT_TRUE(!!yin.error()); in TEST()
2067 Input yin("---\n" in TEST() local
2074 yin >> seq; in TEST()
2076 EXPECT_TRUE(!!yin.error()); in TEST()
2084 Input yin("{foo:3, bar: 5}", /*Ctxt=*/nullptr, suppressErrorMessages); in TEST() local
2085 yin >> doc; in TEST()
2086 EXPECT_TRUE(!!yin.error()); in TEST()
2090 Input yin("---\nfoo:3\nbar: 5\n...\n", /*Ctxt=*/nullptr, suppressErrorMessages); in TEST() local
2091 yin >> doc; in TEST()
2092 EXPECT_TRUE(!!yin.error()); in TEST()
2142 Input yin(intermediate); in TEST() local
2144 yin >> Seq2; in TEST()
2146 EXPECT_FALSE(yin.error()); in TEST()
2162 Input yin(""); in TEST() local
2163 yin >> doc; in TEST()
2164 EXPECT_TRUE(!!yin.error()); in TEST()
2169 Input yin(""); in TEST() local
2170 yin >> doc; in TEST()
2171 EXPECT_FALSE(yin.error()); in TEST()
2176 Input yin("", /*Ctxt=*/nullptr, suppressErrorMessages); in TEST() local
2177 yin >> seq; in TEST()
2179 EXPECT_FALSE(yin.error()); in TEST()