diff options
author | Aaron Wisner <awisner@google.com> | 2018-06-26 15:38:35 -0500 |
---|---|---|
committer | Aaron Wisner <awisner@google.com> | 2018-07-19 15:16:47 -0500 |
commit | db511207ed3b2bb4fc422ef83868009b03692e61 (patch) | |
tree | 0a6c212d24658792a630db696be2ccfedb0a2a61 /fastboot/fastboot_test.cpp | |
parent | 1fefb9f1294d3e270f1711f41e7c77a61213742b (diff) |
Refactor libfastboot
This change creates a nice and clean API for issuing
fastboot commands without using the fastboot tool itself.
Test: fastboot tool itself (now using libfastboot2)
on sailfish, walleye, and other devices.
Test: flash bootloader bootloader.img
Test: flash radio radio.img
Test: -w update img.zip
Test: Manually getvar and reboot commands.
Bug: 111126621
Change-Id: I0022536b204ce0c5ad8329367fd522fa3c57877d
Diffstat (limited to 'fastboot/fastboot_test.cpp')
-rw-r--r-- | fastboot/fastboot_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fastboot/fastboot_test.cpp b/fastboot/fastboot_test.cpp index 1681427c7..43201face 100644 --- a/fastboot/fastboot_test.cpp +++ b/fastboot/fastboot_test.cpp @@ -14,12 +14,12 @@ * limitations under the License. */ -#include "fastboot.h" +#include "engine.h" #include <gtest/gtest.h> TEST(FastBoot, ParseOsPatchLevel) { - FastBoot fb; + FastBootTool fb; boot_img_hdr_v1 hdr; hdr = {}; @@ -34,7 +34,7 @@ TEST(FastBoot, ParseOsPatchLevel) { } TEST(FastBoot, ParseOsVersion) { - FastBoot fb; + FastBootTool fb; boot_img_hdr_v1 hdr; hdr = {}; |