OSDN Git Service

test-throttle: use enum ThrottleDirection
authorzhenwei pi <pizhenwei@bytedance.com>
Fri, 28 Jul 2023 02:19:59 +0000 (10:19 +0800)
committerHanna Czenczek <hreitz@redhat.com>
Tue, 29 Aug 2023 08:49:24 +0000 (10:49 +0200)
commit1322f63df52e23ecf47cc9a5842ec3099c517183
tree22b43ade40c9e56cfef547ad4e180a2b2013c716
parent8ba02c24ea25a7a1fa4931e266af7916c115da2c
test-throttle: use enum ThrottleDirection

Use enum ThrottleDirection instead in the throttle test codes.

Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Hanna Czenczek <hreitz@redhat.com>
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Message-Id: <20230728022006.1098509-3-pizhenwei@bytedance.com>
Signed-off-by: Hanna Czenczek <hreitz@redhat.com>
tests/unit/test-throttle.c