-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-added static reflection examples and functional tests
- Loading branch information
1 parent
d846265
commit d18d55b
Showing
15 changed files
with
171 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
cmake_minimum_required(VERSION 3.18) | ||
project(figcone_examples_static_refl) | ||
|
||
file(GLOB SRC_FILES "../examples/*.cpp") | ||
foreach(SRC_FILE ${SRC_FILES}) | ||
SealLake_StringAfterLast(${SRC_FILE} "/" TEST_NAME) | ||
SealLake_StringBeforeLast(${TEST_NAME} "." TEST_NAME) | ||
|
||
SealLake_Executable( | ||
NAME ${TEST_NAME}_static_refl | ||
SOURCES ${SRC_FILE} | ||
COMPILE_FEATURES cxx_std_20 | ||
PROPERTIES | ||
CXX_EXTENSIONS OFF | ||
LIBRARIES | ||
figcone::figcone | ||
) | ||
target_compile_definitions(${TEST_NAME}_static_refl PUBLIC "FIGCONE_EXAMPLE_STATIC_REFLECTION") | ||
endforeach() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-Suite: static reflection examples | ||
|
||
-Check static reflection example #1: | ||
Launching PhotoViewer in directory "~/Photos" | ||
Supported files: | ||
.jpg | ||
.png | ||
Thumbnail settings: | ||
Max width:256 | ||
Max height:256 | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-Suite: static reflection examples | ||
|
||
-Check static reflection example #2: | ||
Launching PhotoViewer in directory "/home/kamchatka-volcano/photos" | ||
Supported files: | ||
.jpg | ||
.png | ||
Thumbnail settings: | ||
Max width:256 | ||
Max height:256 | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
-Suite: static reflection examples | ||
|
||
-Check static reflection example #3: | ||
Launching PhotoViewer in directory "~/Photos" | ||
Supported files: | ||
.jpg | ||
png | ||
Shared albums: | ||
Album:Summer 2019 | ||
Hosts: | ||
127.0.0.1:8080 | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-Suite: static reflection examples | ||
|
||
-Check static reflection example #4: | ||
Config error:Parameter 'rootDir': a path must exist | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-Name: ini | ||
-Suite: static reflection format support | ||
|
||
-Check ini static reflection demo: ${{ format_demo_expected_output }} | ||
-Check all formats static reflection demo with demo.ini: ${{ format_demo_expected_output }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-Name: json | ||
-Suite: static reflection format support | ||
|
||
-Check json static reflection demo: ${{ format_demo_expected_output }} | ||
-Check all formats static reflection demo with demo.json: ${{ format_demo_expected_output }} | ||
|
||
-Check json_root_list static reflection demo: ${{ format_demo_root_list_expected_output }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-Name: shoal | ||
-Suite: static reflection format support | ||
|
||
-Check shoal static reflection demo: ${{ format_demo_expected_output }} | ||
-Check all formats static reflection demo with demo.shoal: ${{ format_demo_expected_output }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-Name: toml | ||
-Suite: static reflection format support | ||
|
||
-Check toml static reflection demo: ${{ format_demo_expected_output }} | ||
-Check all formats static reflection demo with demo.toml: ${{ format_demo_expected_output }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-Name: xml | ||
-Suite: static reflection format support | ||
|
||
-Check xml static reflection demo: ${{ format_demo_expected_output }} | ||
-Check all formats static reflection demo with demo.xml: ${{ format_demo_expected_output }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-Name: yaml | ||
-Suite: static reflection format support | ||
|
||
-Check yaml static reflection demo: ${{ format_demo_expected_output }} | ||
-Check all formats static reflection demo with demo.yaml: ${{ format_demo_expected_output }} | ||
|
||
-Check yaml_root_list static reflection demo: ${{ format_demo_root_list_expected_output }} |