Closed Bug 662416 Opened 13 years ago Closed 12 years ago

test_something currently doesnt work

Categories

(Testing Graveyard :: Mozmill, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: k0scist, Assigned: whimboo)

References

Details

(Whiteboard: [mozmill-2.0-])

Attachments

(1 file)

https://github.com/mozautomation/mozmill/tree/master/mutt/mutt/tests/js/test_something

(mozmill)│mozmill -t test_something/
Xlib:  extension "GLX" missing on display ":0.0".
TEST-START |
/home/jhammel/mozmill/src/mozmill/mutt/mutt/tests/js/test_something/test_parents.js
| setupModule
TEST-START |
/home/jhammel/mozmill/src/mozmill/mutt/mutt/tests/js/test_something/test_parents.js
| testInParent
TEST-PASS |
/home/jhammel/mozmill/src/mozmill/mutt/mutt/tests/js/test_something/test_parents.js
| testInParent
TEST-START |
/home/jhammel/mozmill/src/mozmill/mutt/mutt/tests/js/test_something/test_sub/test_deps.js
| setupModule
TEST-START |
/home/jhammel/mozmill/src/mozmill/mutt/mutt/tests/js/test_something/test_sub/test_deps.js
| testDependencies
ERROR | Test Failure: {"exception": {"stack":
"()@resource://mozmill/modules/frame.js ->
file:///home/jhammel/mozmill/src/mozmill/mutt/mutt/tests/js/test_something/test_sub/test_deps.js:12\n((function
() {jum.assertEquals(test_parent.asdf,
\"asdf\");}))@resource://mozmill/modules/frame.js:496\n([object
Object])@resource://mozmill/modules/frame.js:550\n(\"/home/jhammel/mozmill/src/mozmill/mutt/mutt/tests/js/test_something/test_sub/test_deps.js\",null)@resource://mozmill/modules/frame.js:460\n(\"/home/jhammel/mozmill/src/mozmill/mutt/mutt/tests/js/test_something/test_sub/test_deps.js\",false,null)@resource://mozmill/modules/frame.js:585\n((function
(filename, invokedFromIDE, name) {var runner = new Runner(new
Collector, invokedFromIDE);runner.runTestFile(filename,
name);runner.end();return true;}),[object
Proxy])@resource://jsbridge/modules/bridge.js:135\n(\"0a5fc2ba-9088-11e0-95db-00262df16844\",(function
(filename, invokedFromIDE, name) {var runner = new Runner(new
Collector, invokedFromIDE);runner.runTestFile(filename,
name);runner.end();return true;}),[object
Proxy])@resource://jsbridge/modules/bridge.js:139\n@:0\n", "message":
"test_parent is not defined", "fileName":
"resource://mozmill/modules/frame.js ->
file:///home/jhammel/mozmill/src/mozmill/mutt/mutt/tests/js/test_something/test_sub/test_deps.js",
"name": "ReferenceError", "lineNumber": 12}}
TEST-UNEXPECTED-FAIL |
/home/jhammel/mozmill/src/mozmill/mutt/mutt/tests/js/test_something/test_sub/test_deps.js
| testDependencies
INFO | DEBUG::Calling wait for finish now
INFO | 
ERROR | Wait timed out, attempting kill
ERROR | 
INFO | DEBUG: stop is calling kill
INFO | 
INFO | Passed: 1
INFO | Failed: 1
INFO | Skipped: 0
Blocks: 662294
So, it's using the old module system. Not sure if we want to continue to support this in favor of having the securable modules in-place. I thought we wanted to remove that for Mozmill 2 but can't find a bug for it right now.

Clint, what do you think?
Whiteboard: [mozmill-2.0?]
Not blocking 2.0, we should probably remove the test from 2.0 so that it won't fail, but we don't need to pull out all the associated code from the 2.0 tree. A follow on bug would be good to remove the old code.
Whiteboard: [mozmill-2.0?] → [mozmill-2.0-]
Attached patch Remove Test (v1)Splinter Review
Pointer to Github pull-request
Comment on attachment 623969 [details] [diff] [review]
Remove Test (v1)

So lets get this test killed.
Attachment #623969 - Attachment description: Pointer to Github pull request: https://github.com/mozautomation/mozmill/pull/33 → Remove Test (v1)
Attachment #623969 - Attachment is patch: true
Attachment #623969 - Attachment mime type: text/html → text/plain
Attachment #623969 - Flags: review?(jhammel)
Comment on attachment 623969 [details] [diff] [review]
Remove Test (v1)

looks good to me.  Thanks!
Attachment #623969 - Flags: review?(jhammel) → review+
Landed as:
https://github.com/mozautomation/mozmill/commit/93719764616a88a096e9160b135b25c5cda32567
Assignee: nobody → hskupin
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: