X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftest-trace-call-stack.h;h=25b77f885bbf8ad05359785043655781f9e9246c;hb=03c2c6f58b8812f93b2a396a22a26817aec2ad71;hp=3dd6065fc92f48a69c0c689ffeaddcb09cd2121d;hpb=d5e3ed5f5b1c8fdba3ae97ead8729620f54b3836;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-trace-call-stack.h b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-trace-call-stack.h index 3dd6065..25b77f8 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-trace-call-stack.h +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-trace-call-stack.h @@ -45,6 +45,8 @@ public: */ void Enable(bool enable); + bool IsEnabled(); + /** * Push a call onto the stack if the trace is active * @param[in] method The name of the method @@ -61,6 +63,13 @@ public: bool FindMethod(std::string method) const; /** + * Count how many times a method was called + * @param[in] method The name of the method + * @return The number of times it was called + */ + int CountMethod(std::string method) const; + + /** * Search for a method in the stack with the given parameter list * @param[in] method The name of the method * @param[in] params A comma separated list of parameter values