[progress Communities] [progress Openedge Abl] Forum Post: Re: Can I Stop The Test If An...

  • Thread starter Thread starter Bharani Ranganath
  • Start date Start date
Status
Not open for further replies.
B

Bharani Ranganath

Guest
IF NOT ValidateUserCredentials(OUTPUT cError) THEN DO: Assert:RaiseError(cError). QUIT. //quit/return END. /* CATCH err AS appError : */ /* DO piLoop = 1 TO err:NumMessages: */ /* Assert:RaiseError(err:GetMessage(piLoop)'). */ /* LEAVE. */ /* END. */ /* GarbageCollectorHelper:DeleteObject(oContextDatasetFactory).*/ /* // QUIT . */ /* END CATCH. */ ValidUserCredentails is a method which will check for valid credentials and returns an error. If there is an error, i want to stop the other methods from running. I tried using assert:equals but no change. When i run the build.xml , i get the message " build.xml:14: com.progress.openedge.ant.ablunit.ABLUnitTaskException: CompanyUnitTest.cls failed" and i dont see the log in the results folder

Continue reading...
 
Status
Not open for further replies.
Back
Top