D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
usr
/
share
/
doc
/
perl-Test-Simple
/
t
/
Test2
/
modules
/
Filename :
EventFacet.t
back
Copy
use strict; use warnings; use Test2::Tools::Tiny; use ok 'Test2::EventFacet'; my $CLASS = 'Test2::EventFacet'; my $one = $CLASS->new(details => 'foo'); is($one->details, "foo", "Got details"); is_deeply($one->clone, $one, "Cloning."); isnt($one->clone, $one, "Clone is a new ref"); my $two = $one->clone(details => 'bar'); is($one->details, 'foo', "Original details unchanged"); is($two->details, 'bar', "Clone details changed"); ok(!$CLASS->is_list, "Not a list by default"); ok(!$CLASS->facet_key, "No key for base class"); done_testing;
Name
Size
Last Modified
Owner
Permissions
Actions
API
Dir
July 28 2023 2:57:48
root
0755
Event
Dir
July 28 2023 2:57:48
root
0755
EventFacet
Dir
July 28 2023 2:57:48
root
0755
Formatter
Dir
July 28 2023 2:57:48
root
0755
Hub
Dir
July 28 2023 2:57:48
root
0755
IPC
Dir
July 28 2023 2:57:48
root
0755
Tools
Dir
July 28 2023 2:57:48
root
0755
Util
Dir
July 28 2023 2:57:48
root
0755
API.t
8.672
KB
March 30 2018 5:53:02
root
0644
Event.t
21.061
KB
March 30 2018 5:53:02
root
0644
EventFacet.t
0.536
KB
March 30 2018 5:53:02
root
0644
Hub.t
11.641
KB
March 30 2018 5:53:02
root
0644
IPC.t
0.412
KB
March 30 2018 5:53:02
root
0644
Util.t
2.43
KB
March 30 2018 5:53:02
root
0644
2017 © D7net | D704T team