ucr-riple / NullAwayAnnotator

A tool to help adapting code bases to NullAway type system.
MIT License
13 stars 6 forks source link

Add mocked build to unit tests #178

Closed nimakarimipour closed 1 year ago

nimakarimipour commented 1 year ago

This PR prepares unit tests for changes in #175 by adding a mocked build to some unit tests which requires outputs of Scanner serialization just to finalize the Config instance. The content are not important but the files should only exist after a build request during the construction of the config instance. This PR update some unit tests to use the mocked build procedure to make the desired outputs.