Skip to content

Commit 0bda46d

Browse files
committed
Moving all unit tests to use hyphenated test name
1 parent ebd1c16 commit 0bda46d

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

UNITTESTS/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ For example to create a unit test for `rtos/Semaphore.cpp`:
225225
1. Create a directory for unit test files in `UNITTESTS/rtos/Semaphore`.
226226
2. Create a test definition file `UNITTESTS/rtos/Semaphore/unittest.cmake` with the following content:
227227
```
228-
set(TEST_SUITE_NAME "rtos_Semaphore")
228+
set(TEST_SUITE_NAME "rtos-Semaphore")
229229
230230
set(unittest-sources
231231
stubs/mbed_assert.c

UNITTESTS/features/cellular/framework/AT/AT_CellularBase/unittest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
####################
55

66
# Unit test suite name
7-
set(TEST_SUITE_NAME "cellular_framework_AT_AT_CellularBase")
7+
set(TEST_SUITE_NAME "cellular-framework-AT-AT_CellularBase")
88

99
# Add test specific include paths
1010
set(unittest-includes ${unittest-includes}

UNITTESTS/features/cellular/framework/common/util/unittest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
####################
55

66
# Unit test suite name
7-
set(TEST_SUITE_NAME "cellular_framework_common_util")
7+
set(TEST_SUITE_NAME "cellular-framework-common-util")
88

99
# Add test specific include paths
1010
set(unittest-includes ${unittest-includes}

UNITTESTS/features/netsocket/InternetSocket/unittest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
####################
55

66
# Unit test suite name
7-
set(TEST_SUITE_NAME "features_netsocket_InternetSocket")
7+
set(TEST_SUITE_NAME "features-netsocket-InternetSocket")
88

99
set(unittest-sources
1010
../features/netsocket/SocketAddress.cpp

UNITTESTS/features/netsocket/NetworkInterface/unittest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
####################
55

66
# Unit test suite name
7-
set(TEST_SUITE_NAME "features_netsocket_NetworkInterface")
7+
set(TEST_SUITE_NAME "features-netsocket-NetworkInterface")
88

99
# Source files
1010
set(unittest-sources

UNITTESTS/features/netsocket/TCPSocket/unittest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
####################
55

66
# Unit test suite name
7-
set(TEST_SUITE_NAME "features_netsocket_TCPSocket")
7+
set(TEST_SUITE_NAME "features-netsocket-TCPSocket")
88

99
set(unittest-sources
1010
../features/netsocket/SocketAddress.cpp

UNITTESTS/features/netsocket/UDPSocket/unittest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
####################
55

66
# Unit test suite name
7-
set(TEST_SUITE_NAME "features_netsocket_UDPSocket")
7+
set(TEST_SUITE_NAME "features-netsocket-UDPSocket")
88

99
set(unittest-sources
1010
../features/netsocket/SocketAddress.cpp

UNITTESTS/platform/CircularBuffer/unittest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
####################
55

66
# Unit test suite name
7-
set(TEST_SUITE_NAME "platform_CircularBuffer")
7+
set(TEST_SUITE_NAME "platform-CircularBuffer")
88

99
set(unittest-sources
1010
)

0 commit comments

Comments
 (0)