Skip to content
This repository was archived by the owner on Jul 17, 2019. It is now read-only.
This repository was archived by the owner on Jul 17, 2019. It is now read-only.

Ability to deinitialize googlemock #212

Description

@TheComet

There doesn't seem to be a way to clean up all registered tests explicitly. In my application I am loading shared libraries (plugins) that each have their own set of unit tests. During testing, the main application will load a plugin, run its tests, and unload the plugin after the tests have completed, and continue to the next plugin.

The problem I'm having is that once a plugin is loaded and has registered its unit tests with googlemock, there is no way to remove these tests ever. Unloading the plugin creates dangling pointers and crashes the application at a later point.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions