Overview of Privacy Sandbox tools integration tests
jb-mainThe Privacy Sandbox tools integration tests verify the interaction between an Android app and an SDK using the App-SDK bridge (the "shim library"). The testing environment is composed of three main components:
testsdk/: A custom SDK built using the API Compiler. It manually setsAidlInputandFrameworkAidlInputto allow testing with HEAD versions of the shim tools, bypassing the standardandroidx.privacysandbox.librarydependency.testsdk-asb/: A wrapper that packages thetestsdkinto an Android SDK Bundle (ASB) usingcom.android.privacy-sandbox-sdk.testapp/: A simple Android application that depends ontestsdk-asb. This component utilizes the HEAD version of the API Generator and serves as the primary host for the integration tests.