Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Side by Side Diff: tests/README

Issue 521773003: Add language tests for Issue 18628. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address @karlklose's comments. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | tests/language/issue18628_1_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Run Existing Tests
2 ==================
3
4 See the output of
5
6 ../tools/test.py --help
7
8 for how to run tests.
9
10 See also
11
12 https://code.google.com/p/dart/wiki/Building#Testing
13
14 for detailed examples.
15
16 Create New Tests
17 ================
18
19 See comments above
20
21 factory StandardTestSuite.forDirectory
22
23 in
24
25 ../tools/testing/dart/test_suite.dart
26
27 for the default test directory layout. By default test-file names must
28 end in "_test.dart", but some test suites, such as ./co19, subclass
29 StandardTestSuite and override this default.
30
31 See comments at the beginning of
32
33 ../tools/testing/dart/multitest.dart
34
35 for how to create tests that pass by failing with a known error. For
36 example,
37
38 ...
39 int x = "not an int"; /// 01: static type warning
40 ...
41
42 as part of a test will only pass the "--compiler dartanalyzer" test if
43 the assignment generates a static type warning.
OLDNEW
« no previous file with comments | « no previous file | tests/language/issue18628_1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698