aboutsummaryrefslogtreecommitdiff
path: root/tests/utils/mock-greeter.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/utils/mock-greeter.h')
-rw-r--r--tests/utils/mock-greeter.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/tests/utils/mock-greeter.h b/tests/utils/mock-greeter.h
deleted file mode 100644
index 5015087..0000000
--- a/tests/utils/mock-greeter.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright 2016 Canonical Ltd.
- *
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 3, as published
- * by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranties of
- * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
- * PURPOSE. See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- * Authors:
- * Charles Kerr <charles.kerr@canonical.com>
- */
-
-#pragma once
-
-#include <src/greeter.h>
-
-class MockGreeter: public Greeter
-{
-public:
- MockGreeter() =default;
- virtual ~MockGreeter() =default;
- core::Property<Greeter::State>& state() override {return m_state;}
- core::Property<Greeter::State> m_state {State::INACTIVE};
-};
-