diff --git a/styles/tests.cpp b/styles/tests.cpp index 06b96d127..5c8cb56ef 100644 --- a/styles/tests.cpp +++ b/styles/tests.cpp @@ -240,13 +240,10 @@ class MockBlade : public BladeBase { fprintf(stderr, "NOT IMPLEMENTED\n"); exit(1); } - size_t GetEffects(BladeEffect** blade_effects) override { - return 0; - } void allow_disable() override { allow_disable_ = true; } - void Activate() override { + void Activate(int blade_number) override { fprintf(stderr, "NOT IMPLEMENTED\n"); exit(1); } @@ -257,9 +254,7 @@ class MockBlade : public BladeBase { Color8::Byteorder get_byteorder() const { return Color8::RGB; } - bool IsPrimary() override { - return true; - } + int GetBladeNumber() { return 1; } void SetStyle(BladeStyle* style) override { // current_style should be nullptr; current_style_ = style;