Unit tests for camcom::common::FindFile and ExpandPath. More...
#include <gtest/gtest.h>#include "camcom/common/find_file.hpp"#include <cstdlib>#include <filesystem>#include <fstream>Classes | |
| class | FindFileTest |
Functions | |
| TEST (ExpandPathTest, EmptyString) | |
| TEST (ExpandPathTest, NoVariables) | |
| TEST (ExpandPathTest, DollarVar) | |
| TEST (ExpandPathTest, BracedVar) | |
| TEST (ExpandPathTest, TildeExpansion) | |
| TEST (ExpandPathTest, UndefinedVarLeftAsIs) | |
| TEST (ExpandPathTest, EscapedDollar) | |
| TEST_F (FindFileTest, CfgPathFindsFile) | |
| TEST_F (FindFileTest, CfgPathSearchOrder) | |
| TEST_F (FindFileTest, CfgPathDeepPath) | |
| TEST_F (FindFileTest, IntRootFallback) | |
| TEST_F (FindFileTest, PrefixFallback) | |
| TEST_F (FindFileTest, AbsolutePathDirect) | |
| TEST_F (FindFileTest, AbsolutePathWithEnvVar) | |
| TEST_F (FindFileTest, AbsolutePathNotFound) | |
| TEST_F (FindFileTest, ReferrerResolvesChild) | |
| TEST_F (FindFileTest, CfgPathBeforeReferrer) | |
| TEST_F (FindFileTest, NotFoundReturnsEmpty) | |
| TEST_F (FindFileTest, EmptyPathReturnsEmpty) | |
Unit tests for camcom::common::FindFile and ExpandPath.
| TEST | ( | ExpandPathTest | , |
| BracedVar | ) |
| TEST | ( | ExpandPathTest | , |
| DollarVar | ) |
| TEST | ( | ExpandPathTest | , |
| EmptyString | ) |
| TEST | ( | ExpandPathTest | , |
| EscapedDollar | ) |
| TEST | ( | ExpandPathTest | , |
| NoVariables | ) |
| TEST | ( | ExpandPathTest | , |
| TildeExpansion | ) |
| TEST | ( | ExpandPathTest | , |
| UndefinedVarLeftAsIs | ) |
| TEST_F | ( | FindFileTest | , |
| AbsolutePathDirect | ) |
| TEST_F | ( | FindFileTest | , |
| AbsolutePathNotFound | ) |
| TEST_F | ( | FindFileTest | , |
| AbsolutePathWithEnvVar | ) |
| TEST_F | ( | FindFileTest | , |
| CfgPathBeforeReferrer | ) |
| TEST_F | ( | FindFileTest | , |
| CfgPathDeepPath | ) |
| TEST_F | ( | FindFileTest | , |
| CfgPathFindsFile | ) |
| TEST_F | ( | FindFileTest | , |
| CfgPathSearchOrder | ) |
| TEST_F | ( | FindFileTest | , |
| EmptyPathReturnsEmpty | ) |
| TEST_F | ( | FindFileTest | , |
| IntRootFallback | ) |
| TEST_F | ( | FindFileTest | , |
| NotFoundReturnsEmpty | ) |
| TEST_F | ( | FindFileTest | , |
| PrefixFallback | ) |
| TEST_F | ( | FindFileTest | , |
| ReferrerResolvesChild | ) |