michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: package org.mozilla.gecko.tests.helpers; michael@0: michael@0: import org.mozilla.gecko.tests.UITestContext; michael@0: michael@0: /** michael@0: * AssertionHelper is statically imported in many places. Thus we want to hide michael@0: * its init method outside of this package. We initialize the remaining helper michael@0: * classes from here so that all the init methods are package protected. michael@0: */ michael@0: public final class HelperInitializer { michael@0: michael@0: private HelperInitializer() { /* To disallow instantiation. */ } michael@0: michael@0: public static void init(final UITestContext context) { michael@0: // Other helpers make assertions so init AssertionHelper first. michael@0: AssertionHelper.init(context); michael@0: michael@0: DeviceHelper.init(context); michael@0: GeckoHelper.init(context); michael@0: JavascriptBridge.init(context); michael@0: NavigationHelper.init(context); michael@0: WaitHelper.init(context); michael@0: } michael@0: }