Update: I devised a new testing format which shows more detail than
the simple PHPUnit assertions of equality. Specifically, it displays
all the disagreements between the Data Filtering extension, your
validator, and my own three expectations. Based on your tests, the
extension has several deficiencies. I've uploaded the file to this
group as "alternativeTestFormat.php".
On Nov 20, 8:15 pm, "Chris (Jesdisciple)" <
jesdisci...@gmail.com>
wrote:
> First, sorry for all those messages... I don't understand how that
> happened.
>
> I have 3 tests which your class fails - 1 positive and 2 negative, all
> of them harvested fromhttp://
www.linuxjournal.com/article/9585. Except the first negative
> test, the PHP "Data Filtering" extension mentioned in your comments
> also fails them, so I'm outnumbered in my claim that the other two
> tests are accurate.
>
> The positive test is 'test\@
t...@example.com'; the negative tests are
> 't...@example.123' and '
t...@1example.com'.