This source file includes following definitions.
- TEST_F
- TEST_F
- TEST_F
#include "base/android/path_utils.h"
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
namespace android {
typedef testing::Test PathUtilsTest;
TEST_F(PathUtilsTest, TestGetDataDirectory) {
  
  
  
  FilePath path;
  GetDataDirectory(&path);
  EXPECT_STREQ("/data/data/org.chromium.native_test/app_chrome",
               path.value().c_str());
}
TEST_F(PathUtilsTest, TestGetCacheDirectory) {
  
  
  
  FilePath path;
  GetCacheDirectory(&path);
  EXPECT_STREQ("/data/data/org.chromium.native_test/cache",
               path.value().c_str());
}
TEST_F(PathUtilsTest, TestGetNativeLibraryDirectory) {
  
  
  
  FilePath path;
  GetNativeLibraryDirectory(&path);
  EXPECT_TRUE(base::PathExists(path.Append(("libbase_unittests.so"))) ||
              base::PathExists(path.Append(("libbase_unittests.cr.so"))));
}
}  
}