Activity log for bug #1210260

Date Who What changed Old value New value Message
2013-08-08 19:13:55 Leo Arias bug added bug
2013-08-27 19:11:32 Leo Arias description When using autopilot emulators, we have to name the emulator class the same way as the QML type it represents. Sometimes, the application will have the same QML type used in really different ways, defining different children to them. For example, an application could have a Bar used once as a bar for the top and once as a bar for the bottom. In this case we have to put all the methods for the top bar and for the bottom bar on the same Bar emulator. It would be a lot better if the name of the emulator is not fixed, and we can use something else to select it. What comes to mind after talking with thomi is to select the right emulator based on the attributes it has. Something like: class TobBar(BaseEmulator): emulator_attributes = {'type': 'Bar', 'objectName': 'top'} def top_bar_method(self): .... class BottomBar(BaseEmulator): emulator_attributes = {'type': 'Bar', 'objectName': 'bottom'} def bottom_bar_method(self): .... When using autopilot emulators, we have to name the emulator class the same way as the QML type it represents. Sometimes, the application will have the same QML type used in really different ways, defining different children to them. For example, an application could have a Bar used once as a bar for the top and once as a bar for the bottom. In this case we have to put all the methods for the top bar and for the bottom bar on the same Bar emulator. It would be a lot better if the name of the emulator is not fixed, and we can use something else to select it. What comes to mind after talking with thomi is to select the right emulator based on the attributes it has. Something like: class TopBar(BaseEmulator):     emulator_attributes = {'type': 'Bar', 'objectName': 'top'}     def top_bar_method(self): .... class BottomBar(BaseEmulator):     emulator_attributes = {'type': 'Bar', 'objectName': 'bottom'}     def bottom_bar_method(self): ....
2013-09-12 15:08:31 Thomi Richards autopilot: status New Triaged
2013-09-12 15:08:39 Thomi Richards autopilot: importance Undecided High
2014-02-17 22:21:41 Thomi Richards autopilot: assignee Max Brustkern (nuclearbob)
2014-02-20 17:20:15 Max Brustkern branch linked lp:~nuclearbob/autopilot/bug1210260
2014-02-20 17:20:25 Max Brustkern autopilot: status Triaged In Progress
2014-03-21 02:52:10 Launchpad Janitor autopilot (Ubuntu): status New Fix Released
2014-03-25 15:12:00 Max Brustkern autopilot: status In Progress Fix Released