diff options
| author | Tom Cherry <tomcherry@google.com> | 2015-07-23 17:53:11 -0700 |
|---|---|---|
| committer | Tom Cherry <tomcherry@google.com> | 2015-07-30 13:37:23 -0700 |
| commit | fa0c21c94ccb98bfa5cf3cc7a6b220be4a5fa378 (patch) | |
| tree | db32b026384bc809486ef7bba9bf74131a8d9be5 /base/test_utils.cpp | |
| parent | fac3bf35af412292e1a955510095c4234dc0fd53 (diff) | |
init: Create classes for Action and Command
This creates the concept of 'event_trigger' vs 'property_trigger'
Previously these were merged into one, such that 'on property:a=b &&
property:b=c' is triggered when properties a=b and b=c as expected,
however combinations such as 'on early-boot && boot' would trigger
during both early-boot and boot. Similarly, 'on early-boot &&
property:a=b' would trigger on both early-boot and again when property
a equals b.
The event trigger distinction ensures that the first example fails to
parse and the second example only triggers on early-boot if
property a equals b.
This coalesces Actions with the same triggers into a single Action object
Change-Id: I8f661d96e8a2d40236f252301bfe10979d663ea6
Diffstat (limited to 'base/test_utils.cpp')
0 files changed, 0 insertions, 0 deletions
