cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / third_party / closure_compiler / runner / how_to_test_compiler_pass.md
blob7324a3726e013393b596445242bcbd3faedc0a86
1 Run Java tests
2 ==============
4 1. Build Closure Compiler jar with all tests:
6         git clone https://github.com/google/closure-compiler.git
7         cd closure-compiler
8         ant all-classes-jar
10 2. Add test file to Eclipse and run tests in it.
11   - Launch Eclipse.
12   - File -> New -> Java Project.
13   - Enter any project name, click "Next >".
14   - On the tab "Source" click on the icon "Link additional source to project".
15   - Select "third_party/closure_compiler/runner/test", click "Finish".
16   - Click on the icon  "Link additional source to project" once again.
17   - Select "third_party/closure_compiler/runner/src", type a name "src2",
18       click "Finish".
19   - On the tab "Libraries" click "Add External JARs...".
20   - Select "closure-compiler/build/compiler.jar", click "Finish" two times.
21   - Open the class test/com.google.javascript.jscomp/ChromePassTest.java.
22   - Run As -> JUnit Test.
25 Run Python tests
26 ================
28 Run in Shell:
30     ./third_party/closure_compiler/runner/build_runner_jar.py
31     ./third_party/closure_compiler/compiler_customization_test.py