Skip to content

Commit

Permalink
Test - Fix Aura Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nlogozzo committed Jun 7, 2024
1 parent 18244a4 commit cd3f6fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ This means that the class provides the following method, allowing consumers to r
- [Nickvision::Logging](logging.md)
- [Nickvision::Network](network.md)
- [Nickvision::Notifications](notifications.md)
- [Nickvision::System](system.md)
- [Nickvision::Taskbar](taskbar.md)
- [Nickvision::Update](update.md)
10 changes: 5 additions & 5 deletions tests/auratests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ class AuraTest : public testing::Test
Aura::getActive().init("org.nickvision.aura.test", "Nickvision Aura Tests", "Aura");
Aura::getActive().getAppInfo().setHtmlDocsStore("https://github.com/NickvisionApps/Denaro/blob/main/NickvisionMoney.Shared/Docs/html");
}

static void TearDownTestSuite()
{
std::filesystem::remove(UserDirectories::getApplicationConfig() / ("config.json"));
}
};

TEST_F(AuraTest, EnsureAura)
Expand Down Expand Up @@ -103,11 +108,6 @@ TEST_F(AuraTest, EnsureChangeInAppConfig)
ASSERT_EQ(geometry.isMaximized(), true);
}

TEST_F(AuraTest, ResetAppConfig)
{
ASSERT_TRUE(std::filesystem::remove(UserDirectories::getApplicationConfig() / ("config.json")));
}

TEST_F(AuraTest, DependencyCheck)
{
#ifdef _WIN32
Expand Down

0 comments on commit cd3f6fe

Please sign in to comment.