wtchoi / SwiftHand

Automated Testing Tool for Android Applications.
Other
60 stars 27 forks source link

Possible Error in the Testing class #11

Open gmendezm opened 9 years ago

gmendezm commented 9 years ago

In this class: https://github.com/wtchoi/SwiftHand/tree/master/src/back-end/src/main/java/edu/berkeley/wtchoi/swift/testing

You have (lines 150-154):

protected void invokeObserverOnMainTestEnd(){
    for(TestingObserver<Request, Result, State> observer:observers){
        observer.onMainTestBegin();
    }
}

But should be

protected void invokeObserverOnMainTestEnd(){
    for(TestingObserver<Request, Result, State> observer:observers){
        observer.onMainTestEnd();
    }
}

Line 152 modified.

Finded by Alberto Tablada.