Class MixinBasedBrowserTest was added. This class expands its base class,...
Class MixinBasedBrowserTest was added. This class expands its base class, InProcessBrowserTest, by supporting adding mixins. Mixins can be used to add some features not related directly to the testing process in order not to make the test class too complicated and to set up them in a proper time (at the same time when the corresponding set ups for the main test are run). A mixin should be a class inherited from MixinBasedBrowserTest::Mixin. Test which wants to use some mixin should call AddMixin(mixin_) from its constructor, where mixin_ should be an instance of e.g. MixinYouWantToUse. Also, now LoginManagerTest is inherited from MixinBasedBrowserTest. BUG=395653 Review URL: https://codereview.chromium.org/574703002 Cr-Commit-Position: refs/heads/master@{#295954}
Showing
Please register or sign in to comment