mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 14:30:04 +00:00
Stub for placefile test
This commit is contained in:
parent
fed94e0b7f
commit
207cc1e302
3 changed files with 25 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit b2fa7d866800902f4c092c567017c832bcdbe702
|
||||
Subproject commit a87219c010a26905fd893e68e17077144394b316
|
||||
21
test/source/scwx/gr/placefile.test.cpp
Normal file
21
test/source/scwx/gr/placefile.test.cpp
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#include <scwx/gr/placefile.hpp>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
namespace scwx
|
||||
{
|
||||
namespace gr
|
||||
{
|
||||
|
||||
TEST(PlacefileTest, OldExample)
|
||||
{
|
||||
std::string filename(std::string(SCWX_TEST_DATA_DIR) +
|
||||
"/gr/placefiles/placefile-old-example.txt");
|
||||
|
||||
std::shared_ptr<Placefile> ct = Placefile::Load(filename);
|
||||
|
||||
EXPECT_EQ(true, true);
|
||||
}
|
||||
|
||||
} // namespace gr
|
||||
} // namespace scwx
|
||||
|
|
@ -15,6 +15,7 @@ set(SRC_AWIPS_TESTS source/scwx/awips/coded_location.test.cpp
|
|||
source/scwx/awips/ugc.test.cpp)
|
||||
set(SRC_COMMON_TESTS source/scwx/common/color_table.test.cpp
|
||||
source/scwx/common/products.test.cpp)
|
||||
set(SRC_GR_TESTS source/scwx/gr/placefile.test.cpp)
|
||||
set(SRC_NETWORK_TESTS source/scwx/network/dir_list.test.cpp)
|
||||
set(SRC_PROVIDER_TESTS source/scwx/provider/aws_level2_data_provider.test.cpp
|
||||
source/scwx/provider/aws_level3_data_provider.test.cpp
|
||||
|
|
@ -42,6 +43,7 @@ set(CMAKE_FILES test.cmake)
|
|||
add_executable(wxtest ${SRC_MAIN}
|
||||
${SRC_AWIPS_TESTS}
|
||||
${SRC_COMMON_TESTS}
|
||||
${SRC_GR_TESTS}
|
||||
${SRC_NETWORK_TESTS}
|
||||
${SRC_PROVIDER_TESTS}
|
||||
${SRC_QT_CONFIG_TESTS}
|
||||
|
|
@ -57,6 +59,7 @@ add_executable(wxtest ${SRC_MAIN}
|
|||
source_group("Source Files\\main" FILES ${SRC_MAIN})
|
||||
source_group("Source Files\\awips" FILES ${SRC_AWIPS_TESTS})
|
||||
source_group("Source Files\\common" FILES ${SRC_COMMON_TESTS})
|
||||
source_group("Source Files\\gr" FILES ${SRC_GR_TESTS})
|
||||
source_group("Source Files\\network" FILES ${SRC_NETWORK_TESTS})
|
||||
source_group("Source Files\\provider" FILES ${SRC_PROVIDER_TESTS})
|
||||
source_group("Source Files\\qt\\config" FILES ${SRC_QT_CONFIG_TESTS})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue