Comments (10)
To support tools/build/copy.py
, I would like to introduce tools/build/resources.json
to track targets, with constraints below in mind:
testharness.css
,testharness.js
andtestharnessreport.js
appear together; so only needtestharness
instead.unitcommon.js
is only used for Tizen Device APIs.jquery-1.10.2.min.js
,testrunner.js
andindex.html
from webrunner appear together too, so only usewebrunner
.testcase.xsl
,testresult.xsl
andtests.css
work together; just useteststyle
.- Unify
jquery.js
,jquery.min.js
,jquery.mobile.js
tojquery-1.10.2.min.js
, or other version of jquery; so usejquery
. - The rest
jqueryprogressbar.js
andslider.tooltip.js
make use of their own names.
Therefore, tools/build/resources.json
has data format like
{
"testharness": [
"webapi/tct-2dtransforms-css3-tests/resources/",
...
],
"unitcommon.js": [
...
],
"webrunner": [
...
],
"teststyle": [
...
],
"jquery": [
...
],
"jqueryprogressbar.js": [
...
],
"slider.tooltip.js": [
...
]
}
from crosswalk-test-suite.
why we do not use suite.json and pack.py?
from crosswalk-test-suite.
Hmm, if suite.json
and pack.py
are able to meet this usage, I would like to accept them.
- John clone his forked crosswalk-test-suite repository locally. In his local develop machine, John setups an HTTP service with the crosswalk-test-suite test code. At current being, he is able to access the test files via HTTP on browsers and debug the test code. After the refactor, he still wants this workable. That is, instead of building test suite packages, he just wants the support resource files copied to their places as current being.
So far as I know, suite.json
and pack.py
do not satisfy.
from crosswalk-test-suite.
Yunfei, Jiajia
update suite.json for coping resources/ and webrunner/ from $TOOLS to each suite.
from crosswalk-test-suite.
Zhiqiang/Wanming
copy the test suites to crosswalk/tools/.
add a script to copy the resources and webrunner to each suites according to the config in suite.json.
testcase.xsl (197)
testresult.xsl (169)
tests.css (201)
these 3 only copy in COPY script
from crosswalk-test-suite.
DO not moved
jquery.js (6)
jquery-1.10.2.min.js (220)
jquery.min.js (3)
jquery.mobile.js (6)
jqueryprogressbar.js (2)
from crosswalk-test-suite.
target code update ready and script ready at ww42.3
UT ready at ww42.5
Zhiqiang will make the patch( resource move, and suite.josn update, copy script) to github
from crosswalk-test-suite.
In IVI TCT, there are 4 versions of jQuery:
test/tct$ find . -name 'jquery*js' -type f | sort
./behavior/ivi/js/thirdparty/jquery.js (jQuery v1.8.2)
./manager/style/jquery.min.js (jQuery v1.7.1)
./shell/style/jquery.min.js (jQuery v1.7.1)
./utilities/tools/manager/style/jquery.min.js (jQuery v1.7.1)
./utilities/tools/shell/style/jquery.min.js (jQuery v1.7.1)
./utilities/tools/testkitlite/web/jquery.js (jQuery v1.7)
./utilities/tools/testkitlite/xsd/jquery.min.js (jQuery v1.7.1)
./webapi/ivi/tct-2dtransforms-css3-tests/webrunner/jquery-1.10.2.min.js (jQuery v1.10.2)
Consider bootstrap-demo/js/jquery-1.11.1.min.js (jQuery v1.11.1) and https://code.jquery.com/jquery-1.11.2.js (latest 1.x), we may have 6 versions of jQuery.
I think we can unify them to the latest version.
@haoxli @alfred99 could you please have a further check?
from crosswalk-test-suite.
I've done the testharness, webrunner, test xls of webapi in PR#1561, please have a review
from crosswalk-test-suite.
Except several versions of jQuery, these thoughts have been done. Thank you all.
from crosswalk-test-suite.
Related Issues (20)
- Enable CI Status on Pull Requests HOT 14
- Make github pages HOT 1
- XWalkViewWithScrollViewParentAsync is not working HOT 3
- Web SQL Transfer Support? HOT 2
- XWALK-2188 Add onshow(), onhide() test cases for XWalkView HOT 1
- XWALK-2191 Add a TC for ART mode in misc/system HOT 1
- XWALK-2169 Add test case for PDFjs usage HOT 1
- XWALK-2233 Add test case for Cordova Screenshot plugin HOT 1
- XWALK-2231 Add test case for media source API test pause HOT 1
- XWALK-2229 Add test case for white flash between application transitions HOT 1
- XWALK-2216 Add test case for Modello app's icon source check after app has been installed HOT 1
- [tools] Check tools/build/pack.py with pylint HOT 1
- Bug with many XwalView in activity (in fragments) HOT 4
- Combine `slider.tooltip.js` files into `js/thirdparty/` HOT 5
- Get rid of packaging scripts in Shell HOT 9
- Figure out WebAPI specifications difference between Chromium implementation and Crosswalk test suites HOT 7
- Redesign behavior/usecase test suites UI HOT 2
- Update documentation HOT 5
- Refactor package installation scripts in Python HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crosswalk-test-suite.