• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# metalava-model-snapshot-testing
2
3The purpose of this module is to test the snapshot mechanism by running the testsuite against a number of different
4providers to create a `Codebase` and then take a snapshot of the `Codebase` and perform the actual test against the
5snapshot. This will ensure that the snapshot provides the same capabilities as the original providers.
6
7It does that by registering a `com.android.tools.metalava.model.testing.transformer.CodebaseTransformer` service which
8is loaded by the `com.android.tools.metalava.model.testsuite.ModelSuiteRunner` and used to transform the `Codebase`
9before performing the test.
10