Lines Matching refs:EXPECT_TRUE
75 EXPECT_TRUE(store_->Save());
79 EXPECT_TRUE(store_->SetStringValue(kTestOptionA, kTestString1));
80 EXPECT_TRUE(store_->Save());
81 EXPECT_TRUE(store_->Load());
82 EXPECT_TRUE(store_->SetStringValue(kTestOptionB, kTestString2));
83 EXPECT_TRUE(store_->Save());
84 EXPECT_TRUE(store_->Load());
85 EXPECT_TRUE(store_->GetStringValue(kTestOptionA, &out1));
86 EXPECT_TRUE(store_->GetStringValue(kTestOptionB, &out2));
89 EXPECT_TRUE(store_->RemoveValue(kTestOptionA));
90 EXPECT_TRUE(store_->Save());
91 EXPECT_TRUE(store_->Load());
92 EXPECT_TRUE(store_->RemoveValue(kTestOptionB));
93 EXPECT_TRUE(store_->Save());
94 EXPECT_TRUE(store_->Load());
101 EXPECT_TRUE(store_->Save());
105 EXPECT_TRUE(store_->SetIntValue(kTestOptionA, kTestInt1));
106 EXPECT_TRUE(store_->Save());
107 EXPECT_TRUE(store_->Load());
108 EXPECT_TRUE(store_->SetIntValue(kTestOptionB, kTestInt2));
109 EXPECT_TRUE(store_->Save());
110 EXPECT_TRUE(store_->Load());
111 EXPECT_TRUE(store_->GetIntValue(kTestOptionA, &out1));
112 EXPECT_TRUE(store_->GetIntValue(kTestOptionB, &out2));
115 EXPECT_TRUE(store_->RemoveValue(kTestOptionA));
116 EXPECT_TRUE(store_->Save());
117 EXPECT_TRUE(store_->Load());
118 EXPECT_TRUE(store_->RemoveValue(kTestOptionB));
119 EXPECT_TRUE(store_->Save());
120 EXPECT_TRUE(store_->Load());
123 EXPECT_TRUE(store_->SetIntValue(kTestOptionA, kNegInt));
124 EXPECT_TRUE(store_->GetIntValue(kTestOptionA, &out1));
126 EXPECT_TRUE(store_->SetIntValue(kTestOptionA, kZero));
127 EXPECT_TRUE(store_->GetIntValue(kTestOptionA, &out1));
133 EXPECT_TRUE(store_->Save());
134 EXPECT_TRUE(store_->SetStringValue(kTestOptionA, kTestString1));
135 EXPECT_TRUE(store_->SetIntValue(kTestOptionB, kNegInt));
136 EXPECT_TRUE(store_->Save());
140 EXPECT_TRUE(store_->Load());
143 EXPECT_TRUE(store_->GetStringValue(kTestOptionA, &out1));
144 EXPECT_TRUE(store_->GetIntValue(kTestOptionB, &out2));
151 EXPECT_TRUE(store_->Save());
157 EXPECT_TRUE(store_->SetStringValue(kOptionWithUtf8, kValueWithUtf8));
158 EXPECT_TRUE(store_->SetStringValue(kTestOptionA, kTestString1));
159 EXPECT_TRUE(store_->Save());
160 EXPECT_TRUE(store_->Load());
161 EXPECT_TRUE(store_->GetStringValue(kTestOptionA, &out));
163 EXPECT_TRUE(store_->GetStringValue(kOptionWithUtf8, &out));
166 EXPECT_TRUE(store_->GetStringValue(kTestOptionA, &out));
168 EXPECT_TRUE(store_->SetStringValue(kTestOptionA, kValueWithEquals));
169 EXPECT_TRUE(store_->Save());
170 EXPECT_TRUE(store_->Load());
171 EXPECT_TRUE(store_->GetStringValue(kTestOptionA, &out));
173 EXPECT_TRUE(store_->SetStringValue(kEmptyString, kTestString2));
174 EXPECT_TRUE(store_->Save());
175 EXPECT_TRUE(store_->Load());
176 EXPECT_TRUE(store_->GetStringValue(kEmptyString, &out));
178 EXPECT_TRUE(store_->SetStringValue(kTestOptionB, kEmptyString));
179 EXPECT_TRUE(store_->Save());
180 EXPECT_TRUE(store_->Load());
181 EXPECT_TRUE(store_->GetStringValue(kTestOptionB, &out));