diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-11 18:19:07 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-11 18:19:07 +0100 |
commit | eb00551f0e990495c6d7533ed193f459cb449665 (patch) | |
tree | 51ba33b836e6d870378e6d614b1387787e3c7e2b /test | |
parent | 2b26fff20c1684bc96eac25cfb24e1230f9ca3ce (diff) |
Rename Settings struct to setings
Diffstat (limited to 'test')
-rw-r--r-- | test/ctor.cc | 2 | ||||
-rw-r--r-- | test/tasks_test.cc | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/ctor.cc b/test/ctor.cc index fcb275d..aa9333d 100644 --- a/test/ctor.cc +++ b/test/ctor.cc @@ -5,7 +5,7 @@ namespace { -ctor::BuildConfigurations ctorTestConfigs(const ctor::Settings& settings) +ctor::BuildConfigurations ctorTestConfigs(const ctor::settings& settings) { return { diff --git a/test/tasks_test.cc b/test/tasks_test.cc index 594261d..6cd39b3 100644 --- a/test/tasks_test.cc +++ b/test/tasks_test.cc @@ -7,7 +7,7 @@ using namespace ctor; namespace { -BuildConfigurations ctorTestConfigs1(const Settings&) +BuildConfigurations ctorTestConfigs1(const ctor::settings&) { return { @@ -21,7 +21,7 @@ BuildConfigurations ctorTestConfigs1(const Settings&) }; } -BuildConfigurations ctorTestConfigs2(const Settings&) +BuildConfigurations ctorTestConfigs2(const ctor::settings&) { return { @@ -93,7 +93,7 @@ public: void getTargets_test() { using namespace std::string_literals; - Settings settings{}; + ctor::settings settings{}; const auto& targets = getTargets(settings); uASSERT_EQUAL(4u, targets.size()); @@ -111,7 +111,7 @@ public: void getTasks_test() { using namespace std::string_literals; - Settings settings{ .builddir = "foo" }; + ctor::settings settings{ .builddir = "foo" }; { auto tasks = getTasks(settings); uASSERT_EQUAL(6u, tasks.size()); @@ -141,7 +141,7 @@ public: void getNextTask_test() { using namespace std::string_literals; - Settings settings{}; + ctor::settings settings{}; { // Zero (Empty) std::set<std::shared_ptr<Task>> allTasks; |