Home
last modified time | relevance | path

Searched refs:test_policy (Results 1 – 3 of 3) sorted by relevance

/external/autotest/client/cros/enterprise/
Dtest_policy.py33 test_policy = policy.Policy()
34 test_policy.name = 'Test'
35 test_policy.level = 1
36 test_policy.value = 'TheValue'
37 test_policy.scope = 'test_value'
38 test_policy.source = 'Cloud'
39 self.assertEqual(test_policy.name, 'Test')
40 self.assertEqual(test_policy.level, 1)
41 self.assertEqual(test_policy.scope, 'test_value')
42 self.assertEqual(test_policy.source, 'Cloud')
[all …]
Dtest_policy_group.py36 test_policy = {'Extension1': {'Policy1': 'Value1'},
42 self.policy_group_object.set_extension_policy(test_policy)
133 test_policy = {'Extension1': {'Policy1': 'Value1'},
136 policy_group_object.set_extension_policy(test_policy)
137 for Extension in test_policy:
140 for policy in test_policy[Extension]:
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/
D4-1.c23 int old_policy, new_policy, test_policy; in main() local
54 test_policy = sched_getscheduler(getpid()); in main()
55 if (test_policy == -1) { in main()
61 test_policy == new_policy) { in main()
66 test_policy == old_policy)) { in main()
70 if (test_policy == old_policy) { in main()