Auto-tools/Projects/Loderunner: Difference between revisions

Jump to navigation Jump to search
(Created page with 'We have a ton of duplicated code in our test harness infrastructure. We have several components that ought to be easy to reuse and aren't. Some that were created to be easy to …')
 
Line 60: Line 60:
So perhaps a harness that uses the above abstractions could look like this:
So perhaps a harness that uses the above abstractions could look like this:


<pre>
mylogger = LogHandler(self.myCmdLineMgr.logFileOption)
mylogger = LogHandler(self.myCmdLineMgr.logFileOption)
myPrefs = [{"pref": "user.pref.foo", "value": "5"}]
myPrefs = [{"pref": "user.pref.foo", "value": "5"}]
Line 74: Line 75:
myApplication = ApplicationManager(profile, myCmdLineMgr.getAllOptions(), mylogger)
myApplication = ApplicationManager(profile, myCmdLineMgr.getAllOptions(), mylogger)
myApplication.start()
myApplication.start()
</pre>


= Some Goals =
= Some Goals =
Confirmed users
3,816

edits

Navigation menu