From cf97b30084ecf9f2ccbe272d2dafa6dc6cd00f89 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 18 Sep 2015 15:21:23 -0700 Subject: [PATCH] [Mobile] Add empty specs --- .../browse/test/BackArrowControllerSpec.js | 28 ++++++++++++++++++ .../browse/test/BrowseTreeControllerSpec.js | 28 ++++++++++++++++++ platform/commonUI/browse/test/suite.json | 2 ++ .../commonUI/mobile/test/MCTDeviceSpec.js | 29 +++++++++++++++++++ .../test/MobileBrowseTreeControllerSpec.js | 29 +++++++++++++++++++ platform/commonUI/mobile/test/suite.json | 4 ++- 6 files changed, 119 insertions(+), 1 deletion(-) create mode 100644 platform/commonUI/browse/test/BackArrowControllerSpec.js create mode 100644 platform/commonUI/browse/test/BrowseTreeControllerSpec.js create mode 100644 platform/commonUI/mobile/test/MCTDeviceSpec.js create mode 100644 platform/commonUI/mobile/test/MobileBrowseTreeControllerSpec.js diff --git a/platform/commonUI/browse/test/BackArrowControllerSpec.js b/platform/commonUI/browse/test/BackArrowControllerSpec.js new file mode 100644 index 0000000000..9dfe0b5d2e --- /dev/null +++ b/platform/commonUI/browse/test/BackArrowControllerSpec.js @@ -0,0 +1,28 @@ +/***************************************************************************** + * Open MCT Web, Copyright (c) 2014-2015, United States Government + * as represented by the Administrator of the National Aeronautics and Space + * Administration. All rights reserved. + * + * Open MCT Web is licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + * Open MCT Web includes source code licensed under additional open source + * licenses. See the Open Source Licenses file (LICENSES.md) included with + * this source code distribution or the Licensing information page available + * at runtime from the About dialog for additional information. + *****************************************************************************/ +/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/ + +define( + ["../src/BackArrowController"], + function (BackArrowController) { + } +); diff --git a/platform/commonUI/browse/test/BrowseTreeControllerSpec.js b/platform/commonUI/browse/test/BrowseTreeControllerSpec.js new file mode 100644 index 0000000000..7783d163d6 --- /dev/null +++ b/platform/commonUI/browse/test/BrowseTreeControllerSpec.js @@ -0,0 +1,28 @@ +/***************************************************************************** + * Open MCT Web, Copyright (c) 2014-2015, United States Government + * as represented by the Administrator of the National Aeronautics and Space + * Administration. All rights reserved. + * + * Open MCT Web is licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + * Open MCT Web includes source code licensed under additional open source + * licenses. See the Open Source Licenses file (LICENSES.md) included with + * this source code distribution or the Licensing information page available + * at runtime from the About dialog for additional information. + *****************************************************************************/ +/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/ + +define( + ["../src/BrowseTreeController"], + function (BrowseTreeController) { + } +); diff --git a/platform/commonUI/browse/test/suite.json b/platform/commonUI/browse/test/suite.json index e3a8f11c28..546cff128e 100644 --- a/platform/commonUI/browse/test/suite.json +++ b/platform/commonUI/browse/test/suite.json @@ -1,6 +1,8 @@ [ + "BackArrowController", "BrowseController", "BrowseObjectController", + "BrowseTreeController", "MenuArrowController", "creation/CreateAction", "creation/CreateActionProvider", diff --git a/platform/commonUI/mobile/test/MCTDeviceSpec.js b/platform/commonUI/mobile/test/MCTDeviceSpec.js new file mode 100644 index 0000000000..3b9bf9dcff --- /dev/null +++ b/platform/commonUI/mobile/test/MCTDeviceSpec.js @@ -0,0 +1,29 @@ +/***************************************************************************** + * Open MCT Web, Copyright (c) 2014-2015, United States Government + * as represented by the Administrator of the National Aeronautics and Space + * Administration. All rights reserved. + * + * Open MCT Web is licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + * Open MCT Web includes source code licensed under additional open source + * licenses. See the Open Source Licenses file (LICENSES.md) included with + * this source code distribution or the Licensing information page available + * at runtime from the About dialog for additional information. + *****************************************************************************/ +/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/ + +define( + ['../src/MCTDevice'], + function (MCTDevice) { + "use strict"; + } +); diff --git a/platform/commonUI/mobile/test/MobileBrowseTreeControllerSpec.js b/platform/commonUI/mobile/test/MobileBrowseTreeControllerSpec.js new file mode 100644 index 0000000000..daefa35e62 --- /dev/null +++ b/platform/commonUI/mobile/test/MobileBrowseTreeControllerSpec.js @@ -0,0 +1,29 @@ +/***************************************************************************** + * Open MCT Web, Copyright (c) 2014-2015, United States Government + * as represented by the Administrator of the National Aeronautics and Space + * Administration. All rights reserved. + * + * Open MCT Web is licensed under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0. + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + * Open MCT Web includes source code licensed under additional open source + * licenses. See the Open Source Licenses file (LICENSES.md) included with + * this source code distribution or the Licensing information page available + * at runtime from the About dialog for additional information. + *****************************************************************************/ +/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/ + +define( + ['../src/MobileBrowseTreeController'], + function (MobileBrowseTreeController) { + "use strict"; + } +); diff --git a/platform/commonUI/mobile/test/suite.json b/platform/commonUI/mobile/test/suite.json index 4cf0d3ee0d..4858ba366e 100644 --- a/platform/commonUI/mobile/test/suite.json +++ b/platform/commonUI/mobile/test/suite.json @@ -1,3 +1,5 @@ [ - "AgentService" + "AgentService", + "MCTDevice", + "MobileBrowseTreeController" ]