Skip to content

Commit c1363c7

Browse files
unicornxRbb666
authored andcommitted
utest: Improve the strings displayed in the menu
Use "Test" instead of "Unit Testcases" to make string shorter. Use uppercase to make it look more eye-catching. Signed-off-by: Chen Wang <[email protected]>
1 parent 04439c2 commit c1363c7

File tree

13 files changed

+71
-71
lines changed

13 files changed

+71
-71
lines changed

Kconfig.utestcases

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ menu "RT-Thread Utestcases"
99

1010
rsource "src/utest/Kconfig"
1111

12-
menu "Components"
12+
menu "Kernel Components"
1313

1414
menu "Drivers"
1515
rsource "components/drivers/core/utest/Kconfig"

components/dfs/utest/Kconfig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
if RT_USING_DFS
2-
menu "File System Unit Testcase"
2+
menu "File System"
33

44
config RT_UTEST_TC_USING_DFS_API
5-
bool "DFS API test"
5+
bool "DFS API Test"
66
default n
77
help
88
Enable DFS native API unit tests including file operations like open,
@@ -11,29 +11,29 @@ if RT_USING_DFS
1111
if RT_UTEST_TC_USING_DFS_API
1212

1313
config RT_UTEST_TC_USING_POSIX_API
14-
bool "POSIX API test"
14+
bool "POSIX API Test"
1515
default n
1616
depends on RT_USING_POSIX_FS
1717
help
1818
Enable POSIX filesystem API unit tests including file operations,
1919
directory operations, and file permission tests
2020

2121
config RT_UTEST_DFS_MNT_PATH
22-
string "Mount path for DFS test"
22+
string "Mount Path for DFS Test"
2323
default ""
2424
help
2525
Configure the mount point path where the test filesystem will be mounted.
2626
All test files and directories will be created under this path
2727

2828
config RT_UTEST_DFS_FS_TYPE
29-
string "Filesystem type for test"
29+
string "Filesystem Type for Test"
3030
default "elm"
3131
help
3232
Configure the filesystem type for unit test (e.g., elm, fat).
3333
This will be used for dfs_mkfs() and dfs_mount() operations
3434

3535
config RT_UTEST_DFS_BLOCK_DEV
36-
string "Block device name for test"
36+
string "Block Device Name for Test"
3737
default "sd0"
3838
help
3939
Configure the block device name for unit test (e.g., sd0, sd1).
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
if RT_USING_AUDIO
22
config RT_UTEST_USING_AUDIO_DRIVER
3-
bool "Enable rt_audio_api testcase"
3+
bool "Audio Test"
44
default n
55
endif
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
config RT_UTEST_DRIVERS_CORE
2-
bool "Enable testcase for drivers core"
2+
bool "Drivers Core Test"
33
default n
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
menu "IPC Unit Testcases"
1+
menu "IPC Test"
22
depends on RT_USING_DEVICE_IPC
33

44
config RT_UTEST_COMPLETION
5-
bool "rt_completion testcase"
5+
bool "IPC Completion Test"
66
default n
77

88
config RT_UTEST_WORKQUEUE
9-
bool "rt_workqueue testcase"
9+
bool "IPC Workqueue Test"
1010
default n
1111

1212
endmenu

components/drivers/serial/utest/Kconfig

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
1-
menu "Serial Unit Testcases"
1+
menu "Serial Test"
22

33
config RT_UTEST_SERIAL_BYPASS
4-
bool "Serial Bypass testcases"
4+
bool "Serial Bypass Test"
55
default n
66
depends on RT_USING_SERIAL_BYPASS
77

88
config RT_UTEST_SERIAL_V2
9-
bool "Serial V2 testcases"
9+
bool "Serial V2 Test"
1010
default n
1111
depends on RT_USING_SERIAL_V2
1212

1313
if RT_UTEST_SERIAL_V2
1414

1515
config RT_SERIAL_TC_DEVICE_NAME
16-
string "the device name for serial test"
16+
string "Device Name for Serial Test"
1717
default "uart2"
1818

1919
config RT_SERIAL_TC_RXBUF_SIZE
20-
int "the rx buffer size for serial test"
20+
int "RX Buffer Size for Serial Test"
2121
default 128
2222

2323
config RT_SERIAL_TC_TXBUF_SIZE
24-
int "the tx buffer size for serial test"
24+
int "TX Buffer Size for Serial Test"
2525
default 128
2626

2727
config RT_SERIAL_TC_SEND_ITERATIONS
28-
int "the number of iterations for the test routine."
28+
int "Number of Iterations for Test Routines"
2929
default 100
3030

3131
config RT_UTEST_SERIAL_QEMU
32-
bool "qemu dedicated tests"
32+
bool "QEMU Dedicated Test"
3333
default n
3434

3535
config RT_UTEST_SERIAL_POSIX
36-
bool "Serial posix testcase"
36+
bool "Serial POSIX Test"
3737
default n
3838
select RT_USING_DFS
3939
select RT_USING_POSIX_FS
@@ -42,11 +42,11 @@ menu "Serial Unit Testcases"
4242
if RT_UTEST_SERIAL_POSIX
4343

4444
config RT_SERIAL_POSIX_TC_DEVICE_NAME
45-
string "the device name for serial posix test"
45+
string "Device Name for Serial POSIX Test"
4646
default "dev/uart2"
4747

4848
config RT_SERIAL_POSIX_TC_SEND_ITERATIONS
49-
int "the number of iterations for the posix test routine."
49+
int "Number of Iterations for POSIX Test Routines"
5050
default 100
5151

5252
endif

components/drivers/smp_call/utest/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
menu "SMP-Call Unit Testcases"
1+
menu "SMP-Call Test"
22

33
config RT_UTEST_SMP_CALL_FUNC
4-
bool "SMP-Call smoke test"
4+
bool "SMP-Call Smoke Test"
55
default n
66
depends on RT_USING_SMP
77

components/libc/cplusplus/utest/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
menu "CPP11 Testcase"
1+
menu "CPP11"
22

33
config RT_UTEST_CPP11_THREAD
4-
bool "Cpp11 thread test"
4+
bool "Cpp11 Thread Test"
55
select RT_USING_CPLUSPLUS
66
select RT_USING_CPLUSPLUS11
77
default n

components/net/utest/Kconfig

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
if RT_USING_LWIP
2-
menu "LwIP Network Unit Testcase"
2+
menu "LwIP"
33

44
config RT_UTEST_TC_USING_LWIP
5-
bool "lwIP API test"
5+
bool "lwIP API Test"
66
help
77
Enable lwIP network stack unit tests including DNS resolution,
88
TCP/UDP socket operations, and network interface tests
99

1010
if RT_UTEST_TC_USING_LWIP
1111

1212
config RT_UTEST_LWIP_DNS_TEST
13-
bool "DNS resolution test"
13+
bool "DNS Resolution Test"
1414
default y
1515
help
1616
Enable DNS resolution unit tests including gethostbyname()
@@ -20,7 +20,7 @@ if RT_USING_LWIP
2020
without hardcoded IP comparisons.
2121

2222
config RT_UTEST_LWIP_TCP_TEST
23-
bool "TCP socket test"
23+
bool "TCP Socket Test"
2424
default y
2525
help
2626
Enable TCP socket unit tests including client-server communication
@@ -30,7 +30,7 @@ if RT_USING_LWIP
3030
and connection management (shutdown, close).
3131

3232
config RT_UTEST_LWIP_UDP_TEST
33-
bool "UDP socket test"
33+
bool "UDP Socket Test"
3434
default y
3535
help
3636
Enable UDP socket unit tests including datagram transmission
@@ -39,23 +39,23 @@ if RT_USING_LWIP
3939
functions, and timeout handling for receive operations.
4040

4141
config RT_UTEST_LWIP_ICMP_TEST
42-
bool "ICMP ping test"
42+
bool "ICMP Ping Test"
4343
default y
4444
help
4545
Enable ICMP ping unit tests using raw sockets to send
4646
ICMP echo requests and receive echo replies. Tests verify
4747
basic ICMP functionality with loopback address (127.0.0.1).
4848

4949
config RT_UTEST_LWIP_SOCKET_OPT_TEST
50-
bool "Socket options test"
50+
bool "Socket Options Test"
5151
default y
5252
help
5353
Enable socket options unit tests including setsockopt()
5454
and getsockopt() functions. Tests verify setting and
5555
retrieving socket options such as SO_REUSEADDR.
5656

5757
config RT_UTEST_LWIP_ADDR_CONV_TEST
58-
bool "Address conversion test"
58+
bool "Address Conversion Test"
5959
default y
6060
help
6161
Enable address conversion unit tests including inet_addr()
@@ -64,7 +64,7 @@ if RT_USING_LWIP
6464
Tests verify proper conversion functionality.
6565

6666
config RT_UTEST_LWIP_NETIF_TEST
67-
bool "Network interface management test"
67+
bool "Network Interface Management Test"
6868
default y
6969
help
7070
Enable network interface management unit tests including
@@ -73,30 +73,30 @@ if RT_USING_LWIP
7373
default interface configuration.
7474

7575
config RT_UTEST_LWIP_TCP_PORT
76-
int "TCP test port"
76+
int "TCP Test Port"
7777
default 1234
7878
range 1024 65535
7979
help
8080
Configure the TCP port number for unit test communication.
8181
Must be in the range 1024-65535 to avoid system ports
8282

8383
config RT_UTEST_LWIP_UDP_PORT
84-
int "UDP test port"
84+
int "UDP Test Port"
8585
default 1235
8686
range 1024 65535
8787
help
8888
Configure the UDP port number for unit test communication.
8989
Must be in the range 1024-65535 to avoid system ports
9090

9191
config RT_UTEST_LWIP_TEST_URL
92-
string "Test domain name"
92+
string "Test Domain Name"
9393
default "www.rt-thread.org"
9494
help
9595
Configure the domain name for DNS resolution tests.
9696
This domain will be resolved to verify DNS functionality
9797

9898
config RT_UTEST_LWIP_TEST_ADDR
99-
string "Expected IP address"
99+
string "Expected IP Address"
100100
default "180.163.146.111"
101101
help
102102
Configure the expected IP address for DNS resolution verification.
@@ -107,10 +107,10 @@ if RT_USING_LWIP
107107
endif
108108

109109
if RT_USING_NETDEV
110-
menu "Netdev Network Unit Testcase"
110+
menu "Netdev"
111111

112112
config RT_UTEST_TC_USING_NETDEV
113-
bool "netdev api test"
113+
bool "Netdev API Test"
114114
help
115115
Enable netdev network device framework unit tests.
116116

@@ -126,7 +126,7 @@ if RT_USING_NETDEV
126126
if RT_UTEST_TC_USING_NETDEV
127127

128128
config RT_UTEST_DEFAULT_NETDEV_NAME
129-
string "Default netdev name"
129+
string "Default Netdev Name"
130130
default "e0"
131131
help
132132
Network interface name for tests. Common values:

components/utilities/utest/utest/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
menu "Utest Self Testcase"
1+
menu "Utest Framework"
22

33
config RT_UTEST_SELF_PASS
4-
bool "UTEST Self-test"
4+
bool "UTEST Framework Test"
55
select RT_USING_UTEST
66
default n
77

0 commit comments

Comments
 (0)