• Home
Name Date Size #Lines LOC

..--

src/test/04-Jul-2025-350306

README.mdD04-Jul-2025634 107

build.gradle.ktsD04-Jul-20251.9 KiB4815

lint-baseline.xmlD04-Jul-2025212 53

README.md

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