summaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-04 07:41:23 +0200
committerTao Bao <tbao@google.com>2018-05-04 08:17:29 +0200
commit17054c051a846743ecbfacec5986fe8b35152c9d (patch)
tree093bdd474d8f333ed4458662ce20e79ce48d57c6 /tests/unit
parentotautil: Only build the needed files for host build. (diff)
downloadandroid_bootable_recovery-17054c051a846743ecbfacec5986fe8b35152c9d.tar
android_bootable_recovery-17054c051a846743ecbfacec5986fe8b35152c9d.tar.gz
android_bootable_recovery-17054c051a846743ecbfacec5986fe8b35152c9d.tar.bz2
android_bootable_recovery-17054c051a846743ecbfacec5986fe8b35152c9d.tar.lz
android_bootable_recovery-17054c051a846743ecbfacec5986fe8b35152c9d.tar.xz
android_bootable_recovery-17054c051a846743ecbfacec5986fe8b35152c9d.tar.zst
android_bootable_recovery-17054c051a846743ecbfacec5986fe8b35152c9d.zip
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/dirutil_test.cpp3
-rw-r--r--tests/unit/sysutil_test.cpp5
-rw-r--r--tests/unit/zip_test.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/dirutil_test.cpp b/tests/unit/dirutil_test.cpp
index 7f85d13ea..1ca786c28 100644
--- a/tests/unit/dirutil_test.cpp
+++ b/tests/unit/dirutil_test.cpp
@@ -22,7 +22,8 @@
#include <android-base/test_utils.h>
#include <gtest/gtest.h>
-#include <otautil/DirUtil.h>
+
+#include "otautil/dirutil.h"
TEST(DirUtilTest, create_invalid) {
// Requesting to create an empty dir is invalid.
diff --git a/tests/unit/sysutil_test.cpp b/tests/unit/sysutil_test.cpp
index 434ee25bf..19fa4c59e 100644
--- a/tests/unit/sysutil_test.cpp
+++ b/tests/unit/sysutil_test.cpp
@@ -14,14 +14,13 @@
* limitations under the License.
*/
-#include <gtest/gtest.h>
-
#include <string>
#include <android-base/file.h>
#include <android-base/test_utils.h>
+#include <gtest/gtest.h>
-#include "otautil/SysUtil.h"
+#include "otautil/sysutil.h"
TEST(SysUtilTest, InvalidArgs) {
MemMapping mapping;
diff --git a/tests/unit/zip_test.cpp b/tests/unit/zip_test.cpp
index 827668521..47f33d9ea 100644
--- a/tests/unit/zip_test.cpp
+++ b/tests/unit/zip_test.cpp
@@ -23,10 +23,10 @@
#include <android-base/file.h>
#include <android-base/test_utils.h>
#include <gtest/gtest.h>
-#include <otautil/SysUtil.h>
#include <ziparchive/zip_archive.h>
#include "common/test_constants.h"
+#include "otautil/sysutil.h"
TEST(ZipTest, OpenFromMemory) {
std::string zip_path = from_testdata_base("ziptest_dummy-update.zip");