D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
share
/
doc
/
perl-Test-Simple
/
t
/
Test2
/
modules
/
EventFacet
/
Filename :
Error.t
back
Copy
use strict; use warnings; use Test2::Tools::Tiny; use ok 'Test2::EventFacet::Error'; my $CLASS = 'Test2::EventFacet::Error'; my $one = $CLASS->new(details => 'foo', tag => 'uhg', fail => 1); is($one->details, "foo", "Got details"); is($one->tag, 'uhg', "Got 'tag' value"); is($one->fail, 1, "Got 'fail' value"); is_deeply($one->clone, $one, "Cloning."); isnt($one->clone, $one, "Clone is a new ref"); ok($CLASS->is_list, "is a list"); is($CLASS->facet_key, 'errors', "Got key"); done_testing;
Name
Size
Last Modified
Owner
Permissions
Actions
About.t
0.509
KB
March 30 2018 5:53:02
root
0644
Amnesty.t
0.5
KB
March 30 2018 5:53:02
root
0644
Assert.t
0.502
KB
March 30 2018 5:53:02
root
0644
Control.t
0.709
KB
March 30 2018 5:53:02
root
0644
Error.t
0.488
KB
March 30 2018 5:53:02
root
0644
Info.t
0.479
KB
March 30 2018 5:53:02
root
0644
Meta.t
0.645
KB
March 30 2018 5:53:02
root
0644
Parent.t
0.576
KB
March 30 2018 5:53:02
root
0644
Plan.t
0.54
KB
March 30 2018 5:53:02
root
0644
Trace.t
1.21
KB
March 30 2018 5:53:02
root
0644
2017 © D7net | D704T team