Add enum type parameter support to public API test

This test fails since we use enum type (JavaScriptConsoleMessageLevel)
as function parameter type. In these cases the given typeName does not
contains the class name in isCheckedEnum().

Change-Id: Iab1b257883ff415a2b9c63af106ed3d92050896d
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>