1- #include " runcpp2/Data/ProfilesCompilesFiles .hpp"
1+ #include " runcpp2/Data/ProfilesProcessPaths .hpp"
22#include " ssTest.hpp"
33#include " runcpp2/YamlLib.hpp"
44#include " runcpp2/runcpp2.hpp"
@@ -9,7 +9,7 @@ int main(int argc, char** argv)
99
1010 ssTEST_INIT_TEST_GROUP ();
1111
12- ssTEST (" ProfilesCompilesFiles Should Parse Valid YAML" )
12+ ssTEST (" ProfilesProcessPaths Should Parse Valid YAML" )
1313 {
1414 ssTEST_OUTPUT_SETUP
1515 (
@@ -25,42 +25,42 @@ int main(int argc, char** argv)
2525 ryml::Tree tree = ryml::parse_in_arena (c4::to_csubstr (yamlStr));
2626 ryml::ConstNodeRef root = tree.rootref ();
2727
28- runcpp2::Data::ProfilesCompilesFiles profilesCompilesFiles ;
28+ runcpp2::Data::ProfilesProcessPaths profilesProcessPaths ;
2929 );
3030
3131 ssTEST_OUTPUT_EXECUTION
3232 (
3333 ryml::ConstNodeRef nodeRef = root;
34- bool parseResult = profilesCompilesFiles .ParseYAML_Node (nodeRef);
34+ bool parseResult = profilesProcessPaths .ParseYAML_Node (nodeRef);
3535 );
3636
3737 ssTEST_OUTPUT_ASSERT (" ParseYAML_Node should succeed" , parseResult);
3838
3939 // Verify parsed values
4040 ssTEST_OUTPUT_ASSERT ( " MSVC files count" ,
41- profilesCompilesFiles. CompilesFiles .at (" MSVC" ).size () == 2 );
41+ profilesProcessPaths. Paths .at (" MSVC" ).size () == 2 );
4242 ssTEST_OUTPUT_ASSERT ( " GCC files count" ,
43- profilesCompilesFiles. CompilesFiles .at (" GCC" ).size () == 2 );
43+ profilesProcessPaths. Paths .at (" GCC" ).size () == 2 );
4444 ssTEST_OUTPUT_ASSERT ( " MSVC first file" ,
45- profilesCompilesFiles. CompilesFiles .at (" MSVC" ).at (0 ) ==
45+ profilesProcessPaths. Paths .at (" MSVC" ).at (0 ) ==
4646 " src/main.cpp" );
4747 ssTEST_OUTPUT_ASSERT ( " GCC last file" ,
48- profilesCompilesFiles. CompilesFiles .at (" GCC" ).at (1 ) ==
48+ profilesProcessPaths. Paths .at (" GCC" ).at (1 ) ==
4949 " src/optimized.cpp" );
5050
5151 // Test ToString() and Equals()
5252 ssTEST_OUTPUT_EXECUTION
5353 (
54- std::string yamlOutput = profilesCompilesFiles .ToString (" " );
54+ std::string yamlOutput = profilesProcessPaths .ToString (" " );
5555 ryml::Tree outputTree = ryml::parse_in_arena (ryml::to_csubstr (yamlOutput));
5656
57- runcpp2::Data::ProfilesCompilesFiles parsedOutput;
57+ runcpp2::Data::ProfilesProcessPaths parsedOutput;
5858 nodeRef = outputTree.rootref ();
5959 parsedOutput.ParseYAML_Node (nodeRef);
6060 );
6161
6262 ssTEST_OUTPUT_ASSERT ( " Parsed output should equal original" ,
63- profilesCompilesFiles .Equals (parsedOutput));
63+ profilesProcessPaths .Equals (parsedOutput));
6464 };
6565
6666 ssTEST_END_TEST_GROUP ();
0 commit comments