Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added experimental callbacks support role – Foswiki::Aux::Callbacks. Currently used to support ManageDotPmTests where checks are built upon catching exceptions from Foswiki::UI functions. But in the new model exceptions are handled by Foswiki::App::handleRequest method and the only way to catch them correctly is to patch into the execution flow and rethrow. This is where callbacks are useful. Yet, this callback model could be a test field for future new plugins model. - Added method reCreateFoswikiApp in FoswikiTestCase. Used to handle old-style cases where a request object was passed over from the old session object to newly created one. Used for cases where we need same app object but with all the caches fully reset. The method is most likely not complete yet as only selected attributes are copied over.
- Loading branch information
Showing
13 changed files
with
1,177 additions
and
766 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.