Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
profezzorn committed Jan 8, 2024
1 parent 3dbc1ed commit 5a83402
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions styles/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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;
Expand Down

0 comments on commit 5a83402

Please sign in to comment.