Issue #5082 :remove useless mothods of cc.Applicatoin and modify PluginxTest