Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.171
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
libtest-unit-perl /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
TestRunner.pl
267
B
-rw-r--r--
TkTestRunner.pl
103
B
-rw-r--r--
procedural-adding-suites-examp...
1.16
KB
-rw-r--r--
procedural-another-package-exa...
414
B
-rw-r--r--
procedural-fail-example.pl
389
B
-rw-r--r--
procedural-ok-example.pl
362
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : procedural-adding-suites-example.pl
# -------------------------------------------------- package Foo; use Test::Unit; use constant DEBUG => 0; # code to be tested will be somewhere around here # define tests, set_up and tear_down sub test_foo_ok_1 { assert(23 == 23); } sub test_foo_ok_2 { assert(42 == 42); } sub set_up { print "hello world\n" if DEBUG; } sub tear_down { print "leaving world again\n" if DEBUG; } # -------------------------------------------------- package Bar; use Test::Unit; use constant DEBUG => 0; # code to be tested will be somewhere around here # define tests, set_up and tear_down sub test_bar_ok_1 { assert(23 == 23); } sub test_bar_ok_2 { assert(42 == 42); } sub set_up { print "hello world\n" if DEBUG; } sub tear_down { print "leaving world again\n" if DEBUG; } # -------------------------------------------------- package FooBar; use Test::Unit; create_suite(); create_suite("Foo"); create_suite("Bar"); add_suite("Foo"); # add Foo to this package add_suite("Bar"); # add Bar to this package print "\n--- Testing FooBar ---\n"; run_suite(); add_suite("Foo", "Bar"); # add Foo to Bar print "\n--- Testing Bar with Foo added to it ---\n"; run_suite("Bar");
Close