~sschaefer/leo-editor/leo-manualUpdate

« back to all changes in this revision

Viewing changes to leo/test/unitTest.leo

  • Committer: Stephen P. Schaefer
  • Date: 2010-05-11 20:33:17 UTC
  • mfrom: (3067.1.17 trunk)
  • Revision ID: sps@thyrsus-laptop2.schaefer-home.org-20100511203317-7wrpucw0lwhk0c6w
Merge from trunk.
Chapter 4, more cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
<preferences/>
10
10
<find_panel_settings/>
11
11
<vnodes>
12
 
<v t="ekr.20070417092935"><vh>Startup</vh>
 
12
<v t="ekr.20070417092935" a="E"><vh>Startup</vh>
13
13
<v t="ekr.20041001211817"><vh>Buttons</vh>
14
14
<v t="ekr.20070926090757"><vh>Disabled buttons</vh>
15
15
<v t="ekr.20051025070722"><vh>@@button Beautify</vh></v>
37
37
<v t="ekr.20051104081502.555"><vh>@@command rebind ctrl-e @key=shift-alt-e</vh></v>
38
38
<v t="ekr.20041001194357"><vh>@@command Unit Test @key=Alt+4</vh></v>
39
39
</v>
40
 
<v t="ekr.20041121151002"><vh>@settings</vh>
 
40
<v t="ekr.20041121151002" a="E"><vh>@settings</vh>
41
41
<v t="ekr.20070303143846.1"><vh>@@enabled-plugins</vh></v>
42
42
<v t="ekr.20080324133327.2"><vh>@bool allow_middle_button_paste = True</vh></v>
43
43
<v t="ekr.20090629104856.4992"><vh>@@bool big_outline_pane = True</vh></v>
49
49
<v t="ekr.20050328101834.2"><vh>@int  port = 8080</vh></v>
50
50
<v t="ekr.20050328101834.3"><vh>@string rst_http_attributename = ''</vh></v>
51
51
</v>
 
52
<v t="ekr.20100507152400.5388"><vh>@@string qt-toolbar-location=left</vh></v>
52
53
<v t="ekr.20070303143951"><vh>unused</vh>
53
54
<v t="ekr.20051018071924"><vh>@@color log_pane_Completion_tab_background_color = yellow</vh></v>
54
55
<v t="ekr.20060325072919"><vh>@@ifgui tkinter</vh>
843
844
<v t="ekr.20071113145804.24"><vh>@test round trip toUnicode toEncodedString</vh></v>
844
845
<v t="ekr.20100421102506.6282"><vh>@test rst.write with unicode character</vh></v>
845
846
</v>
846
 
<v t="ekr.20071113194858" a="E"><vh>Organized by file</vh>
 
847
<v t="ekr.20071113194858"><vh>Organized by file</vh>
847
848
<v t="ekr.20100223123103.5382"><vh>@test expand/contract-pane</vh></v>
848
849
<v t="ekr.20100131171342.5506"><vh>leoApp</vh>
849
850
<v t="ekr.20100131180007.5454"><vh>@test at.get/setPathUa</vh></v>
2018
2019
<v t="ekr.20100131171342.5602"><vh>@test leoTextWidget</vh></v>
2019
2020
<v t="ekr.20100131171342.5603"><vh>@test zz restore the screen</vh></v>
2020
2021
</v>
2021
 
<v t="ekr.20090529141856.4682" a="E"><vh>leoImport</vh>
 
2022
<v t="ekr.20090529141856.4682"><vh>leoImport</vh>
2022
2023
<v t="ekr.20090529141856.4684"><vh> Export tests</vh>
2023
2024
<v t="ekr.20090529141856.4685"><vh>@suite Export tests</vh></v>
2024
2025
<v t="ekr.20090529141856.4686"><vh>exportTests</vh>
2068
2069
</v>
2069
2070
</v>
2070
2071
<v t="ekr.20090529141856.4790"><vh> Test files</vh></v>
2071
 
<v t="ekr.20090529141856.4716" a="E"><vh> Tests of @auto</vh>
 
2072
<v t="ekr.20090529141856.4716"><vh> Tests of @auto</vh>
2072
2073
<v t="ekr.20090529141856.4782"><vh>@test checkTrialWrite</vh></v>
2073
2074
<v t="ekr.20090529141856.4783"><vh>@test collapse-all</vh></v>
2074
 
<v t="ekr.20090529141856.4717" a="E"><vh>C tests</vh>
 
2075
<v t="ekr.20090529141856.4717"><vh>C tests</vh>
2075
2076
<v t="ekr.20090529141856.4718"><vh>@test c class 1</vh></v>
2076
2077
<v t="ekr.20090529141856.4719"><vh>@test c class--underindented line</vh></v>
2077
2078
<v t="ekr.20090529141856.4720"><vh>@test defaultImporter</vh></v>
2082
2083
<v t="ekr.20090529141856.4725"><vh>@test c old-style decl 2</vh></v>
2083
2084
<v t="ekr.20090529141856.4726"><vh>@test c extern</vh></v>
2084
2085
</v>
2085
 
<v t="ekr.20090529141856.4727" a="E"><vh>c# tests</vh>
 
2086
<v t="ekr.20090529141856.4727"><vh>c# tests</vh>
2086
2087
<v t="ekr.20090529141856.4728"><vh>@test c# namespace indent</vh></v>
2087
2088
<v t="ekr.20090529141856.4729"><vh>@test c# namespace no indent</vh></v>
2088
2089
<v t="ekr.20090529141856.4730"><vh>@@test c# ref card</vh></v>
2089
2090
</v>
2090
 
<v t="ekr.20090529141856.4731" a="E"><vh>elisp tests</vh>
 
2091
<v t="ekr.20090529141856.4731"><vh>elisp tests</vh>
2091
2092
<v t="ekr.20090529141856.4732"><vh>@test elisp functions</vh></v>
2092
2093
<v t="ekr.20090529141856.4733"><vh>@test elisp 2</vh></v>
2093
2094
</v>
2094
 
<v t="ekr.20090529141856.4766" a="E"><vh>Java tests</vh>
 
2095
<v t="ekr.20090529141856.4766"><vh>Java tests</vh>
2095
2096
<v t="ekr.20090529141856.4767"><vh>@test java interface test1</vh></v>
2096
2097
<v t="ekr.20090529141856.4768"><vh>@test java interface test2</vh></v>
2097
2098
<v t="ekr.20090529141856.4769"><vh>@@test constants.java</vh></v>
2098
2099
<v t="ekr.20090529141856.4770"><vh>@test from AdminPermission.java</vh></v>
2099
2100
<v t="ekr.20090529141856.4771"><vh>@@test AdminPermission.java</vh></v>
2100
 
<v t="ekr.20090529141856.4772" a="E"><vh>Test BundleException.java</vh>
 
2101
<v t="ekr.20090529141856.4772"><vh>Test BundleException.java</vh>
2101
2102
<v t="ekr.20090529141856.4773"><vh>@test from BundleException.java</vh></v>
2102
2103
</v>
2103
2104
</v>
2104
 
<v t="ekr.20090529141856.4774" a="E"><vh>Javascript tests</vh>
 
2105
<v t="ekr.20090529141856.4774"><vh>Javascript tests</vh>
2105
2106
<v t="ekr.20090529141856.4775"><vh>Problems</vh></v>
2106
2107
<v t="ekr.20090529141856.4776"><vh>@test Javascript-regex-1</vh></v>
2107
2108
<v t="ekr.20090529141856.4777"><vh>@test Javascript-2</vh></v>
2108
2109
<v t="ekr.20090529141856.4778"><vh>@test Javascript-3</vh></v>
2109
2110
<v t="ekr.20090529141856.4779"><vh>@@test javascript-test-js</vh></v>
2110
2111
</v>
2111
 
<v t="ekr.20090529141856.4734" a="E"><vh>Pascal tests</vh>
 
2112
<v t="ekr.20090529141856.4734"><vh>Pascal tests</vh>
2112
2113
<v t="ekr.20090529141856.4735"><vh>@test pascal-to-delphi interface</vh></v>
2113
2114
</v>
2114
 
<v t="ekr.20100219080213.5365" a="E"><vh>PHP tests</vh>
 
2115
<v t="ekr.20100219080213.5365"><vh>PHP tests</vh>
2115
2116
<v t="ekr.20100219080213.5366"><vh>@test php import class</vh></v>
2116
2117
<v t="ekr.20100219080213.5367"><vh>@test php import conditional class</vh></v>
2117
2118
<v t="ekr.20100219080213.5368"><vh>@test php import classes &amp; functions</vh></v>
2118
2119
</v>
2119
 
<v t="ekr.20090529141856.4736" a="E"><vh>Python tests</vh>
 
2120
<v t="ekr.20090529141856.4736"><vh>Python tests</vh>
2120
2121
<v t="ekr.20090529141856.4737"><vh>@@test nested class</vh></v>
2121
2122
<v t="ekr.20090529141856.4738"><vh>@test comment after dict assign</vh></v>
2122
2123
<v t="ekr.20090529141856.4739"><vh>@test decorator test</vh></v>
2147
2148
<v t="ekr.20090529141856.4764"><vh>@test two functions (for comparison with unindent does not end function)</vh></v>
2148
2149
<v t="ekr.20090529141856.4765"><vh>@test unindent in triple string does not end function</vh></v>
2149
2150
</v>
2150
 
<v t="ekr.20090529141856.4780" a="E"><vh>xml tests</vh>
 
2151
<v t="ekr.20090529141856.4780"><vh>xml tests</vh>
2151
2152
<v t="ekr.20090529141856.4781"><vh>@test xml 1</vh></v>
2152
2153
</v>
2153
2154
</v>
2154
 
<v t="ekr.20090529141856.4784" a="E"><vh> Tests of @auto-rst</vh>
 
2155
<v t="ekr.20090529141856.4784"><vh> Tests of @auto-rst</vh>
2155
2156
<v t="ekr.20090529141856.4785"><vh>@test rST import test</vh></v>
2156
2157
<v t="ekr.20090529141856.4786"><vh>@test rST import test (no double-underlines)</vh></v>
2157
2158
<v t="ekr.20090529141856.4787"><vh>@test rST import test: long underlines</vh></v>
2171
2172
<v t="ekr.20100131171342.5608"><vh>@test strokeFromSetting</vh></v>
2172
2173
<v t="ekr.20100131171342.5609"><vh>@test zz restore the screen</vh></v>
2173
2174
</v>
2174
 
<v t="ekr.20071113194424.1" a="E"><vh>leoNodes</vh>
 
2175
<v t="ekr.20071113194424.1"><vh>leoNodes</vh>
2175
2176
<v t="ekr.20040712101754.181"><vh> inner @test: Test consistency between parents iter and v.parents</vh>
2176
2177
<v t="ekr.20040712101754.182"><vh>parent</vh>
2177
2178
<v t="ekr.20040712101754.183"><vh>Startup</vh></v>
2269
2270
<v t="ekr.20040712101754.197"><vh>&lt;&lt; tests that node iterators return no duplicate nodes &gt;&gt;</vh></v>
2270
2271
<v t="ekr.20040712101754.198"><vh>&lt;&lt; print nodes returned by iterators &gt;&gt;</vh></v>
2271
2272
</v>
2272
 
<v t="ekr.20040802071519" a="E"><vh>@test p.setBodyStringOrPane</vh>
 
2273
<v t="ekr.20040802071519"><vh>@test p.setBodyStringOrPane</vh>
2273
2274
<v t="ekr.20040802071519.1"><vh>Startup</vh></v>
2274
2275
</v>
2275
2276
<v t="ekr.20100131180007.5391"><vh>@test v.atAutoNodeName &amp; v.atAutoRstNodeName</vh></v>
2276
2277
<v t="ekr.20060913084600"><vh>@test v/t.__hash__</vh></v>
2277
2278
<v t="ekr.20071113202452"><vh>@test zz restore the screen</vh></v>
2278
 
<v t="ekr.20080501121449.1" a="E"><vh>Fundamental node operations</vh>
 
2279
<v t="ekr.20080501121449.1"><vh>Fundamental node operations</vh>
2279
2280
<v t="ekr.20080423110627.2"><vh>@test at most one vnode has str_leo_pos attribute</vh></v>
2280
2281
<v t="ekr.20080423110627.3"><vh>@test clone and move the clone to the root</vh></v>
2281
2282
<v t="ekr.20080503082625.3"><vh>@test delete node</vh></v>
2290
2291
<v t="ekr.20080423110627.8"><vh>@test paste-retaining-clones</vh></v>
2291
2292
<v t="ekr.20080503082625.4"><vh>@test promote</vh></v>
2292
2293
</v>
2293
 
<v t="ekr.20081001094920.2" a="E"><vh>tests for p.textOffset()</vh>
 
2294
<v t="ekr.20081001094920.2"><vh>tests for p.textOffset()</vh>
2294
2295
<v t="ekr.20081001094920.3"><vh>@test node that doesn't belong to a derived file</vh></v>
2295
2296
<v t="ekr.20081001094920.4"><vh>@test root of a derived file</vh></v>
2296
2297
<v t="ekr.20081001094920.5"><vh>@test organizer node</vh></v>
2298
2299
<v t="ekr.20081001094920.7"><vh>@test "others" directive</vh></v>
2299
2300
</v>
2300
2301
</v>
2301
 
<v t="ekr.20100131171342.5610" a="E"><vh>leoPlugins</vh>
 
2302
<v t="ekr.20100131171342.5610"><vh>leoPlugins</vh>
2302
2303
<v t="ekr.20100131171342.5611"><vh>@test getHandlersForTag</vh></v>
2303
2304
</v>
2304
 
<v t="ekr.20091219122958.5066" a="E"><vh>leoRst</vh>
 
2305
<v t="ekr.20091219122958.5066"><vh>leoRst</vh>
2305
2306
<v t="ekr.20091219121039.5065"><vh>@test rst3 handleMissingStyleSheetArgs</vh></v>
2306
2307
</v>
2307
 
<v t="ekr.20090529115704.4396" a="E"><vh>leoShadow</vh>
 
2308
<v t="ekr.20090529115704.4396"><vh>leoShadow</vh>
2308
2309
<v t="ekr.20090529115704.4560"><vh>@@test (minitest) x.show_error</vh></v>
2309
2310
<v t="ekr.20090529115704.4569"><vh>@@test delete unittest shadow directory</vh></v>
2310
2311
<v t="ekr.20090529115704.4397"><vh>@suite run @shadow-test nodes in the @shadow-tests tree</vh>
2551
2552
<v t="ekr.20090529115704.4553"><vh>@test x.shadowPathName</vh></v>
2552
2553
<v t="ekr.20090529115704.4556"><vh>@test x.unlink</vh></v>
2553
2554
</v>
2554
 
<v t="ekr.20071113200638.1" a="E"><vh>leoTangle</vh>
 
2555
<v t="ekr.20071113200638.1"><vh>leoTangle</vh>
2555
2556
<v t="ekr.20090624125638.4963"><vh>@test c.tangleCommands.scanAllDirectives</vh></v>
2556
2557
<v t="ekr.20071113090055.1"><vh>@test c.tangleCommands.scanAllDirectives 2</vh></v>
2557
2558
<v t="ekr.20071127194743"><vh>@test @root</vh>
2563
2564
<v t="ekr.20090624125638.4969"><vh>Output</vh></v>
2564
2565
</v>
2565
2566
</v>
2566
 
<v t="ekr.20100131171342.5612" a="E"><vh>leoTest</vh>
 
2567
<v t="ekr.20100131171342.5612"><vh>leoTest</vh>
2567
2568
<v t="ekr.20100131171342.5613"><vh>@test unit testing with embedded class</vh></v>
2568
2569
</v>
2569
2570
<v t="ekr.20071113193729"><vh>leoUndo</vh>
2570
 
<v t="ekr.20040712101754.37" a="E"><vh>@suite Edit body tests</vh>
2571
 
<v t="ekr.20040712101754.38" a="E"><vh>editBodyTests</vh>
 
2571
<v t="ekr.20040712101754.37"><vh>@suite Edit body tests</vh>
 
2572
<v t="ekr.20040712101754.38"><vh>editBodyTests</vh>
2572
2573
<v t="ekr.20060127120604"><vh>tempNode</vh></v>
2573
2574
<v t="ekr.20050417202713"><vh>addComments</vh>
2574
2575
<v t="ekr.20050417202713.1"><vh>before</vh></v>
23190
23191
 
23191
23192
assert g.os_path_exists(name)
23192
23193
</t>
 
23194
<t tx="ekr.20100507152400.5388"></t>
23193
23195
<t tx="ville.20090312195309.2">#if this starts failing due to much refacting in unitTest.leo,
23194
23196
# adjust accordingly
23195
23197