예제 #1
0
        public static void DefineScript()
        {
            sap.ui.define(new string[] {
                "sap/ui/test/Opa5",
                "manu/toolpageapp/fv/test/integration/pages/Common",
                "sap/ui/test/opaQunit",
                "manu/toolpageapp/fv/test/integration/pages/App",
                "manu/toolpageapp/fv/test/integration/pages/Settings",
                "manu/toolpageapp/fv/test/integration/pages/Statistics",
                "manu/toolpageapp/fv/test/integration/pages/Home"
            },
                          new Action <sap.ui.test.Opa5, object>((Opa5, Common) => {
                sap.ui.test.Opa5.extendConfig(new sap.ui.test.Opa5Config {
                    arrangements  = new Common(),
                    viewNamespace = "manu.toolpageapp.fv.view."
                });

                sap.ui.require(new string[] {
                    "manu/toolpageapp/fv/test/integration/NavigationJourney"
                },
                               new Action(() => {
                    QUnit.start();
                })
                               );
            })
                          );
        }