commit | f1182f105732eae5533c7e7e1b34c497b2939bdc | [log] [tgz] |
---|---|---|
author | Kangping Dong <wgtdkp@google.com> | Sat Mar 09 18:43:39 2024 +0800 |
committer | Kangping Dong <wgtdkp@google.com> | Sat Mar 16 20:00:40 2024 +0800 |
tree | c159886f7b1d51a484e907c724551a75c6a55b7c | |
parent | df0a16ccf40874af7a3e151a013d02a05f4fa6fa [diff] |
[Thread] use TestRule to filter Thread tests It's error-prone to check dependent feature in both setUp() and tearDown() to filter specific Thread tests. This commit adds `ThreadFeatureCheckRule` and refactor the Thread tests to use the new test rule to filter test cases. Test: manually verified the annonated tests are skipped with ASSUMPTION_FAILED when the dependency feature is not supported Change-Id: I7a5efe6bda53fc1a6e204f6f40dd3ab2c3940988