1/* 2 * Copyright 2019 Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Simon South, simon@simonsouth.net 7 */ 8#ifndef KEYMAP_TEST_H 9#define KEYMAP_TEST_H 10 11 12#include <Keymap.h> 13 14#include <TestCase.h> 15#include <TestSuite.h> 16 17 18class KeymapTest : public CppUnit::TestCase { 19public: 20 KeymapTest(); 21 virtual ~KeymapTest(); 22 23 void TestEquals(); 24 void TestAssignment(); 25 void TestGetChars(); 26 27 static void AddTests(BTestSuite& suite); 28 29private: 30 BKeymap fCurrentKeymap; 31 BKeymap fDefaultKeymap; 32}; 33 34 35#endif // KEYMAP_TEST 36