• Home
  • Raw
  • Download

Lines Matching refs:JSONWriter

18   EXPECT_TRUE(JSONWriter::Write(Value(), &output_js));  in TEST()
22 EXPECT_TRUE(JSONWriter::Write(DictionaryValue(), &output_js)); in TEST()
26 EXPECT_TRUE(JSONWriter::Write(ListValue(), &output_js)); in TEST()
30 EXPECT_TRUE(JSONWriter::Write(Value(42), &output_js)); in TEST()
34 EXPECT_TRUE(JSONWriter::Write(Value(true), &output_js)); in TEST()
38 EXPECT_TRUE(JSONWriter::Write(Value(1.0), &output_js)); in TEST()
42 EXPECT_TRUE(JSONWriter::Write(Value(0.2), &output_js)); in TEST()
46 EXPECT_TRUE(JSONWriter::Write(Value(-0.8), &output_js)); in TEST()
50 EXPECT_TRUE(JSONWriter::Write(Value("foo"), &output_js)); in TEST()
69 EXPECT_TRUE(JSONWriter::Write(root_dict, &output_js)); in TEST()
71 EXPECT_TRUE(JSONWriter::WriteWithOptions( in TEST()
72 root_dict, JSONWriter::OPTIONS_PRETTY_PRINT, &output_js)); in TEST()
99 EXPECT_TRUE(JSONWriter::Write(period_dict, &output_js)); in TEST()
105 EXPECT_TRUE(JSONWriter::Write(period_dict3, &output_js)); in TEST()
115 EXPECT_FALSE(JSONWriter::Write(*root, &output_js)); in TEST()
116 EXPECT_TRUE(JSONWriter::WriteWithOptions( in TEST()
117 *root, JSONWriter::OPTIONS_OMIT_BINARY_VALUES, &output_js)); in TEST()
126 EXPECT_FALSE(JSONWriter::Write(binary_list, &output_js)); in TEST()
127 EXPECT_TRUE(JSONWriter::WriteWithOptions( in TEST()
128 binary_list, JSONWriter::OPTIONS_OMIT_BINARY_VALUES, &output_js)); in TEST()
137 EXPECT_FALSE(JSONWriter::Write(binary_dict, &output_js)); in TEST()
138 EXPECT_TRUE(JSONWriter::WriteWithOptions( in TEST()
139 binary_dict, JSONWriter::OPTIONS_OMIT_BINARY_VALUES, &output_js)); in TEST()
148 EXPECT_TRUE(JSONWriter::WriteWithOptions( in TEST()
149 double_value, JSONWriter::OPTIONS_OMIT_DOUBLE_TYPE_PRESERVATION, in TEST()