Storage/t/read-file.t

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Storage/t/memory.t ↑ Summary
1 # This is -*- perl -*-
2  
3 1 ▶use QWizard::Storage::File;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 $stobj = new QWizard::Storage::File(file => 'testfile.dat');
6  
7 1 $stobj->load_data();
8  
9 1 ▶use Test::More tests => 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 ok($stobj->get('myname','Wesley'), "testing param from read file");
12 1 unlink('testfile.dat');
« Storage/t/memory.t ↑ Summary