takashi kadono / Mbed OS Nucleo_446

Dependencies:   ssd1331

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers test_predefined_platforms.py Source File

test_predefined_platforms.py

00001 """
00002 Copyright 2018 ARM Limited
00003 Licensed under the Apache License, Version 2.0 (the "License");
00004 you may not use this file except in compliance with the License.
00005 You may obtain a copy of the License at
00006 
00007     http://www.apache.org/licenses/LICENSE-2.0
00008 
00009 Unless required by applicable law or agreed to in writing, software
00010 distributed under the License is distributed on an "AS IS" BASIS,
00011 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00012 See the License for the specific language governing permissions and
00013 limitations under the License.
00014 """
00015 
00016 from icetea_lib.bench import Bench
00017 
00018 
00019 class Testcase(Bench):
00020     def __init__(self):
00021         Bench.__init__(self,
00022                        name="test_predefined_platforms",
00023                        title="Test a test case which have support for multiple platforms",
00024                        status="released",
00025                        purpose="Just for testing scripts",
00026                        component=[],
00027                        type="regression",
00028                        requirements={
00029                            "duts": {
00030                                '*': {
00031                                    "count": 1,
00032                                    "type": "hardware",
00033                                    "allowed_platforms": [
00034                                        "LPC1768", "KL25Z", "K64F", "K66F", "K22F", "LPC4088", "LPC1549",
00035                                        "NUCLEO_F072RB", "NUCLEO_F091RC", "NUCLEO_F302R8", "NUCLEO_F303K8",
00036                                        "NUCLEO_F303RE", "NUCLEO_F207ZG", "NUCLEO_F334R8", "NUCLEO_F303ZE",
00037                                        "NUCLEO_L053R8", "DISCO_L072CZ_LRWAN1", "NUCLEO_L073RZ", "NUCLEO_L152RE",
00038                                        "NUCLEO_F410RB", "NUCLEO_F446RE", "NUCLEO_F446ZE", "NUCLEO_F429ZI",
00039                                        "DISCO_F407VG", "NUCLEO_F746ZG", "NUCLEO_L476RG", "DISCO_L053C8", "DISCO_F334C8",
00040                                        "DISCO_L475VG_IOT01A", "DISCO_L476VG", "DISCO_F469NI", "DISCO_F429ZI",
00041                                        "DISCO_F769NI", "ARCH_MAX", "MAX32600MBED", "MOTE_L152RC", "B96B_F446VE"
00042                                    ],
00043                                    "application": {
00044                                        "name": "TEST_APPS-device-exampleapp"
00045                                    }
00046                                }
00047                            }
00048                        }
00049                        )
00050 
00051     def setup(self):
00052         pass
00053 
00054     def case(self):
00055         pass
00056 
00057     def teardown(self):
00058         pass