Adds override for override functions (onEnter, onExit) in cpp-tests.
Merge pull request #5487 from dumganhar/develop

Adds 'override' keyword for override functions (onEnter, onExit) in cpp-tests.