~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to doc/tutorial/TestSuite_output.txt

  • Committer: mattgiuca
  • Date: 2008-01-31 01:44:30 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:345
Global CSS change: ivlebody no longer has 1em of padding (it has none).
This is because most apps were disabling it (and it had to change anyway for
other reasons -- see below).

Hence, all apps which WERE disabling the padding have had that removed, and
just work by default. (console, browser, tutorial)
All apps which WEREN'T disabling the padding (very few) now have to manually
include an extra div. This has been done on all such apps, and has been
heavily documented (both in the CSS file and doc/app_howto). (help, dummy,
debuginfo).

media/common/ivle.css: 
    The real change here (which isn't yet being used) is that ivlebody is now
    positioned absolutely and takes up all the space on the canvas. This is
    to be used for full-page layouts in console and browser.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
The output of running a problem suite is a next dictionary that can easily be converted into json:
 
2
 
 
3
--------
 
4
problem
 
5
--------
 
6
Normal case:
 
7
problem = {
 
8
        name: name of problem <string>
 
9
        cases: test case results <list(case)>
 
10
        passed: <bool>
 
11
}
 
12
 
 
13
Critical error occured (Syntax, Indentation, FunctionNotFound):
 
14
problem = {
 
15
        name: name of problem <string>
 
16
        critical_error: details of error <exception_data>
 
17
        passed: False <bool>
 
18
}
 
19
 
 
20
----
 
21
case
 
22
----
 
23
Normal:
 
24
case = {
 
25
        name: name of test case <string>
 
26
        parts: test part results <list(part)>
 
27
        passed: all parts passed <bool>
 
28
}
 
29
 
 
30
Exception occured:
 
31
case = {
 
32
        name: name of test case <string>
 
33
        exception: details of exception <exception_data>
 
34
        passed: False <bool>
 
35
}
 
36
 
 
37
----
 
38
part
 
39
----
 
40
Part passed:
 
41
part = {
 
42
        description: <string>
 
43
        passed: True <bool>
 
44
}
 
45
 
 
46
Part failed:
 
47
part = {
 
48
        description: <string>
 
49
        passed: False <bool>
 
50
        error_message: <string>
 
51
}
 
52
 
 
53
--------------
 
54
exception_data
 
55
--------------
 
56
exception_data = {
 
57
        name: class name of exception <string>
 
58
        detail: extra info <string>
 
59
        critical: does exception prevent all tests from being run <bool>
 
60
}