9 #include "gtest/gtest.h"
17 return project.icu_data_path();
22 return project.assets_path();
27 return project.aot_library_path();
33 EXPECT_EQ(GetProjectIcuDataPath(project), L
"test\\icudtl.dat");
34 EXPECT_EQ(GetProjectAssetsPath(project), L
"test\\flutter_assets");
35 EXPECT_EQ(GetProjectAotLibraryPath(project), L
"test\\app.so");
39 DartProject project(L
"data\\assets", L
"icu\\icudtl.dat", L
"lib\\file.so");
40 EXPECT_EQ(GetProjectIcuDataPath(project), L
"icu\\icudtl.dat");
41 EXPECT_EQ(GetProjectAssetsPath(project), L
"data\\assets");
42 EXPECT_EQ(GetProjectAotLibraryPath(project), L
"lib\\file.so");
48 std::vector<std::string> test_arguments = {
"arg1",
"arg2",
"arg3"};
52 EXPECT_EQ(returned_arguments.size(), 3U);
53 EXPECT_EQ(returned_arguments[0],
"arg1");
54 EXPECT_EQ(returned_arguments[1],
"arg2");
55 EXPECT_EQ(returned_arguments[2],
"arg3");