__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/* SPDX-License-Identifier: GPL-2.0 */ /* * KUnit API to save and access test attributes * * Copyright (C) 2023, Google LLC. * Author: Rae Moar <[email protected]> */ #ifndef _KUNIT_ATTRIBUTES_H #define _KUNIT_ATTRIBUTES_H /* * struct kunit_attr_filter - representation of attributes filter with the * attribute object and string input */ struct kunit_attr_filter { struct kunit_attr *attr; char *input; }; /* * Returns the name of the filter's attribute. */ const char *kunit_attr_filter_name(struct kunit_attr_filter filter); /* * Print all test attributes for a test case or suite. * Output format for test cases: "# <test_name>.<attribute>: <value>" * Output format for test suites: "# <attribute>: <value>" */ void kunit_print_attr(void *test_or_suite, bool is_test, unsigned int test_level); /* * Returns the number of fitlers in input. */ int kunit_get_filter_count(char *input); /* * Parse attributes filter input and return an objects containing the * attribute object and the string input of the next filter. */ struct kunit_attr_filter kunit_next_attr_filter(char **filters, int *err); /* * Returns a copy of the suite containing only tests that pass the filter. */ struct kunit_suite *kunit_filter_attr_tests(const struct kunit_suite *const suite, struct kunit_attr_filter filter, char *action, int *err); #endif /* _KUNIT_ATTRIBUTES_H */
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| assert.h | File | 7.86 KB | 0644 |
|
| attributes.h | File | 1.35 KB | 0644 |
|
| clk.h | File | 1008 B | 0644 |
|
| device.h | File | 2.77 KB | 0644 |
|
| of.h | File | 3.42 KB | 0644 |
|
| platform_device.h | File | 607 B | 0644 |
|
| resource.h | File | 15.69 KB | 0644 |
|
| skbuff.h | File | 1.34 KB | 0644 |
|
| static_stub.h | File | 3.6 KB | 0644 |
|
| test-bug.h | File | 2.05 KB | 0644 |
|
| test.h | File | 59.66 KB | 0644 |
|
| try-catch.h | File | 2.23 KB | 0644 |
|
| visibility.h | File | 1.04 KB | 0644 |
|