Skip to content

Commit 304e534

Browse files
committed
feat: conditionally include TestUpdater class for enhanced updater testing
1 parent baa8209 commit 304e534

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/updatetests.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ static juce::String makeXml (const juce::String& pkg, const juce::String& vers)
6565

6666
namespace element {
6767

68+
#if ELEMENT_UPDATER
6869
class TestUpdater : public Updater {
6970
public:
7071
TestUpdater() = default;
@@ -75,6 +76,7 @@ std::unique_ptr<Updater> Updater::create()
7576
{
7677
return std::make_unique<TestUpdater>();
7778
}
79+
#endif
7880

7981
} // namespace element
8082
BOOST_AUTO_TEST_SUITE (UpdateTests)

0 commit comments

Comments
 (0)