sidewinderlabs / backplanejs

Other
12 stars 3 forks source link

backplane module unit-tests are locking #89

Closed backplane-import closed 13 years ago

backplane-import commented 13 years ago

Imported from backplanejs Google Code issue 89.

Reporter markbirbeck
Date 31 Jul 2010 4:38:36 PM UTC

What steps will reproduce the problem?

  1. Run the backplane unit-tests at http://localhost:8080/unit-tests/backplane/main.html

What is the expected output? What do you see instead? The tests should pass, but instead the tests lock-up in the DOM 3 XPath testing section.


Owner set to markbirbeck

Priority: Medium Type: Defect

backplane-import commented 13 years ago

Comment by markbirbeck on 31 Jul 2010 4:39:47 PM UTC

The reason for the tests locking is that I've used assertions in the setUp() part of the test. It looks like this is not a good idea.

backplane-import commented 13 years ago

Comment by markbirbeck on 31 Jul 2010 5:25:51 PM UTC

This issue was closed by revision 3c249d1676070e92a158a9f6cecedba246c0ac88 (originally d23715940a).


Updates

Ticket status set to Fixed

backplane-import commented 13 years ago

Comment by markbirbeck on 31 Jul 2010 5:25:51 PM UTC

This issue was updated by revision 3c249d1676070e92a158a9f6cecedba246c0ac88 (originally d23715940a).

New issue Summary: DOMParser() object is incorrectly assumed to support .text property Status: Accepted Labels: Component-Logic Type-Defect Module-Core In the unit-tests for DOM 3 XPath we check that the DOMParser() object has been initialised correctly by testing the 'string value' of the DOM. However, this property doesn't exist when DOMParser is implemented natively.