Merge lp:~kissiel/checkbox/checkbox-touch-cleanup into lp:checkbox
- checkbox-touch-cleanup
- Merge into trunk
Status: | Merged |
---|---|
Approved by: | Sylvain Pineau |
Approved revision: | 3826 |
Merged at revision: | 3856 |
Proposed branch: | lp:~kissiel/checkbox/checkbox-touch-cleanup |
Merge into: | lp:checkbox |
Diff against target: |
507 lines (+0/-477) 5 files modified
checkbox-touch/components/HelloComponent.qml (+0/-15) checkbox-touch/components/ScreensPreviewPage.qml (+0/-237) checkbox-touch/preview.qml (+0/-65) checkbox-touch/py/checkbox_touch.py (+0/-110) checkbox-touch/tests/unit/tst_hellocomponent.qml (+0/-50) |
To merge this branch: | bzr merge lp:~kissiel/checkbox/checkbox-touch-cleanup |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau (community) | Approve | ||
Zygmunt Krynicki (community) | Approve | ||
Review via email: mp+260582@code.launchpad.net |
Commit message
Description of the change
This MR removes some unused bits from the Checkbox-Touch.
6827eae checkbox-touch: remove FakeCheckboxTou
2d4d959 checkbox-touch: remove HelloComponent
8504c0f checkbox-touch: remove screens preview page
Daniel Manrique (roadmr) wrote : | # |
Attempt to merge into lp:checkbox failed due to conflicts:
text conflict in checkbox-
Maciej Kisielewski (kissiel) wrote : | # |
Self-approving, as the only change after Zygmunt's review was a simple rebase.
Daniel Manrique (roadmr) wrote : | # |
The attempt to merge lp:~kissiel/checkbox/checkbox-touch-cleanup into lp:checkbox failed. Below is the output from the failed tests.
[precise] starting container
[precise] (timing) 0.06user 0.01system 0:05.22elapsed 1%CPU (0avgtext+0avgdata 7848maxresident)k
[precise] (timing) 0inputs+32outputs (0major+
[precise] provisioning container
[precise] (timing) 46.65user 14.74system 1:39.52elapsed 61%CPU (0avgtext+0avgdata 52404maxresident)k
[precise] (timing) 0inputs+
[precise-testing] Starting tests...
Found a test script: ./checkbox-
[precise-testing] container-
[precise-testing] (timing) 28.25user 2.14system 0:30.71elapsed 98%CPU (0avgtext+0avgdata 116644maxresident)k
[precise-testing] (timing) 0inputs+4264outputs (0major+
Found a test script: ./checkbox-
[precise-testing] container-
[precise-testing] (timing) 0.64user 0.14system 0:00.83elapsed 94%CPU (0avgtext+0avgdata 42864maxresident)k
[precise-testing] (timing) 0inputs+1528outputs (0major+
Found a test script: ./checkbox-
[precise-testing] container-
[precise-testing] (timing) 16.97user 0.16system 0:17.61elapsed 97%CPU (0avgtext+0avgdata 84236maxresident)k
[precise-testing] (timing) 0inputs+1312outputs (0major+
Found a test script: ./checkbox-
[precise-testing] container-
[precise-testing] (timing) 0.00user 0.00system 0:00.03elapsed 53%CPU (0avgtext+0avgdata 2044maxresident)k
[precise-testing] (timing) 0inputs+8outputs (0major+
Found a test script: ./plainbox/
[precise-testing] container-
[precise-testing] (timing) 1.34user 0.09system 0:01.47elapsed 97%CPU (0avgtext+0avgdata 49672maxresident)k
[precise-testing] (timing) 0inputs+40outputs (0major+
Found a test script: ./plainbox/
[precise-testing] 001-container-
[precise-testing] (timing) 0.15user 0.03system 0:00.20elapsed 92%CPU (0avgtext+0avgdata 10588maxresident)k
[precise-testing] (timing) 0inputs+88outputs (0major+
Found a test script: ./plainbox/
[precise-testing] container-
[precise-testing] (timing) 32.86user 1.26system 0:34.46elapsed 99%CPU (0avgtext+0avgdata 134856maxresident)k
[precise-testing] (timing) 0inputs+3016outputs (0major+
Found a test script: ./plainbox/
[precise-testing] container-
[precise-testing] (t...
- 3825. By Maciej Kisielewski
-
checkbox-touch: remove HelloComponent
This patch removes boilerplate component that was generated by SDK's wizard.
It's about time :)Signed-off-by: Maciej Kisielewski <email address hidden>
- 3826. By Maciej Kisielewski
-
checkbox-touch: remove screens preview page
This patch removes 'alternative' way of lunching the app, where user could see
individual components. This component - ScreensPreviewPage got stale and no one
used it, so this commit ends its existance.Signed-off-by: Maciej Kisielewski <email address hidden>
Preview Diff
1 | === removed file 'checkbox-touch/components/HelloComponent.qml' |
2 | --- checkbox-touch/components/HelloComponent.qml 2014-08-11 12:29:41 +0000 |
3 | +++ checkbox-touch/components/HelloComponent.qml 1970-01-01 00:00:00 +0000 |
4 | @@ -1,15 +0,0 @@ |
5 | -import QtQuick 2.0 |
6 | -import Ubuntu.Components 0.1 |
7 | - |
8 | -UbuntuShape { |
9 | - width: 200 |
10 | - height: width |
11 | - |
12 | - property alias text : myText.text |
13 | - |
14 | - Label { |
15 | - id: myText |
16 | - anchors.centerIn: parent |
17 | - } |
18 | -} |
19 | - |
20 | |
21 | === removed file 'checkbox-touch/components/ScreensPreviewPage.qml' |
22 | --- checkbox-touch/components/ScreensPreviewPage.qml 2014-09-29 19:18:47 +0000 |
23 | +++ checkbox-touch/components/ScreensPreviewPage.qml 1970-01-01 00:00:00 +0000 |
24 | @@ -1,237 +0,0 @@ |
25 | -/* |
26 | - * This file is part of Checkbox |
27 | - * |
28 | - * Copyright 2014 Canonical Ltd. |
29 | - * |
30 | - * Authors: |
31 | - * - Maciej Kisielewski <maciej.kisielewski@canonical.com> |
32 | - * |
33 | - * This program is free software; you can redistribute it and/or modify |
34 | - * it under the terms of the GNU General Public License as published by |
35 | - * the Free Software Foundation; version 3. |
36 | - * |
37 | - * This program is distributed in the hope that it will be useful, |
38 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
39 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
40 | - * GNU General Public License for more details. |
41 | - * |
42 | - * You should have received a copy of the GNU General Public License |
43 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
44 | - */ |
45 | - |
46 | -import QtQuick 2.0 |
47 | -import Ubuntu.Components 1.1 |
48 | -import QtQuick.Layouts 1.1 |
49 | - |
50 | -Page { |
51 | - id: screensPreviewPage |
52 | - title: i18n.tr("Screens preview") |
53 | - visible: false |
54 | - |
55 | - Flickable { |
56 | - anchors.fill: parent |
57 | - contentHeight: column.height |
58 | - contentWidth: column.width |
59 | - anchors.margins: units.gu(1) |
60 | - ColumnLayout { |
61 | - id: column |
62 | - spacing: units.gu(3) |
63 | - Label { |
64 | - fontSize: "x-large" |
65 | - Layout.alignment: Qt.AlignHCenter |
66 | - Layout.fillWidth: true |
67 | - wrapMode: Text.WrapAtWordBoundaryOrAnywhere |
68 | - text: i18n.tr("This is a developer screen that allows you to preview particular part of the app.\nSelect which screen to preview") |
69 | - } |
70 | - Button { |
71 | - text: i18n.tr("Welcome page") |
72 | - onClicked: { |
73 | - var newPage = Qt.createComponent(Qt.resolvedUrl("WelcomePage.qml")).createObject(); |
74 | - newPage.welcomeText = i18n.tr("This application is under development.\nThere is nothing beyond this screen yet"); |
75 | - newPage.startTestingTriggered.connect(function() { pageStack.pop() }) |
76 | - pageStack.push(newPage); |
77 | - } |
78 | - } |
79 | - Button { |
80 | - text: i18n.tr("Automated test page") |
81 | - onClicked: { |
82 | - var test = { |
83 | - "name": "memory/info", |
84 | - "description": "This test checks the amount of memory which is reporting \ |
85 | -in meminfo against the size of the memory modules detected by DMI." |
86 | - }; |
87 | - var newPage = Qt.createComponent(Qt.resolvedUrl("AutomatedTestPage.qml")).createObject(); |
88 | - newPage.test = test; |
89 | - pageStack.push(newPage); |
90 | - } |
91 | - } |
92 | - Button { |
93 | - text: i18n.tr("User-Interact-Verify test page") |
94 | - onClicked: { |
95 | - var test = { |
96 | - "name": "Headphones playback", |
97 | - "description": "This test will check that headphones connector works correctly.\n\ |
98 | -STEPS:\n\ |
99 | - 1. Connect a pair of headphones to your audio device\n\ |
100 | - 2. Click the Test button to play a sound to your audio device" |
101 | - }; |
102 | - var newPage = Qt.createComponent(Qt.resolvedUrl("InteractIntroPage.qml")).createObject(); |
103 | - newPage.test = test; |
104 | - newPage.testStarted.connect(userInteractVerifyTestStarted); |
105 | - newPage.testDone.connect(testDone); |
106 | - //Triggering of timer should change the state on intro page |
107 | - interactIntroTimer.triggered.connect(newPage.stopActivity) |
108 | - pageStack.push(newPage); |
109 | - } |
110 | - } |
111 | - Button { |
112 | - objectName: "resumeSessionPageButton" |
113 | - text: i18n.tr("Resume session page") |
114 | - onClicked: { |
115 | - var newPage = Qt.createComponent(Qt.resolvedUrl("ResumeSessionPage.qml")).createObject(); |
116 | - newPage.resumeText = "Checkbox did not finish completely.\n\n\ |
117 | -Do you want to rerun the last test, continue to the next test, or restart from the beginning?"; |
118 | - newPage.rerunLast.connect(function() { |
119 | - console.log("Rerun last test selected"); |
120 | - replaceOnPageStack(screensPreviewPage); |
121 | - }); |
122 | - newPage.continueSession.connect(function() { |
123 | - console.log("Continue session selected"); |
124 | - replaceOnPageStack(screensPreviewPage); |
125 | - }); |
126 | - newPage.restartSession.connect(function() { |
127 | - console.log("Restart session selected"); |
128 | - replaceOnPageStack(screensPreviewPage); |
129 | - }); |
130 | - replaceOnPageStack(newPage); |
131 | - } |
132 | - } |
133 | - Button { |
134 | - objectName: "manualIntroPageButton" |
135 | - text: i18n.tr("Manual test page") |
136 | - onClicked: { |
137 | - var test = { |
138 | - "name": "Volume Down Key", |
139 | - "description": "PURPOSE:\n This test will test the volume down key\n\ |
140 | -STEPS:\n 1. Click the volume down key of your phone", |
141 | - "verificationDescription": "Did the volume go down when you pressed the volume down key?" |
142 | - }; |
143 | - |
144 | - var newPage = Qt.createComponent(Qt.resolvedUrl("ManualIntroPage.qml")).createObject(); |
145 | - newPage.testDone.connect(testDone); |
146 | - newPage.test = test; |
147 | - newPage.continueClicked.connect(function() { |
148 | - var verificationPage = Qt.createComponent(Qt.resolvedUrl("TestVerificationPage.qml")).createObject(); |
149 | - verificationPage.test = test; |
150 | - verificationPage.testDone.connect(testDone); |
151 | - pageStack.push(verificationPage); |
152 | - }); |
153 | - pageStack.push(newPage); |
154 | - } |
155 | - } |
156 | - Row { |
157 | - spacing: units.gu(3) |
158 | - Button { |
159 | - text: i18n.tr("User-Interact test page") |
160 | - onClicked: { |
161 | - var test = { |
162 | - "name": "Finger Expand", |
163 | - "description": "PURPOSE:\n Check touchscreen expand gesture for zoom\n\ |
164 | - STEPS:\n\ |
165 | - 1. Press the Test button\n\ |
166 | - 2. Using 2 fingers, resize the blue square until it turns green, then release it." |
167 | - }; |
168 | - |
169 | - var newPage = Qt.createComponent(Qt.resolvedUrl("InteractIntroPage.qml")).createObject(); |
170 | - newPage.test = test; |
171 | - newPage.testDone.connect(testDone); |
172 | - newPage.testStarted.connect(userInteractTestStarted); |
173 | - interactIntroTimer.triggered.connect(newPage.stopActivity) |
174 | - pageStack.push(newPage); |
175 | - } |
176 | - } |
177 | - Label { |
178 | - text: "Should pass?" |
179 | - } |
180 | - |
181 | - Switch { |
182 | - id: userInteractShouldFail |
183 | - } |
184 | - } |
185 | - Button { |
186 | - id: verificationPageButton |
187 | - text: i18n.tr("Test verification page") |
188 | - onClicked: { |
189 | - var test = { |
190 | - "name": "Headphones playback", |
191 | - "verificationDescription": "Did you hear a sound through the headphones and did the sound \ |
192 | -play without any distortion, clicks or other strange noises from your headphones?" |
193 | - }; |
194 | - |
195 | - interactIntroTimer.triggered.disconnect(verificationPageButton.clicked); |
196 | - var newPage = Qt.createComponent(Qt.resolvedUrl("TestVerificationPage.qml")).createObject(); |
197 | - newPage.test = test; |
198 | - newPage.testDone.connect(testDone); |
199 | - pageStack.push(newPage); |
200 | - } |
201 | - } |
202 | - Button { |
203 | - text: i18n.tr("Results page") |
204 | - onClicked: { |
205 | - var newPage = Qt.createComponent(Qt.resolvedUrl("ResultsPage.qml")).createObject(); |
206 | - newPage.results = {"totalPassed": 15, "totalFailed": 3, "totalSkipped": 5}; |
207 | - pageStack.push(newPage); |
208 | - } |
209 | - } |
210 | - LatchButton { |
211 | - objectName: "latchButton" |
212 | - text: "Latch button" |
213 | - } |
214 | - } |
215 | - } |
216 | - /* |
217 | - This timer emulates running test. |
218 | - */ |
219 | - Timer { |
220 | - id: interactIntroTimer |
221 | - interval: 2000; running: false; repeat: false |
222 | - } |
223 | - |
224 | - function testDone(test) { |
225 | - console.log("Test finished with result: " + test["outcome"]); |
226 | - unwindStack(); |
227 | - } |
228 | - |
229 | - function replaceOnPageStack(newPage) { |
230 | - pageStack.pop(); |
231 | - pageStack.push(newPage); |
232 | - } |
233 | - function userInteractVerifyTestStarted() { |
234 | - interactIntroTimer.triggered.connect(verificationPageButton.clicked); |
235 | - interactIntroTimer.start(); |
236 | - } |
237 | - function showUserInteractSummaryPage() { |
238 | - interactIntroTimer.triggered.disconnect(showUserInteractSummaryPage) |
239 | - var newPage = Qt.createComponent(Qt.resolvedUrl("UserInteractSummaryPage.qml")).createObject(); |
240 | - var test = { |
241 | - "name": "Finger Expand", |
242 | - "outcome": (userInteractShouldFail.checked == true) ? "pass" : "fail" |
243 | - } |
244 | - newPage.test = test |
245 | - newPage.testDone.connect(testDone); |
246 | - pageStack.push(newPage); |
247 | - } |
248 | - function userInteractTestStarted() { |
249 | - interactIntroTimer.triggered.connect(showUserInteractSummaryPage); |
250 | - interactIntroTimer.start(); |
251 | - } |
252 | - function unwindStack() { |
253 | - /* |
254 | - This function pops pages of from the stack until we're on screensPreviewPage |
255 | - Ordinary pageStack.pop() would'n work as there might be 1 or 2 pages on stack |
256 | - */ |
257 | - while(pageStack.currentPage!=screensPreviewPage) { |
258 | - pageStack.pop(); |
259 | - } |
260 | - } |
261 | -} |
262 | |
263 | === removed file 'checkbox-touch/preview.qml' |
264 | --- checkbox-touch/preview.qml 2014-12-03 15:05:34 +0000 |
265 | +++ checkbox-touch/preview.qml 1970-01-01 00:00:00 +0000 |
266 | @@ -1,65 +0,0 @@ |
267 | -/* |
268 | - * This file is part of Checkbox |
269 | - * |
270 | - * Copyright 2014 Canonical Ltd. |
271 | - * |
272 | - * Authors: |
273 | - * - Maciej Kisielewski <maciej.kisielewski@canonical.com> |
274 | - * |
275 | - * This program is free software; you can redistribute it and/or modify |
276 | - * it under the terms of the GNU General Public License as published by |
277 | - * the Free Software Foundation; version 3. |
278 | - * |
279 | - * This program is distributed in the hope that it will be useful, |
280 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
281 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
282 | - * GNU General Public License for more details. |
283 | - * |
284 | - * You should have received a copy of the GNU General Public License |
285 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
286 | - */ |
287 | -import QtQuick 2.0 |
288 | -import Ubuntu.Components 1.1 |
289 | -import "components" |
290 | - |
291 | -/*! |
292 | - \brief MainView with a Label and Button elements. |
293 | -*/ |
294 | - |
295 | -MainView { |
296 | - // objectName for functional testing purposes (autopilot-qt5) |
297 | - objectName: "mainView" |
298 | - |
299 | - // Note! applicationName needs to match the "name" field of the click manifest |
300 | - applicationName: "com.ubuntu.checkbox" |
301 | - |
302 | - /* |
303 | - This property enables the application to change orientation |
304 | - when the device is rotated. The default is false. |
305 | - */ |
306 | - //automaticOrientation: true |
307 | - |
308 | - width: units.gu(100) |
309 | - height: units.gu(75) |
310 | - |
311 | - useDeprecatedToolbar: false |
312 | - |
313 | - // High-level object representing the full checkbox testing stack |
314 | - CheckboxStack { |
315 | - onStackReady: { |
316 | - console.log("Pyotherside version " + pyothersideVersion); |
317 | - console.log("Python version " + pythonVersion); |
318 | - console.log("Plainbox version " + plainboxVersion); |
319 | - console.log("Checkbox version " + applicationVersion); |
320 | - } |
321 | - } |
322 | - |
323 | - PageStack { |
324 | - id: pageStack |
325 | - objectName: "pageStack" |
326 | - Component.onCompleted: { |
327 | - var newPage = Qt.createComponent(Qt.resolvedUrl("components/ScreensPreviewPage.qml")).createObject(); |
328 | - push(newPage); |
329 | - } |
330 | - } |
331 | -} |
332 | |
333 | === modified file 'checkbox-touch/py/checkbox_touch.py' |
334 | --- checkbox-touch/py/checkbox_touch.py 2015-05-29 14:45:19 +0000 |
335 | +++ checkbox-touch/py/checkbox_touch.py 2015-06-08 08:21:58 +0000 |
336 | @@ -136,116 +136,6 @@ |
337 | return b not in a |
338 | |
339 | |
340 | -class FakeCheckboxTouchApplication(PlainboxApplication): |
341 | - |
342 | - __version__ = (1, 1, 3, 'final', 0) |
343 | - |
344 | - def __init__(self): |
345 | - if plainbox.__version__ < (0, 21): |
346 | - raise SystemExit("plainbox 0.21 required, you have {}".format( |
347 | - ToolBase.format_version_tuple(plainbox.__version__))) |
348 | - # adjust_logging(logging.INFO, ['checkbox.touch'], True) |
349 | - self.index = 0 |
350 | - self.max_tests = 50 |
351 | - self.max_categories = 30 |
352 | - |
353 | - def __repr__(self): |
354 | - return "fake-app" |
355 | - |
356 | - @view |
357 | - def get_version_pair(self): |
358 | - return { |
359 | - 'plainbox_version': ToolBase.format_version_tuple( |
360 | - plainbox.__version__), |
361 | - 'application_version': ToolBase.format_version_tuple( |
362 | - self.__version__) |
363 | - } |
364 | - |
365 | - @view |
366 | - def start_session(self): |
367 | - return { |
368 | - 'session_id': 'fake' |
369 | - } |
370 | - |
371 | - @view |
372 | - def get_testplans(self): |
373 | - return { |
374 | - 'testplan_info_list': [{ |
375 | - "mod_id": "id-{}".format(i), |
376 | - "mod_name": "name-{}".format(i), |
377 | - "mod_selected": True, |
378 | - } for i in range(self.max_categories)] |
379 | - } |
380 | - |
381 | - @view |
382 | - def remember_testplan(self): |
383 | - pass |
384 | - |
385 | - @view |
386 | - def get_categories(self): |
387 | - return { |
388 | - 'category_info_list': [{ |
389 | - "mod_id": "id-{}".format(i), |
390 | - "mod_name": "name-{}".format(i), |
391 | - "mod_selected": True, |
392 | - } for i in range(self.max_categories)] |
393 | - } |
394 | - |
395 | - @view |
396 | - def remember_categories(self, selected_id_list): |
397 | - pass |
398 | - |
399 | - @view |
400 | - def get_available_tests(self): |
401 | - return { |
402 | - 'test_info_list': sorted([ |
403 | - { |
404 | - "mod_id": "id-{}".format(i), |
405 | - "mod_name": "name-{}".format(i), |
406 | - "mod_group": "group-{}".format(i % 3), |
407 | - "mod_selected": True, |
408 | - } for i in range(self.max_tests)], |
409 | - key=lambda item: item['mod_group']) |
410 | - } |
411 | - |
412 | - @view |
413 | - def remember_tests(self, selected_id_list): |
414 | - pass |
415 | - |
416 | - @view |
417 | - def get_next_test(self): |
418 | - if self.index < self.max_tests: |
419 | - result = { |
420 | - "id": "id-{}".format(self.index), |
421 | - "name": 'name-{}'.format(self.index), |
422 | - "description": 'description-{}'.format(self.index), |
423 | - "verificationDescription": "Verification", |
424 | - "plugin": "manual", |
425 | - "command": "command" |
426 | - } |
427 | - self.index += 1 |
428 | - return result |
429 | - else: |
430 | - return {} |
431 | - |
432 | - @view |
433 | - def register_test_result(self, test): |
434 | - pass |
435 | - |
436 | - @view |
437 | - def run_test_activity(self, test): |
438 | - test['outcome'] = 'pass' |
439 | - return test |
440 | - |
441 | - @view |
442 | - def get_results(self): |
443 | - return { |
444 | - 'totalPassed': 31, |
445 | - 'totalFailed': 9, |
446 | - 'totalSkipped': 10 |
447 | - } |
448 | - |
449 | - |
450 | class CheckboxTouchApplication(PlainboxApplication): |
451 | """ |
452 | Class implementing the whole checkbox-touch application logic. |
453 | |
454 | === removed file 'checkbox-touch/tests/unit/tst_hellocomponent.qml' |
455 | --- checkbox-touch/tests/unit/tst_hellocomponent.qml 2014-08-11 12:29:41 +0000 |
456 | +++ checkbox-touch/tests/unit/tst_hellocomponent.qml 1970-01-01 00:00:00 +0000 |
457 | @@ -1,50 +0,0 @@ |
458 | -import QtQuick 2.0 |
459 | -import QtTest 1.0 |
460 | -import Ubuntu.Components 0.1 |
461 | -import "../../components" |
462 | - |
463 | -// See more details @ http://qt-project.org/doc/qt-5.0/qtquick/qml-testcase.html |
464 | - |
465 | -// Execute tests with: |
466 | -// qmltestrunner |
467 | - |
468 | -Item { |
469 | - // The objects |
470 | - HelloComponent { |
471 | - id: objectUnderTest |
472 | - } |
473 | - |
474 | - TestCase { |
475 | - name: "HelloComponent" |
476 | - |
477 | - function init() { |
478 | - console.debug(">> init"); |
479 | - compare("",objectUnderTest.text,"text was not empty on init"); |
480 | - console.debug("<< init"); |
481 | - } |
482 | - |
483 | - function cleanup() { |
484 | - console.debug(">> cleanup"); |
485 | - console.debug("<< cleanup"); |
486 | - } |
487 | - |
488 | - function initTestCase() { |
489 | - console.debug(">> initTestCase"); |
490 | - console.debug("<< initTestCase"); |
491 | - } |
492 | - |
493 | - function cleanupTestCase() { |
494 | - console.debug(">> cleanupTestCase"); |
495 | - console.debug("<< cleanupTestCase"); |
496 | - } |
497 | - |
498 | - function test_canReadAndWriteText() { |
499 | - var expected = "Hello World"; |
500 | - |
501 | - objectUnderTest.text = expected; |
502 | - |
503 | - compare(expected,objectUnderTest.text,"expected did not equal result"); |
504 | - } |
505 | - } |
506 | -} |
507 | - |
+1, thanks