summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/Upload/AssemblyStreamTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/tests/unit/Upload/AssemblyStreamTest.php')
-rw-r--r--apps/dav/tests/unit/Upload/AssemblyStreamTest.php42
1 files changed, 21 insertions, 21 deletions
diff --git a/apps/dav/tests/unit/Upload/AssemblyStreamTest.php b/apps/dav/tests/unit/Upload/AssemblyStreamTest.php
index f513a68f068..2a4c832c71c 100644
--- a/apps/dav/tests/unit/Upload/AssemblyStreamTest.php
+++ b/apps/dav/tests/unit/Upload/AssemblyStreamTest.php
@@ -87,41 +87,41 @@ class AssemblyStreamTest extends \Test\TestCase {
return[
'one node zero bytes' => [
'', [
- $this->buildNode('0', '')
- ]],
+ $this->buildNode('0', '')
+ ]],
'one node only' => [
'1234567890', [
- $this->buildNode('0', '1234567890')
- ]],
+ $this->buildNode('0', '1234567890')
+ ]],
'one node buffer boundary' => [
$data8k, [
- $this->buildNode('0', $data8k)
- ]],
+ $this->buildNode('0', $data8k)
+ ]],
'two nodes' => [
'1234567890', [
- $this->buildNode('1', '67890'),
- $this->buildNode('0', '12345')
- ]],
+ $this->buildNode('1', '67890'),
+ $this->buildNode('0', '12345')
+ ]],
'two nodes end on buffer boundary' => [
$data8k . $data8k, [
- $this->buildNode('1', $data8k),
- $this->buildNode('0', $data8k)
- ]],
+ $this->buildNode('1', $data8k),
+ $this->buildNode('0', $data8k)
+ ]],
'two nodes with one on buffer boundary' => [
$data8k . $dataLess8k, [
- $this->buildNode('1', $dataLess8k),
- $this->buildNode('0', $data8k)
- ]],
+ $this->buildNode('1', $dataLess8k),
+ $this->buildNode('0', $data8k)
+ ]],
'two nodes on buffer boundary plus one byte' => [
$data8k . 'X' . $data8k, [
- $this->buildNode('1', $data8k),
- $this->buildNode('0', $data8k . 'X')
- ]],
+ $this->buildNode('1', $data8k),
+ $this->buildNode('0', $data8k . 'X')
+ ]],
'two nodes on buffer boundary plus one byte at the end' => [
$data8k . $data8k . 'X', [
- $this->buildNode('1', $data8k . 'X'),
- $this->buildNode('0', $data8k)
- ]],
+ $this->buildNode('1', $data8k . 'X'),
+ $this->buildNode('0', $data8k)
+ ]],
'a ton of nodes' => [
$tonofdata, $tonofnodes
]