forked from nixdrey/VisualCeption
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathImageDeviationException.php
More file actions
executable file
·42 lines (34 loc) · 942 Bytes
/
ImageDeviationException.php
File metadata and controls
executable file
·42 lines (34 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
namespace Codeception\Module;
use PHPUnit\Framework\AssertionFailedError;
class ImageDeviationException extends AssertionFailedError
{
private $identifier;
private $expectedImage;
private $currentImage;
private $deviationImage;
public function __construct($message, $identifier, $expectedImage, $currentImage, $deviationImage)
{
$this->identifier = $identifier;
$this->deviationImage = $deviationImage;
$this->currentImage = $currentImage;
$this->expectedImage = $expectedImage;
parent::__construct($message);
}
public function getIdentifier()
{
return $this->identifier;
}
public function getDeviationImage()
{
return $this->deviationImage;
}
public function getCurrentImage()
{
return $this->currentImage;
}
public function getExpectedImage()
{
return $this->expectedImage;
}
}