I just ran across this little gem in a test:
@Rule
public TestRule solrTestRules =
RuleChain.outerRule(new SystemPropertiesRestoreRule())
Without looking at the code, I'm guessing that this will restore any
system variables that you change in a test, is this correct?
If so, I've found a new trick to make test writing easier <G>.....
Thanks,
Erick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]