@@ -20,21 +20,30 @@ fn on_test() {
2020
2121 let expected_dot_graph = `
2222digraph {
23- node_0 [label="bevy_mod_scripting_core::bindings::allocator::garbage_collector"];
24- node_1 [label="on_test_post_update"];
25- node_2 [label="script_integration_test_harness::dummy_before_post_update_system"];
26- node_3 [label="script_integration_test_harness::dummy_post_update_system"];
27- node_4 [label="custom_system_a"];
28- node_5 [label="custom_system_b"];
29- node_6 [label="SystemSet GarbageCollection"];
30- node_7 [label="SystemSet ScriptSystem(custom_system_a)"];
31- node_8 [label="SystemSet ScriptSystem(custom_system_b)"];
32- node_0 -> node_6 [color=red, label="child of", arrowhead=diamond];
33- node_4 -> node_7 [color=red, label="child of", arrowhead=diamond];
34- node_5 -> node_8 [color=red, label="child of", arrowhead=diamond];
35- node_1 -> node_4 [color=blue, label="runs before", arrowhead=normal];
36- node_1 -> node_5 [color=blue, label="runs before", arrowhead=normal];
37- node_2 -> node_3 [color=blue, label="runs before", arrowhead=normal];
23+ node_0 [label="bevy_asset::assets::Assets<bevy_asset::folder::LoadedFolder>::asset_events"];
24+ node_1 [label="bevy_asset::assets::Assets<bevy_asset::assets::LoadedUntypedAsset>::asset_events"];
25+ node_2 [label="bevy_asset::assets::Assets<()>::asset_events"];
26+ node_3 [label="bevy_asset::assets::Assets<bevy_mod_scripting_core::asset::ScriptAsset>::asset_events"];
27+ node_4 [label="bevy_mod_scripting_core::bindings::allocator::garbage_collector"];
28+ node_5 [label="on_test_post_update"];
29+ node_6 [label="script_integration_test_harness::dummy_before_post_update_system"];
30+ node_7 [label="script_integration_test_harness::dummy_post_update_system"];
31+ node_8 [label="custom_system_a"];
32+ node_9 [label="custom_system_b"];
33+ node_10 [label="SystemSet AssetEvents"];
34+ node_11 [label="SystemSet GarbageCollection"];
35+ node_12 [label="SystemSet ScriptSystem(custom_system_a)"];
36+ node_13 [label="SystemSet ScriptSystem(custom_system_b)"];
37+ node_0 -> node_10 [color=red, label="child of", arrowhead=diamond];
38+ node_1 -> node_10 [color=red, label="child of", arrowhead=diamond];
39+ node_2 -> node_10 [color=red, label="child of", arrowhead=diamond];
40+ node_3 -> node_10 [color=red, label="child of", arrowhead=diamond];
41+ node_4 -> node_11 [color=red, label="child of", arrowhead=diamond];
42+ node_8 -> node_12 [color=red, label="child of", arrowhead=diamond];
43+ node_9 -> node_13 [color=red, label="child of", arrowhead=diamond];
44+ node_5 -> node_8 [color=blue, label="runs before", arrowhead=normal];
45+ node_5 -> node_9 [color=blue, label="runs before", arrowhead=normal];
46+ node_6 -> node_7 [color=blue, label="runs before", arrowhead=normal];
3847}`;
3948
4049 assert_str_eq.call(dot_graph, expected_dot_graph, "Expected the schedule graph to match the expected graph");
0 commit comments