OLD | NEW |
1 # | 1 # |
2 # Test Requirements: | 2 # Test Requirements: |
3 # | 3 # |
4 # Each sample is expected to have a global variable called g_testResult | 4 # Each sample is expected to have a global variable called g_testResult |
5 # That starts undefined and is set to true or false when the test is finished. | 5 # That starts undefined and is set to true or false when the test is finished. |
6 # | 6 # |
7 # Line Format: | 7 # Line Format: |
8 # | 8 # |
9 # TestType test-name options | 9 # TestType test-name options |
10 # | 10 # |
(...skipping 27 matching lines...) Expand all Loading... |
38 # | 38 # |
39 # pdiff_threshold_mac(number_of_pixels_allowed) | 39 # pdiff_threshold_mac(number_of_pixels_allowed) |
40 # pdiff_threshold_win(number_of_pixels_allowed) | 40 # pdiff_threshold_win(number_of_pixels_allowed) |
41 # pdiff_threshold_linux(number_of_pixels_allowed) | 41 # pdiff_threshold_linux(number_of_pixels_allowed) |
42 # pdiff_threshold(number_of_pixels_allowed) : Number of pixels | 42 # pdiff_threshold(number_of_pixels_allowed) : Number of pixels |
43 # allowed to be perceptually different before the test fails. | 43 # allowed to be perceptually different before the test fails. |
44 # "pdiff_threshold" specifies the threshold for all | 44 # "pdiff_threshold" specifies the threshold for all |
45 # platforms. Platform specific versions override the | 45 # platforms. Platform specific versions override the |
46 # threshold for that platform. The default threshold is 10 pixels. | 46 # threshold for that platform. The default threshold is 10 pixels. |
47 # | 47 # |
48 # except(*firefox, *iexplore, *googlechrome) : Name of the browser | 48 # except(*firefox,*iexplore,*googlechrome) : Name of the browser |
49 # environment(s) where the test should be skipped. | 49 # environment(s) where the test should be skipped. This list should |
| 50 # not have spaces delimiting the browser names. |
50 # Default = "" | 51 # Default = "" |
51 # | 52 # |
52 # pdiff_edge_ignore_off : Turn off edge detection function in pdiff. | 53 # pdiff_edge_ignore_off : Turn off edge detection function in pdiff. |
53 # By default, it's on with a default edge detect threshold 5. | 54 # By default, it's on with a default edge detect threshold 5. |
54 # | 55 # |
55 # pdiff_edge_threshold(0 to 7) : Set edge detect threshold in pdiff. | 56 # pdiff_edge_threshold(0 to 7) : Set edge detect threshold in pdiff. |
56 # This threshold indicates the max number of neighbors the pixel can | 57 # This threshold indicates the max number of neighbors the pixel can |
57 # have to be considered as edge. 0 means only ignore scattered pixels. | 58 # have to be considered as edge. 0 means only ignore scattered pixels. |
58 # NOTE! ---------------------------------------------------------------------- | 59 # NOTE! ---------------------------------------------------------------------- |
59 # | 60 # |
60 # Read the sample guidelines | 61 # Read the sample guidelines |
61 # http://wiki.corp.google.com/twiki/bin/view/Main/ClientThreeDSampleGuidelines | 62 # http://wiki.corp.google.com/twiki/bin/view/Main/ClientThreeDSampleGuidelines |
62 # | 63 # |
63 # | 64 # |
64 small version-check-test | 65 small version-check-test |
65 small event-test | 66 small event-test |
66 small test-test | 67 small test-test |
67 small serialization-test | 68 small serialization-test |
68 small math-test | 69 small math-test |
69 small features-test | 70 small features-test |
70 small quaternion-test | 71 small quaternion-test |
71 small v8-test | 72 small v8-test |
72 small init-status-test | 73 small init-status-test |
73 small quaternion-test | 74 small quaternion-test |
74 small base-test | 75 small base-test |
75 small util-test | 76 small util-test |
76 small pixel-perfection screenshot pdiff_threshold(200) pdiff_threshold_ma
c(3000) except(*iexplore) | 77 small pixel-perfection screenshot pdiff_threshold(200) pdiff_threshold_ma
c(3000) except(*iexplore) |
77 # Firefox opens an error dialog on this test stating that O3D failed to | 78 # Firefox opens an error dialog on this test stating that O3D failed to |
78 # start (issue #212). Chrome fails this test occasionally (issue #105). | 79 # start (issue #212). Chrome fails this test occasionally (issue #105). |
79 medium offscreen-test except(*firefox, *googlechrome) | 80 medium offscreen-test except(*firefox,*googlechrome) |
80 medium texture-set-test screenshot | 81 medium texture-set-test screenshot |
81 medium param-array-test screenshot | 82 medium param-array-test screenshot |
82 small render-target-clear-test screenshot | 83 small render-target-clear-test screenshot |
83 small no-rendergraph screenshot | 84 small no-rendergraph screenshot |
84 small non-cachable-params screenshot pdiff_threshold(200) | 85 small non-cachable-params screenshot pdiff_threshold(200) |
85 small type-test | 86 small type-test |
86 small render-test | 87 small render-test |
87 # TODO Test disabled, as the behaviour on Chrome does not match other | 88 # TODO Test disabled, as the behaviour on Chrome does not match other |
88 # browsers - objects are not deleted properly. | 89 # browsers - objects are not deleted properly. |
89 small ownership-test | 90 small ownership-test |
90 small effect-import-test | 91 small effect-import-test |
91 | 92 |
92 # -- tests below this line are tests for which there is a python | 93 # -- tests below this line are tests for which there is a python |
93 # function to custom run the test. As such, only the 'except' and | 94 # function to custom run the test. As such, only the 'except' and |
94 # pdiff_threshold options have any meaning | 95 # pdiff_threshold options have any meaning |
95 | 96 |
96 # These two tests rely on Selenium getting or setting a page's title and that | 97 # These two tests rely on Selenium getting or setting a page's title and that |
97 # does not currently work with Chrome. | 98 # does not currently work with Chrome. |
98 # Don't run TestStressDrawShapes on ie because selenium/ie is too slow. | 99 # Don't run TestStressDrawShapes on ie because selenium/ie is too slow. |
99 medium TestStressDrawShapes except(*googlechrome,*iexplore) | 100 medium TestStressDrawShapes except(*googlechrome,*iexplore) |
100 medium TestStressMultiWindow except(*googlechrome) run_time(180000) | 101 medium TestStressMultiWindow except(*googlechrome) run_time(180000) |
101 | 102 |
102 large TestStressCullingZSort pdiff_threshold(450) screenshots(8) | 103 large TestStressCullingZSort pdiff_threshold(450) screenshots(8) |
OLD | NEW |