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

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

Issue 5219280069066752: Issue #1186 - Change names that appear in the custom action (Closed)
Patch Set: Created Jan. 4, 2015, 7 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/property_test.cpp
===================================================================
--- a/installer/src/installer-lib/test/property_test.cpp
+++ b/installer/src/installer-lib/test/property_test.cpp
@@ -6,7 +6,7 @@
TEST( Property_Test, null )
{
/*
- * This is an extract of manual test code originally run from abp_close_ie DLL entry point.
+ * This is an extract of manual test code originally run from AbpCloseIe DLL entry point.
* This code relies on an MSI database opened for installation, which we don't need to access properties.
* We can instead use an offline session, with the database opened outside Windows Installer.
* That session class, though, isn't written yet.
@@ -20,21 +20,21 @@
MSIHANDLE session_handle = 0;
// The code in the body.
- Immediate_Session session( session_handle, "abp_close_ie" ) ;
- session.log( L"Have session object" ) ;
- Installation_Database 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 ) ;
+ session.Log( L"TESTVARIABLE = " + tv ) ;
// Test: assign a new value to a property.
- session.log( L"Setting TESTVARIABLE to 'testvalue'" ) ;
+ session.Log( L"Setting TESTVARIABLE to 'testvalue'" ) ;
tv = L"testvalue" ;
- session.log( L"TESTVARIABLE = " + tv ) ;
+ session.Log( L"TESTVARIABLE = " + tv ) ;
}
-}
+}

Powered by Google App Engine
This is Rietveld