TestHelpers.h
 1  #pragma once
 2  
 3  namespace KeyboardManagerInput
 4  {
 5      class MockedInput;
 6  }
 7  class State;
 8  
 9  namespace TestHelpers
10  {
11      // Function to reset the environment variables for tests
12      void ResetTestEnv(KeyboardManagerInput::MockedInput& input, State& state);
13  
14      // Function to return the index of the given key code from the drop down key list
15      int GetDropDownIndexFromDropDownList(DWORD key, const std::vector<DWORD>& keyList);
16  }