Skip to content

Commit

Permalink
try to fix tests on Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgaillard committed Aug 9, 2016
1 parent 469dc34 commit cb32625
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ module.exports = function(grunt) {

options: {
bin : 'vendor/bin/phpunit',
configuration : 'phpunit.xml.dist'//,
//group : 'ImageMetadataReader.Dotnet256x256AlphaPaletteTest'
configuration : 'phpunit.xml.dist',
group : 'ImageMetadataReader.Dotnet256x256AlphaPaletteTest'
}

}, /* PHPUnit Task */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,6 @@ private static function addTagToDirectory(Directory $directory, $tagLine)
$nameAndDescription[1] = trim($nameAndDescription[1]);

if ($directory instanceof ExifIFD0Directory) {
// var_dump($tagLine);
// var_dump($nameAndDescription[0]);
// var_dump($nameAndDescription[1]);

switch ($nameAndDescription[0]) {
case 'Interoperability Index':
break;
Expand Down Expand Up @@ -536,6 +532,10 @@ private static function addTagToDirectory(Directory $directory, $tagLine)
default:
// TODO: Exception
}
} elseif ($directory instanceof PngDirectory) {
// var_dump($tagLine);
// var_dump($nameAndDescription[0]);
// var_dump($nameAndDescription[1]);
}
}

Expand Down
4 changes: 0 additions & 4 deletions src/test/php/Gomoob/BinaryDriver/JavaDriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
use Monolog\Logger;

use PHPUnit\Framework\TestCase;
use Monolog\Handler\StreamHandler;
use Alchemy\BinaryDriver\Exception\ExecutionFailureException;
use Alchemy\BinaryDriver\Listeners\DebugListener;

/**
* Test case used to test the {@link JavaDriver} class.
Expand Down Expand Up @@ -77,7 +74,6 @@ public function testCreate()
$this->assertContains('[Exif SubIFD] Focal Length = 51 mm', $output);
$this->assertContains('[Exif SubIFD] Lens Model = EF-S17-55mm f/2.8 IS USM', $output);
$this->assertContains('[File] File Name = elephant.jpg', $output);
$this->assertContains('[File] File Size = 830001 bytes', $output);

// Under Windows the number of bytes computed is not the same as Unix
$this->assertTrue(
Expand Down

0 comments on commit cb32625

Please sign in to comment.