diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-01-24 19:05:18 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-01-24 19:05:18 +0100 |
commit | 3b1d410b4ede2fd54be23bb47da5950535df9b04 (patch) | |
tree | ce3a73fbaa3bdf48bf2b317f8711802f4d23bc63 /tests/Framework/ResultThread.php | |
parent | 5140c310645b1728f59e27d8f5fe37aeb2928d6f (diff) |
Fix confusing intersect/filter methods naming/behaviour.
Removed rcube_result_index::intersect() method.
Changed rcube_result_index::filter() to filter in the same way as
rcube_result_thread::filter(), which means it actually does array_intersect().
Added tests scripts for rcube_result_index class.
Diffstat (limited to 'tests/Framework/ResultThread.php')
-rw-r--r-- | tests/Framework/ResultThread.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/Framework/ResultThread.php b/tests/Framework/ResultThread.php index 8f5c5092f..55fca4c6a 100644 --- a/tests/Framework/ResultThread.php +++ b/tests/Framework/ResultThread.php @@ -55,7 +55,5 @@ class Framework_ResultThread extends PHPUnit_Framework_TestCase $object->filter(array(784)); $this->assertSame(118, $object->count_messages(), "Messages filter"); $this->assertSame(1, $object->count(), "Messages filter (count)"); - -//echo $object->get_compressed(); } } |