axmol/tests
James Chen bdcacd0031 Some fixes for search paths: (#17435)
* Some fixes for search paths:
1. Adds ‘_originalSearchPaths’ variable, ’getSearchPaths’ returns the original values set by ‘setSearchPaths’  or ‘addSearchPath’.
2. Adds a getter function ‘getDefaultResourceRootPath’.
3. ‘setDefaultResourceRootPath’ should also update search paths and remove file path cache internally.
4. ‘setSearchPaths’  supports to pass self (_originalSearchPath), could be used in ‘setDefaultResourceRootPath’ to update the final ’_searchPathArray’ for searching full path.
5. ‘addSearchPath’ fix, the default resource root path should be the last element in ‘_searchPathArray’.

* Checks whether the parameter ‘searchResolutionOrder’ passed in is the same as ‘_searchResolutionsOrderArray’.

* Don’t break the compatibility, add a new method called ‘FileUtils::getOriginalSearchPaths’.
2017-03-06 16:59:43 +08:00
..
cpp-empty-test [ci skip]make all tests and template support Android Studio (#17389) 2017-02-21 17:58:30 +08:00
cpp-tests Some fixes for search paths: (#17435) 2017-03-06 16:59:43 +08:00
game-controller-test Fix minor typos in tests (#17404) 2017-02-24 12:45:41 +08:00
js-memory-gc-tests [ci skip]make all tests and template support Android Studio (#17389) 2017-02-21 17:58:30 +08:00
js-tests Fix some local variable names in tests (#17445) 2017-03-06 10:01:53 +08:00
lua-empty-test [ci skip]make all tests and template support Android Studio (#17389) 2017-02-21 17:58:30 +08:00
lua-game-controller-test [ci skip]make all tests and template support Android Studio (#17389) 2017-02-21 17:58:30 +08:00
lua-tests Fix some local variable names in tests (#17445) 2017-03-06 10:01:53 +08:00
performance-tests Fix minor typos in tests (#17404) 2017-02-24 12:45:41 +08:00