I was running the tests using Simpletest 2.10.
Firs there were a lot of fails, but that turned out to be a simpletest bug: http://drupal.org/node/488810

Applying the patch the fails are down to 4:

Message Group Filename Line Function Status
Css has been saved Editor testing sweaver.editor.test 87 sweaverEditor->testFrontendEditor()
Custom css saved Editor testing sweaver.editor.test 88 sweaverEditor->testFrontendEditor()
Filename written Editor testing sweaver.editor.test 89 sweaverEditor->testFrontendEditor()
The style Garland 1 has been loaded Editor testing sweaver.editor.test 90 sweaverEditor->testFrontendEditor()

Having a quick look it turned out that
$css = $sweaver->sweaver_get_current_style('garland', TRUE);
returns FALSE

And $sweaver is empty:

sweaver_plugin::__set_state(array( ))

Comments

swentel’s picture

Hrm, didn't know that the hidden wasn't in Simpletest D7, how stupid :) (I know it's in the D6 version)

As for the other failure, that's probably 'normal' - the D7 version is really alpha, I know there are some problems. I'm going to sync the latest changes of sweaver from D6 to D7 next week and fix the simpletests then. Thanks for the pointer however! :)

Coornail’s picture

Version: 7.x-1.0-alpha2 » 6.x-1.0-alpha2

I'm terribly sorry, wrong version.

swentel’s picture

Ah that's even better, should run tests before I commit, even more thanks :)

edit

Note, the hidden patch is already documented in the editor test file - dev version of simpletest has that fix, so we let's hope there's a new release soon.

swentel’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -Simpletest

Automatically closed -- issue fixed for 2 weeks with no activity.