Lines Matching refs:EXPECT_TRUE
58 EXPECT_TRUE(store_->Save());
62 EXPECT_TRUE(store_->SetStringValue(kTestOptionA, kTestString1));
63 EXPECT_TRUE(store_->Save());
64 EXPECT_TRUE(store_->Load());
65 EXPECT_TRUE(store_->SetStringValue(kTestOptionB, kTestString2));
66 EXPECT_TRUE(store_->Save());
67 EXPECT_TRUE(store_->Load());
68 EXPECT_TRUE(store_->GetStringValue(kTestOptionA, &out1));
69 EXPECT_TRUE(store_->GetStringValue(kTestOptionB, &out2));
72 EXPECT_TRUE(store_->RemoveValue(kTestOptionA));
73 EXPECT_TRUE(store_->Save());
74 EXPECT_TRUE(store_->Load());
75 EXPECT_TRUE(store_->RemoveValue(kTestOptionB));
76 EXPECT_TRUE(store_->Save());
77 EXPECT_TRUE(store_->Load());
84 EXPECT_TRUE(store_->Save());
88 EXPECT_TRUE(store_->SetIntValue(kTestOptionA, kTestInt1));
89 EXPECT_TRUE(store_->Save());
90 EXPECT_TRUE(store_->Load());
91 EXPECT_TRUE(store_->SetIntValue(kTestOptionB, kTestInt2));
92 EXPECT_TRUE(store_->Save());
93 EXPECT_TRUE(store_->Load());
94 EXPECT_TRUE(store_->GetIntValue(kTestOptionA, &out1));
95 EXPECT_TRUE(store_->GetIntValue(kTestOptionB, &out2));
98 EXPECT_TRUE(store_->RemoveValue(kTestOptionA));
99 EXPECT_TRUE(store_->Save());
100 EXPECT_TRUE(store_->Load());
101 EXPECT_TRUE(store_->RemoveValue(kTestOptionB));
102 EXPECT_TRUE(store_->Save());
103 EXPECT_TRUE(store_->Load());
106 EXPECT_TRUE(store_->SetIntValue(kTestOptionA, kNegInt));
107 EXPECT_TRUE(store_->GetIntValue(kTestOptionA, &out1));
109 EXPECT_TRUE(store_->SetIntValue(kTestOptionA, kZero));
110 EXPECT_TRUE(store_->GetIntValue(kTestOptionA, &out1));
116 EXPECT_TRUE(store_->Save());
117 EXPECT_TRUE(store_->SetStringValue(kTestOptionA, kTestString1));
118 EXPECT_TRUE(store_->SetIntValue(kTestOptionB, kNegInt));
119 EXPECT_TRUE(store_->Save());
123 EXPECT_TRUE(store_->Load());
126 EXPECT_TRUE(store_->GetStringValue(kTestOptionA, &out1));
127 EXPECT_TRUE(store_->GetIntValue(kTestOptionB, &out2));
134 EXPECT_TRUE(store_->Save());
140 EXPECT_TRUE(store_->SetStringValue(kOptionWithUtf8, kValueWithUtf8));
141 EXPECT_TRUE(store_->SetStringValue(kTestOptionA, kTestString1));
142 EXPECT_TRUE(store_->Save());
143 EXPECT_TRUE(store_->Load());
144 EXPECT_TRUE(store_->GetStringValue(kTestOptionA, &out));
146 EXPECT_TRUE(store_->GetStringValue(kOptionWithUtf8, &out));
149 EXPECT_TRUE(store_->GetStringValue(kTestOptionA, &out));
151 EXPECT_TRUE(store_->SetStringValue(kTestOptionA, kValueWithEquals));
152 EXPECT_TRUE(store_->Save());
153 EXPECT_TRUE(store_->Load());
154 EXPECT_TRUE(store_->GetStringValue(kTestOptionA, &out));
156 EXPECT_TRUE(store_->SetStringValue(kEmptyString, kTestString2));
157 EXPECT_TRUE(store_->Save());
158 EXPECT_TRUE(store_->Load());
159 EXPECT_TRUE(store_->GetStringValue(kEmptyString, &out));
161 EXPECT_TRUE(store_->SetStringValue(kTestOptionB, kEmptyString));
162 EXPECT_TRUE(store_->Save());
163 EXPECT_TRUE(store_->Load());
164 EXPECT_TRUE(store_->GetStringValue(kTestOptionB, &out));