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

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

Issue 29329159: Issue #1185 - Fix formatting in installer-lib and its tests (Closed)
Patch Set: Created Oct. 15, 2015, 7:03 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
« no previous file with comments | « installer/src/installer-lib/test/process_test.cpp ('k') | installer/src/installer-lib/test/record_test.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: installer/src/installer-lib/test/property_test.cpp
===================================================================
--- a/installer/src/installer-lib/test/property_test.cpp
+++ b/installer/src/installer-lib/test/property_test.cpp
@@ -3,7 +3,7 @@
#include "../database.h"
#include "../property.h"
-TEST( Property_Test, null )
+TEST(Property_Test, null)
{
/*
* This is an extract of manual test code originally run from AbpCloseIe DLL entry point.
@@ -14,27 +14,27 @@
/*
* DISABLED. Refactor into proper tests.
*/
- if ( false )
+ if (false)
{
// This variable was the argument to the entry point.
MSIHANDLE session_handle = 0;
// The code in the body.
- ImmediateSession session( session_handle, "AbpCloseIe" ) ;
- session.Log( L"Have session object" ) ;
- InstallationDatabase db( session ) ;
- session.Log( L"Have database object" ) ;
+ ImmediateSession session(session_handle, "AbpCloseIe");
+ session.Log(L"Have session object");
+ InstallationDatabase db(session);
+ session.Log(L"Have database object");
// Test: ensure that a property is present with its expected value. Exercises the conversion operator to String.
- session.Log( L"VersionMsi = " + Property( session, L"VersionMsi" ) ) ;
+ session.Log(L"VersionMsi = " + Property(session, L"VersionMsi"));
// Test: create a property dynamically from within the CA. Not sure if this can be done offline.
- Property tv( session, L"TESTVARIABLE" ) ;
- session.Log( L"TESTVARIABLE = " + tv ) ;
+ Property tv(session, L"TESTVARIABLE");
+ session.Log(L"TESTVARIABLE = " + tv);
// Test: assign a new value to a property.
- session.Log( L"Setting TESTVARIABLE to 'testvalue'" ) ;
- tv = L"testvalue" ;
- session.Log( L"TESTVARIABLE = " + tv ) ;
+ session.Log(L"Setting TESTVARIABLE to 'testvalue'");
+ tv = L"testvalue";
+ session.Log(L"TESTVARIABLE = " + tv);
}
}
« no previous file with comments | « installer/src/installer-lib/test/process_test.cpp ('k') | installer/src/installer-lib/test/record_test.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld