MCPcopy Create free account
hub / github.com/boostorg/filesystem / cpp_main

Function cpp_main

test/path_unit_test.cpp:1039–1105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1037//--------------------------------------------------------------------------------------//
1038
1039int cpp_main(int, char*[])
1040{
1041// document state of critical macros
1042#ifdef BOOST_POSIX_API
1043 cout << "BOOST_POSIX_API" << endl;
1044 BOOST_TEST(path::preferred_separator == '/');
1045#endif
1046#ifdef BOOST_WINDOWS_API
1047 cout << "BOOST_WINDOWS_API" << endl;
1048 BOOST_TEST(path::preferred_separator == '\\');
1049#endif
1050
1051 l.push_back('s');
1052 l.push_back('t');
1053 l.push_back('r');
1054 l.push_back('i');
1055 l.push_back('n');
1056 l.push_back('g');
1057
1058 wl.push_back(L'w');
1059 wl.push_back(L's');
1060 wl.push_back(L't');
1061 wl.push_back(L'r');
1062 wl.push_back(L'i');
1063 wl.push_back(L'n');
1064 wl.push_back(L'g');
1065
1066 v.push_back('f');
1067 v.push_back('u');
1068 v.push_back('z');
1069
1070 wv.push_back(L'w');
1071 wv.push_back(L'f');
1072 wv.push_back(L'u');
1073 wv.push_back(L'z');
1074
1075 test_overloads();
1076 test_constructors();
1077 test_assignments();
1078 test_appends();
1079 test_concats();
1080 test_modifiers();
1081 test_observers();
1082 test_relationals();
1083 test_inserter_and_extractor();
1084 test_other_non_members();
1085 test_iterators();
1086 test_decompositions();
1087 test_queries();
1088 test_imbue_locale();
1089 test_codecvt_argument();
1090 test_error_handling();
1091
1092#if 0
1093
1094 test_user_supplied_type();
1095
1096#endif

Callers

nothing calls this directly

Calls 15

test_overloadsFunction · 0.85
test_constructorsFunction · 0.85
test_assignmentsFunction · 0.85
test_appendsFunction · 0.85
test_concatsFunction · 0.85
test_modifiersFunction · 0.85
test_observersFunction · 0.85
test_relationalsFunction · 0.85
test_other_non_membersFunction · 0.85
test_iteratorsFunction · 0.85
test_decompositionsFunction · 0.85

Tested by

no test coverage detected