Framework: Add required header file and namespace element instead add all

pull/8008/head
Deepika 2018-09-05 11:59:36 -05:00
parent a6651b868b
commit 1fe633799d
6 changed files with 4 additions and 7 deletions

View File

@ -15,8 +15,6 @@
* limitations under the License.
*/
#include "mbed.h"
#include "rtos.h"
#include "mbed_stats.h"
#include "cmsis_os2.h"
#include "greentea-client/test_env.h"

View File

@ -18,7 +18,6 @@
#include <ctype.h>
#include <cstdio>
#include <string.h>
#include "mbed.h"
#include "greentea-client/test_env.h"
#include "greentea-client/greentea_serial.h"
#include "greentea-client/greentea_metrics.h"

View File

@ -15,7 +15,6 @@
* limitations under the License.
*/
#include "mbed.h"
#include "mbed_critical.h"
#include "utest/utest.h"

View File

@ -58,7 +58,9 @@ utest_v1_scheduler_t utest_v1_get_scheduler()
#ifdef YOTTA_MBED_HAL_VERSION_STRING
# include "mbed-hal/us_ticker_api.h"
#else
# include "mbed.h"
#include "platform/SingletonPtr.h"
#include "Timeout.h"
using mbed::Timeout;
#endif
// only one callback is active at any given time

View File

@ -17,7 +17,6 @@
#ifdef UTEST_STACK_TRACE
#include "greentea-client/test_env.h"
#include "mbed.h"
#include "utest/utest.h"
#include "unity/unity.h"
#include "utest/utest_stack_trace.h"

View File

@ -22,7 +22,7 @@
#ifndef UTEST_SCHEDULER_H
#define UTEST_SCHEDULER_H
#include "mbed.h"
#include "hal/ticker_api.h"
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>