Class · aurore::test
aurore::test::Harness
On this page
#include <aurore/test/harness.hpp>
class aurore::test::HarnessConstructors 3
Functions 45
const Options & options() const HeadlessPlatform * platform() void push( Activity *activity,TransitionAnimation animation = TransitionAnimation::NONE)Activity * top() View * find(const std::string &id) Time now() const void press(ControllerButton button) void release(ControllerButton button) void tap(ControllerButton button, int times = 1) void hold(ControllerButton button, double ms) void setAxis(ControllerAxis axis, float value) void pressKey(AuroreKeyboardScancode key) void releaseKey(AuroreKeyboardScancode key) void tapKey(AuroreKeyboardScancode key, int times = 1) bool tapView(View *view) View * focus() bool focusByText( const std::string &text,ControllerButton button = BUTTON_DOWN,int maxSteps = 30)View * findText(const std::string &text) Image screenshot() bool matchesReference( const std::string &name,const Rect &area,int tolerance = 8,double maxRatio = 0.001)const ImageDiff & lastDiff() const Read from Aurore's headers by Doxygen at each build · library/include