log_level_t log_level_from_string(char *log_level) { return (log_level_t)mock(); }
virtual bool notify(QObject *receiver, QEvent *event) {return mock()->notify(receiver, event);};
int mock_function(void) { return (int) mock(); }
void awake(){mock()->awake();}
void autoExitChanged(bool newAutoExit){mock()->autoExitChanged(newAutoExit);}
void fullscreen(){mock()->fullscreen();}
void swipeDown(){mock()->swipeDown();}
void teardown(void) { mock().clear(); }
static void productionCode() { mock().actualCall("productionCode"); }
gboolean accounts_account_exists(const char * const account_name) { check_expected(account_name); return (gboolean)mock(); }
void Lcd_UpdateDisplay(SystemTime time) { mock().actualCall("Lcd_UpdateDisplay") .withParameter("time", time); }
gboolean accounts_disable(const char * const name) { check_expected(name); return (gboolean)mock(); }
ProfAccount* accounts_get_account(const char * const name) { check_expected(name); return (ProfAccount*)mock(); }
resource_presence_t accounts_get_last_presence(const char * const account_name) { check_expected(account_name); return (resource_presence_t)mock(); }
bool setIconBadge(bb::IconBadge::Type badge){return mock()->setIconBadge(badge);}
TEST(MockDocumentation, SimpleScenario) { mock().expectOneCall("productionCode"); productionCode(); mock().checkExpectations(); }
void thumbnail(){mock()->thumbnail();}
virtual void importantFunction() { mock().actualCall("importantFunction").onObject(this); }
void invisible(){mock()->invisible();}
static void parameters_function(int p1, const char* p2) { void* object = (void*) 1; mock().actualCall("function").onObject(object).withParameter("p1", p1).withParameter("p2", p2); }
void asleep(){mock()->asleep();}
TEST(MockDocumentation, parameters) { void* object = (void*) 1; mock().expectOneCall("function").onObject(object).withParameter("p1", 2).withParameter("p2", "hah"); parameters_function(2, "hah"); }
void manualExit(){mock()->manualExit();}
/* A mock binary operator function. */ static int binary_operator(int a, int b) { check_expected(a); check_expected(b); return (int)mock(); }
bool filterEvent(void *message, long *result) {return mock()->filterEvent(message, result);};
bool autoExit(){return mock()->autoExit();}
QCoreApplication::EventFilter setEventFilter(QCoreApplication::EventFilter filter) {return mock()->setEventFilter(filter);};
bool extendTerminationTimeout(){return mock()->extendTerminationTimeout();}
void teardown() { delete node; mock().clear(); }
log_level_t log_get_filter(void) { return (log_level_t)mock(); }