Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: installer/src/installer-lib/test/database_test.cpp

Issue 29329510: Issue #1186 - Style conformity for names in installer tests (Closed)
Patch Set: Created Nov. 14, 2015, 5:55 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: installer/src/installer-lib/test/database_test.cpp
===================================================================
--- a/installer/src/installer-lib/test/database_test.cpp
+++ b/installer/src/installer-lib/test/database_test.cpp
@@ -11,18 +11,18 @@
FileSystemDatabase db(L"test-installer-lib.msi");
}
-class Database_F
+class DatabaseF
: public ::testing::Test
{
protected:
FileSystemDatabase db;
- Database_F()
+ DatabaseF()
: db(L"test-installer-lib.msi")
{}
};
-TEST_F(Database_F, view_n_columns_and_n_rows)
+TEST_F(DatabaseF, CountColumnsAndRows)
{
View v(db, L"SELECT * FROM AbpUIText");
Record r(v.First());
@@ -35,7 +35,7 @@
ASSERT_EQ(4, j);
}
-TEST_F(Database_F, view_single_record)
+TEST_F(DatabaseF, ViewSingleRecord)
{
View v(db, L"SELECT `content` FROM `AbpUIText` WHERE `component`='close_ie' and `id`='dialog_unknown'");
Record r(v.First());
@@ -49,7 +49,7 @@
ASSERT_EQ(v.End(), r);
}
-TEST_F(Database_F, view_single_record_parametric)
+TEST_F(DatabaseF, ViewSingleRecordParametric)
{
View v(db, L"SELECT `content` FROM `AbpUIText` WHERE `component`='close_ie' and `id`=?");
Record arg(1);
« no previous file with comments | « installer/src/installer-lib/test/custom-action-fail.cpp ('k') | installer/src/installer-lib/test/exception_test.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld