Lines Matching refs:phase
645 if (test_obj.phase === test_obj.phases.STARTED) {
1188 * given object for the event bubbling phase.
2454 this.phase = (tests.is_aborted || tests.phase === tests.phases.COMPLETE) ?
2483 if (tests.phase === tests.phases.COMPLETE) {
2545 this._structured_clone.phase = this.phase;
2560 if (this.phase > this.phases.STARTED) {
2564 if (settings.debug && this.phase !== this.phases.STARTED) {
2567 this.phase = this.phases.STARTED;
2592 if (this.phase >= this.phases.HAS_RESULT) {
2600 this.phase = this.phases.HAS_RESULT;
2881 this.phase = this.phases.HAS_RESULT;
2906 if (this.phase >= this.phases.CLEANING) {
2910 if (this.phase <= this.phases.STARTED) {
2929 if (test.phase === test.phases.COMPLETE) {
2954 this.phase = this.phases.CLEANING;
3040 test.phase = test.phases.COMPLETE;
3063 this.phase = this.phases.INITIAL;
3112 if (this.phase === this.phases.INITIAL) {
3113 this.phase = this.phases.STARTED;
3117 this.phase = this.phases.COMPLETE;
3374 this.phase = this.phases.INITIAL;
3428 if (this.phase >= this.phases.HAVE_RESULTS) {
3432 if (this.phase < this.phases.SETUP) {
3433 this.phase = this.phases.SETUP;
3517 // "CLEANUP" phase at any time
3518 if (test.phase === test.phases.CLEANING) {
3522 test.phase = test.phases.COMPLETE;
3525 // Timeouts that occur while a test is in the "cleanup" phase
3553 if (this.phase < this.phases.HAVE_TESTS) {
3578 this.phase = this.phases.HAVE_TESTS;
3594 // phase, subsequent tests should not cause it to revert.
3595 if (this.phase <= this.phases.HAVE_RESULTS) {
3596 this.phase = this.phases.HAVE_RESULTS;
3617 if (this.phase === this.phases.COMPLETE) {
3622 this_obj.phase = this_obj.phases.COMPLETE;
3627 return test.phase < test.phases.COMPLETE;
3642 if (test.phase === test.phases.INITIAL) {
3643 test.phase = test.phases.COMPLETE;
3674 if (test.phase === test.phases.INITIAL) {
3675 test.phase = test.phases.COMPLETE;
3798 if (this.phase >= this.phases.COMPLETE) {
3821 if (this.phase >= this.phases.COMPLETE) {
3980 this.phase = this.INITIAL;
3989 if (this.phase > this.INITIAL) {
4000 if (this.phase >= this.STARTED) {
4008 this.phase = this.STARTED;
4060 if (this.phase < this.STARTED) {
4063 if (!this.enabled || this.phase === this.COMPLETE) {
4067 if (this.phase < this.HAVE_RESULTS) {
4068 this.phase = this.HAVE_RESULTS;
4083 if (this.phase >= this.COMPLETE) {
4092 this.phase = this.COMPLETE;
4753 if (test.phase >= test.phases.HAS_RESULT) {
4758 test.phase = test.phases.HAS_RESULT;
4766 // Do not transition to the "complete" phase if the test has been