This repository contains a simple instrumentation test which creates a database, initializes it with information, then deletes a subset of the information and runs VACUUM
. During the process, statistics about the database file's size are logged to Logcat.
- Import the project to Android Studio
- Connect a Developer-enabled Android Device to your machine
- Navigate to the
VacuumTest.kt
file and open it within Android Studio - From the gutter of the
VacuumTest.kt
editor, click therun test
icon that appears next to the class header.