src/aria/jsunit/Assert.js
function () {
                if (this._expectedEventsList != null) {
                    this.$raiseEvent({
                        name : "failure",
                        testClass : this.$classpath,
                        testState : this._currentTestName,
                        description : 'Not all expected events have occured. First missing event (#'
                                + this._eventIndexInList + '): '
                                + this._expectedEventsList[this._eventIndexInList].name
                    });
                    this._expectedEventsList = null;
                }
            }
function () {
                if (this._expectedEventsList != null) {
                    this.$raiseEvent({
                        name : "failure",
                        testClass : this.$classpath,
                        testState : this._currentTestName,
                        description : 'Not all expected events have occured. First missing event (#'
                                + this._eventIndexInList + '): '
                                + this._expectedEventsList[this._eventIndexInList].name
                    });
                    this._expectedEventsList = null;
                }
            }
function ( ) { if ( this . _expectedEventsList != null ) { this . $raiseEvent ( { name : "failure" , testClass : this . $classpath , testState : this . _currentTestName , description : 'Not all expected events have occured. First missing event (#' + this . _eventIndexInList + '): ' + this . _expectedEventsList [ this . _eventIndexInList ] . name } ) ; this . _expectedEventsList = null ; } }
Check that all events in the list registered with registerExpectedEventsList have occurred.
Check that all events in the list registered with registerExpectedEventsList have occurred .