Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryuhoo committed May 25, 2024
1 parent 8d87bf3 commit 1594705
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Tests/PluginBasics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ TEST_CASE ("one is equal to one", "[dummy]")

TEST_CASE ("Plugin instance", "[instance]")
{
PluginProcessor testPlugin;
FireAudioProcessor testPlugin;

// This lets us use JUCE's MessageManager without leaking.
// PluginProcessor might need this if you use the APVTS for example.
Expand All @@ -20,7 +20,7 @@ TEST_CASE ("Plugin instance", "[instance]")
SECTION ("name")
{
CHECK_THAT (testPlugin.getName().toStdString(),
Catch::Matchers::Equals ("Pamplejuce Demo"));
Catch::Matchers::Equals ("Fire"));
}
}

Expand Down
4 changes: 2 additions & 2 deletions Tests/helpers/test_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
});
*/
[[maybe_unused]] void runWithinPluginEditor (const std::function<void (PluginProcessor& plugin)>& testCode)
[[maybe_unused]] void runWithinPluginEditor (const std::function<void (FireAudioProcessor& plugin)>& testCode)
{
PluginProcessor plugin;
FireAudioProcessor plugin;
auto gui = juce::ScopedJuceInitialiser_GUI {};
auto editor = plugin.createEditorIfNeeded();

Expand Down

0 comments on commit 1594705

Please sign in to comment.