Update the majority of the unit tests to not use the default manager

Review Request #3336 — Created Aug. 2, 2024 and submitted

Information

gplugin/gplugin
default

Reviewers

Way back when these tests were created you could only interact with the default
plugin manager. That has changed, so the tests needed to be updated to reflect
that which makes managing state and everything much easier.

There are also some other random cleanups here.

Ran the turtles and most of the tests under valgrind. Some of them have some leaks yet that seem unrelated to the test code.

Summary ID
Update the majority of the unit tests to not use the default manager
Way back when these tests were created you could only interact with the default plugin manager. That has changed, so the tests needed to be updated to reflect that which makes managing state and everything much easier.
12faf8af2a7c6ca94fb79260ebd36eaf5ff2b848
Description From Last Updated

Can you not remove G_TEST_OPTION_ISOLATE_DIRS everywhere now?

QuLogicQuLogic
QuLogic
  1. 
      
  2. Show all issues

    Can you not remove G_TEST_OPTION_ISOLATE_DIRS everywhere now?

    1. I intended to, guess I missed some...

  3. 
      
grim
QuLogic
  1. Ship It!
  2. 
      
grim
Review request changed
Status:
Completed