mbed-os
Fork of mbed-os by
features/unsupported/tests/mbed/detect/main.cpp@1:3deb71413561, 2017-07-20 (annotated)
- Committer:
- xuaner
- Date:
- Thu Jul 20 14:26:57 2017 +0000
- Revision:
- 1:3deb71413561
- Parent:
- 0:f269e3021894
mbed_os
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
elessair | 0:f269e3021894 | 1 | #include "mbed.h" |
elessair | 0:f269e3021894 | 2 | #include "test_env.h" |
elessair | 0:f269e3021894 | 3 | |
elessair | 0:f269e3021894 | 4 | int main() { |
elessair | 0:f269e3021894 | 5 | MBED_HOSTTEST_TIMEOUT(10); |
elessair | 0:f269e3021894 | 6 | MBED_HOSTTEST_SELECT(detect_auto); |
elessair | 0:f269e3021894 | 7 | MBED_HOSTTEST_DESCRIPTION(Simple detect test); |
elessair | 0:f269e3021894 | 8 | MBED_HOSTTEST_START("DTCT_1"); |
elessair | 0:f269e3021894 | 9 | |
elessair | 0:f269e3021894 | 10 | notify_start(); |
elessair | 0:f269e3021894 | 11 | printf("MBED: Target '%s'\r\n", TEST_SUITE_TARGET_NAME); |
elessair | 0:f269e3021894 | 12 | printf("MBED: Test ID '%s'\r\n", TEST_SUITE_TEST_ID); |
elessair | 0:f269e3021894 | 13 | printf("MBED: UUID '%s'\r\n", TEST_SUITE_UUID); |
elessair | 0:f269e3021894 | 14 | MBED_HOSTTEST_RESULT(true); |
elessair | 0:f269e3021894 | 15 | } |