tree: b2273f08bd6f25269208d910d2002138ceb69701 [path history] [tgz]
  1. BUILD.gn
  2. defs.h
  3. module_context_test_module.cc
  4. module_context_test_user_shell.cc
  5. README.md
tests/module_context/README.md

ModuleContext integration test

Tests that calls to ModuleContext.RemoveSelfFromStory() are handled correctly by the framework.

The user shell starts a story and adds two modules to it. It then signals the first module to call ModuleContext.RemoveSelfFromStory and verifies that the module is stopped. The user shell then signals the second module, and verifies that the story is stopped as well.