Housekeeping
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
// FontLoader.h
|
#ifndef YAZE_APP_CORE_PLATFORM_FONTLOADER_H
|
||||||
#ifndef FONTLOADER_H
|
#define YAZE_APP_CORE_PLATFORM_FONTLOADER_H
|
||||||
#define FONTLOADER_H
|
|
||||||
|
|
||||||
void LoadSystemFonts();
|
void LoadSystemFonts();
|
||||||
|
|
||||||
#endif // FONTLOADER_H
|
#endif // YAZE_APP_CORE_PLATFORM_FONTLOADER_H
|
||||||
|
|||||||
@@ -6,7 +6,9 @@ add_executable(
|
|||||||
cli/handlers/tile16_transfer.cc
|
cli/handlers/tile16_transfer.cc
|
||||||
app/rom.cc
|
app/rom.cc
|
||||||
app/core/common.cc
|
app/core/common.cc
|
||||||
|
app/core/project.cc
|
||||||
app/editor/utils/gfx_context.cc
|
app/editor/utils/gfx_context.cc
|
||||||
|
app/core/platform/file_path.mm
|
||||||
${YAZE_APP_EMU_SRC}
|
${YAZE_APP_EMU_SRC}
|
||||||
${YAZE_APP_GFX_SRC}
|
${YAZE_APP_GFX_SRC}
|
||||||
${YAZE_APP_ZELDA3_SRC}
|
${YAZE_APP_ZELDA3_SRC}
|
||||||
|
|||||||
@@ -11,21 +11,6 @@
|
|||||||
namespace yaze {
|
namespace yaze {
|
||||||
namespace test {
|
namespace test {
|
||||||
|
|
||||||
TEST(YazeTest, LoadAndUnloadRom) {
|
|
||||||
yaze_flags flags;
|
|
||||||
flags.rom_filename = "zelda3.sfc";
|
|
||||||
const int init = yaze_init(&flags);
|
|
||||||
ASSERT_EQ(init, 0);
|
|
||||||
yaze_cleanup(&flags);
|
|
||||||
}
|
|
||||||
|
|
||||||
TEST(YazeTest, NoFilename) {
|
|
||||||
yaze_flags flags;
|
|
||||||
const int init = yaze_init(&flags);
|
|
||||||
ASSERT_EQ(init, -1);
|
|
||||||
yaze_cleanup(&flags);
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace test
|
} // namespace test
|
||||||
} // namespace yaze
|
} // namespace yaze
|
||||||
|
|
||||||
@@ -37,6 +22,11 @@ int main(int argc, char* argv[]) {
|
|||||||
|
|
||||||
if (argc > 1 && std::string(argv[1]) == "integration") {
|
if (argc > 1 && std::string(argv[1]) == "integration") {
|
||||||
return yaze::test::integration::RunIntegrationTest();
|
return yaze::test::integration::RunIntegrationTest();
|
||||||
|
} else if (argc > 1 && std::string(argv[1]) == "room_object") {
|
||||||
|
::testing::InitGoogleTest(&argc, argv);
|
||||||
|
if (!RUN_ALL_TESTS()) {
|
||||||
|
return yaze::test::integration::RunIntegrationTest();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
::testing::InitGoogleTest(&argc, argv);
|
::testing::InitGoogleTest(&argc, argv);
|
||||||
|
|||||||
Reference in New Issue
Block a user