1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-03 17:59:28 +02:00

Logcat works now, but still kind of wondering how the messages should arrive.

This commit is contained in:
Simo Kinnunen 2014-04-17 18:27:35 +09:00
parent 40b493649b
commit 8da5b61289
7 changed files with 240 additions and 107 deletions

View file

@ -28,16 +28,16 @@ util.inherits(AlreadyGroupedError, Error)
module.exports.AlreadyGroupedError = AlreadyGroupedError
function NotGroupedError() {
function NoGroupError() {
Error.call(this)
this.name = 'NotGroupedError'
this.name = 'NoGroupError'
this.message = 'Not a member of any group'
Error.captureStackTrace(this, NotGroupedError)
Error.captureStackTrace(this, NoGroupError)
}
util.inherits(NotGroupedError, Error)
util.inherits(NoGroupError, Error)
module.exports.NotGroupedError = NotGroupedError
module.exports.NoGroupError = NoGroupError
module.exports.match = Promise.method(function(capabilities, requirements) {
return requirements.every(function(req) {