Issue#2107: Add test case (UILoadingBarTest)

Add LoadingBar setContentSize test and setPercent