rem:  var result = /^(.*)Present$/.exec(baseName); if (result==null) {  self.registerAssert("assertNot"+baseName, negativeAssertion, true);  self.registerAssert("verifyNot"+baseName, negativeAssertion, false); } else { var invertedBaseName = result[1] + "NotPresent";   self.registerAssert("assert"+invertedBaseName, negativeAssertion, true);  self.registerAssert("verify"+invertedBaseName, negativeAssertion, false); } 
add: self.registerAssert("assert" + _negtiveName(baseName), negativeAssertion, true); self.registerAssert("verify" + _negtiveName(baseName), negativeAssertion, false); 
context:     this.registerAssertionsBasedOnAccessor = function(accessor, baseName, predicate) {        if (predicate==null) {            predicate = self.createPredicateFromAccessor(accessor);        }        var assertion = self.createAssertionFromPredicate(predicate);        // Register an assert with the "assert" prefix, and halt on failure.        self.registerAssert("assert" + baseName, assertion, true);        // Register a verify with the "verify" prefix, and do not halt on failure.        self.registerAssert("verify" + baseName, assertion, false);                var invertedPredicate = self.invertPredicate(predicate);        var negativeAssertion = self.createAssertionFromPredicate(invertedPredicate);                var result = /^(.*)Present$/.exec(baseName);        if (result==null) {            // Register an assertNot with the "assertNot" prefix, and halt on failure.            self.registerAssert("assertNot"+baseName, negativeAssertion, true);            // Register a verifyNot with the "verifyNot" prefix, and do not halt on failure.            self.registerAssert("verifyNot"+baseName, negativeAssertion, false);        }        else {            var invertedBaseName = result[1] + "NotPresent";                    // Register an assertNot ending w/ "NotPresent", and halt on failure.            self.registerAssert("assert"+invertedBaseName, negativeAssertion, true);            // Register an assertNot ending w/ "NotPresent", and do not halt on failure.            self.registerAssert("verify"+invertedBaseName, negativeAssertion, false);        }    };
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3428/c999100399021d188ccc5d1278234d9e9f60e62f/selenium-commandhandlers.js/clean/code/javascript/core/scripts/selenium-commandhandlers.js