[Telemetry] discover.DiscoverClasses() does not add inheritted classes.
commitf5c0072357913de76301f883a01ae13ae335768d
authorshadi@chromium.org <shadi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 30 Aug 2013 20:51:05 +0000 (30 20:51 +0000)
committershadi@chromium.org <shadi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 30 Aug 2013 20:51:05 +0000 (30 20:51 +0000)
tree4f4619102312ba8695f10d2c2534ce37bf7f82a5
parent357b18ca88fb9b50cdc548aefc96f4b512b80822
[Telemetry] discover.DiscoverClasses() does not add inheritted classes.

If a PageAction inherits another PageAction class, then DiscoverClasses()
might mess up the map from simple module name to class object name. See
bug for more details.

BUG=281568

Review URL: https://chromiumcodereview.appspot.com/23602015

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220649 0039d316-1c4b-4281-b951-d872f2087c98
tools/telemetry/telemetry/core/discover.py
tools/telemetry/telemetry/core/discover_unittest.py
tools/telemetry/unittest_data/discoverable_classes/another_discover_dummyclass.py [new file with mode: 0644]