@ -177,9 +177,9 @@ static void test_serialize_expand_notification_panel(void) {
assert ( ! memcmp ( buf , expected , sizeof ( expected ) ) ) ;
}
static void test_serialize_collapse_ notification_ panel( void ) {
static void test_serialize_collapse_ panels ( void ) {
struct control_msg msg = {
. type = CONTROL_MSG_TYPE_COLLAPSE_ NOTIFICATION_ PANEL,
. type = CONTROL_MSG_TYPE_COLLAPSE_ PANELS ,
} ;
unsigned char buf [ CONTROL_MSG_MAX_SIZE ] ;
@ -187,7 +187,7 @@ static void test_serialize_collapse_notification_panel(void) {
assert ( size = = 1 ) ;
const unsigned char expected [ ] = {
CONTROL_MSG_TYPE_COLLAPSE_ NOTIFICATION_ PANEL,
CONTROL_MSG_TYPE_COLLAPSE_ PANELS ,
} ;
assert ( ! memcmp ( buf , expected , sizeof ( expected ) ) ) ;
}
@ -274,7 +274,7 @@ int main(int argc, char *argv[]) {
test_serialize_inject_scroll_event ( ) ;
test_serialize_back_or_screen_on ( ) ;
test_serialize_expand_notification_panel ( ) ;
test_serialize_collapse_ notification_ panel( ) ;
test_serialize_collapse_ panels ( ) ;
test_serialize_get_clipboard ( ) ;
test_serialize_set_clipboard ( ) ;
test_serialize_set_screen_power_mode ( ) ;