Forum Discussion
8 Replies
- AlexKaras
Champion Level 1
Hi Mehdi,
There is no such event.
If you like to block the error message if the files don't match and replace it with your own, then you need to implement the OnLogError handler where you will block the original message and post your customized one.
- m_essaidValued Contributor
Hi Alex,
I don't think that this could help me. Let me explain to you what I need :
The return value of Compare() says me if there is a difference or not.
But I need to know if the Compare() method has been executed or not.
Indeed, I need to distinguish false-positive and false-negative issues for this kind of test.
Regards,
Mehdi
- AlexKaras
Champion Level 1
Hi Mehdi,
Not sure that I understood what you need:
> I need to know if the Compare() method has been executed or not.
As the method returns some result, this means that it was executed.
As the method performs binary comparison (i.e. it does not support regular expressions, callback functions, etc.), this means that the files are physically different if the method returns False.
If under 'false negative' you understand that two files may be different physically but equal logically, then you must create your own comparison function as this function must implement the business rules that define whether or not compared files are logically equal.