xwiki/xwiki-platform — comment on commit 35a4e5795ae0fd7ea593ca919a92dce4a1ca03e3
File:  line 0
By vmassol:

Re testing fwk, this is what happens if you use AbstractMockingComponentTestCase.

See also the comment in the implementation of AbstractMockingComponentTestCase:

// Step 1: Register all components available
// TODO: Remove this so that tests are executed faster. Need to offer a way to register components manually.
this.loader.initialize(this.componentManager, getClass().getClassLoader());

However AbstractComponentTestCase will also load all components, so all abstract test methods would need to be modified and the way to register components changed...

In the meantime we need to find another solution