Skip to content

Commit

Permalink
Merge pull request #10 from edegaudenzi/master
Browse files Browse the repository at this point in the history
- Added a real 2.0 PDF.
- Renamed the special chars PDF accordingly with its version.
- Accordingly changed files providers in the tests.
  • Loading branch information
xthiago committed Jan 27, 2017
2 parents 89e7bf4 + cb67d28 commit 10bfb95
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Converter/GhostscriptConverterCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ class GhostscriptConverterCommandTest extends PHPUnit_Framework_TestCase
'v1.4.pdf',
'v1.5.pdf',
'v1.6.pdf',
'v1.7 filename with "Sp3ci4l"; <\'Ch4r5\'> !£$%&()=?^[]{}è@#§.pdf',
'v1.7.pdf',
'v2.0.pdf',
'v2.0 filename with "Sp3ci4l"; <\'Ch4r5\'> !£$%&()=?^[]{}è@#§.pdf',
);

protected function setUp()
Expand Down Expand Up @@ -120,7 +120,9 @@ public static function filesProvider()
array(__DIR__ . '/../files/stage/v1.4.pdf', '1.4'),
array(__DIR__ . '/../files/stage/v1.5.pdf', '1.4'),
array(__DIR__ . '/../files/stage/v1.6.pdf', '1.4'),
array(__DIR__ . '/../files/stage/v1.7 filename with "Sp3ci4l"; <\'Ch4r5\'> !£$%&()=?^[]{}è@#§.pdf', '1.4'),
array(__DIR__ . '/../files/stage/v1.7.pdf', '1.4'),
array(__DIR__ . '/../files/stage/v2.0.pdf', '1.4'),
);
}

Expand Down
2 changes: 2 additions & 0 deletions tests/Converter/GhostscriptConverterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ public static function filesProvider()
array(__DIR__ . '/../files/stage/v1.4.pdf', '1.4'),
array(__DIR__ . '/../files/stage/v1.5.pdf', '1.4'),
array(__DIR__ . '/../files/stage/v1.6.pdf', '1.4'),
array(__DIR__ . '/../files/stage/v1.7 filename with "Sp3ci4l"; <\'Ch4r5\'> !£$%&()=?^[]{}è@#§.pdf', '1.4'),
array(__DIR__ . '/../files/stage/v1.7.pdf', '1.4'),
array(__DIR__ . '/../files/stage/v2.0.pdf', '1.4'),
);
}
}
Binary file modified tests/files/repo/v2.0.pdf
Binary file not shown.

0 comments on commit 10bfb95

Please sign in to comment.