Skip to content

Commit a916f8f

Browse files
committed
Rewrite functional tests for internal stream classes
1 parent fc12c77 commit a916f8f

File tree

4 files changed

+280
-273
lines changed

4 files changed

+280
-273
lines changed

tests/GridFS/FunctionalTestCase.php

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -55,26 +55,4 @@ protected function createStream($data = '')
5555

5656
return $stream;
5757
}
58-
59-
public function provideInsertChunks()
60-
{
61-
$dataVals = [];
62-
$testArgs[][] = "hello world";
63-
$testArgs[][] = "1234567890";
64-
$testArgs[][] = "~!@#$%^&*()_+";
65-
for($j=0; $j<30; $j++){
66-
$randomTest = "";
67-
for($i=0; $i<100; $i++){
68-
$randomTest .= chr(rand(0, 256));
69-
}
70-
$testArgs[][] = $randomTest;
71-
}
72-
$utf8="";
73-
for($i=0; $i<256; $i++){
74-
$utf8 .= chr($i);
75-
}
76-
$testArgs[][]=$utf8;
77-
return $testArgs;
78-
}
79-
8058
}

tests/GridFS/GridFSStreamTest.php

Lines changed: 0 additions & 251 deletions
This file was deleted.

0 commit comments

Comments
 (0)