3f7671000a
* Add a few pre-made sanitizer suppressions * Test Sanitization: Fix threading issues * Test Sanitization: Allow deletion of PubSub We still don't delete it in main code, but this allows us to try deleting it in tests. * Test Sanitization: Fix some memory leaks * fix gtest clang-tidy warning * const emojis test :-)
89 lines
1.4 KiB
C++
89 lines
1.4 KiB
C++
#pragma once
|
|
|
|
#include "Application.hpp"
|
|
|
|
namespace chatterino::mock {
|
|
|
|
class EmptyApplication : public IApplication
|
|
{
|
|
public:
|
|
virtual ~EmptyApplication() = default;
|
|
|
|
Theme *getThemes() override
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
Fonts *getFonts() override
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
IEmotes *getEmotes() override
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
AccountController *getAccounts() override
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
HotkeyController *getHotkeys() override
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
WindowManager *getWindows() override
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
Toasts *getToasts() override
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
CommandController *getCommands() override
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
NotificationController *getNotifications() override
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
HighlightController *getHighlights() override
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
ITwitchIrcServer *getTwitch() override
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
ChatterinoBadges *getChatterinoBadges() override
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
FfzBadges *getFfzBadges() override
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
IUserDataController *getUserData() override
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
ITwitchLiveController *getTwitchLiveController() override
|
|
{
|
|
return nullptr;
|
|
}
|
|
};
|
|
|
|
} // namespace chatterino::mock
|