bevy/crates/bevy_ecs/src/system
JoJoJet 98954311b3
Use actual tests for SystemParam regression tests (#8270)
# Objective

Our regression tests for `SystemParam` currently consist of a bunch of
loosely dispersed struct definitions. This is messy, and doesn't fully
test their functionality.

## Solution

Group the struct definitions into functions annotated with `#[test]`.
This not only makes the module more organized, but it allows us to call
`assert_is_system`, which has the potential to catch some bugs that
would have been missed with the old approach. Also, this approach is
consistent with how `WorldQuery` regression tests are organized.
2023-03-30 21:47:36 +00:00
..
commands Make standard commands more ergonomic (in niche cases) (#8249) 2023-03-29 18:27:48 +00:00
combinator.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
exclusive_function_system.rs Increase type safety and clarity for change detection (#7905) 2023-03-09 17:17:02 +00:00
exclusive_system_param.rs implement TypeUuid for primitives and fix multiple-parameter generics having the same TypeUuid (#6633) 2023-02-16 17:09:44 +00:00
function_system.rs Format SystemState doc example code (#8261) 2023-03-30 10:06:05 +00:00
mod.rs Check for conflicting accesses in assert_is_system (#8154) 2023-03-22 13:35:55 +00:00
query.rs Doc and test get_many(_mut) ordering (#8045) 2023-03-16 12:55:44 +00:00
system.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
system_param.rs Use actual tests for SystemParam regression tests (#8270) 2023-03-30 21:47:36 +00:00
system_piping.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00