aosp12/tools/asuite/asuite_plugin
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
gradle/wrapper init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
src init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README.md init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
build.gradle init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
build.sh init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
gradlew init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
gradlew.bat init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
settings.gradle init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

README.md

Asuite IntelliJ plugin

Development

How to build/install the plugin

Build: $./gradlew jar

The artifact will be generated at build/libs/asuite_plugin-1.0.jar.

Install: Place the asuite_plugin-1.0.jar into the IntelliJ/plugins directory. The typical path of IntelliJ is /opt/intellij.

Debug in IntelliJ: Edit configurations -> use + to add a Gradle configuration -> fill

gradle project:Absolute path of asuite_plugin

Tasks: :runIde

Quick run in IntelliJ sandbox: $./gradlew :runIde

Quick start

  1. Click Atest button, the Atest tool window shall show up.
  2. Fill in the test module.
    • Enter a target module, e.g. aidegen_unittests.
    • Or fill target path with check test_mapping checkbox, E.g. tools/tradefederation/core.
  3. Click Run, the test result will be shown in Atest tool window.