I currently have a class hierachy of
WebTestCase (from SimpleTest) <--- DatabaseWebTestCase (adds on sandboxeing) <--- WebAuthTestCase (builds in the required application autnetication).
The DatabaseWebTestCase is my new component. Everything worked with WebAuthTestCase before. Now I'm getting errors on line 704 of web_tester -- apparently WebTestCase's _browser is no longer being initialized.
I am chaining constructors and setUp/tearDown's, I have no member variables masking the underlying ones. Any idess as to what could interfere with _browser in web_tester?
[EDIT:
OK I'm extremely confused now, I've been staring through the WebTestCase code. I can't figure out how it ever worked before. Neither the constructor nor the setUp initialize the _browser member variables. None of the mthods that use it do an lazy initialization. I see that I can explciictly call setBrowser($this->createBrowser()), but I never had to before.... What's missing?]
WebTestCase is losing its _browser....
Moderator: General Moderators
Ugh its getting worse....
SimpleTestCase is now losing its _runner....
I just downloaded a new copy of simpletest and the problem is still here. I've emailed the simpletest list, but I know Marcus is travelling this week....
I just ran the test suites (unit and all) for simpletest and they all passed.
SimpleTestCase is now losing its _runner....
I just downloaded a new copy of simpletest and the problem is still here. I've emailed the simpletest list, but I know Marcus is travelling this week....
I just ran the test suites (unit and all) for simpletest and they all passed.