projects
/
Biblio-RFID.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename Reader implementation all over [0.02]
[Biblio-RFID.git]
/
t
/
10-3M-810.t
diff --git
a/t/10-3M-810.t
b/t/10-3M-810.t
index
238cc8f
..
1099a21
100755
(executable)
--- a/
t/10-3M-810.t
+++ b/
t/10-3M-810.t
@@
-6,10
+6,10
@@
use Data::Dump qw(dump);
use lib 'lib';
BEGIN {
use lib 'lib';
BEGIN {
- use_ok( 'RFID::Biblio::3M810' );
+ use_ok( 'RFID::Biblio::
Reader::
3M810' );
}
}
-ok( my $o = RFID::Biblio::3M810->new( device => '/dev/ttyUSB0' ), 'new' );
+ok( my $o = RFID::Biblio::
Reader::
3M810->new( device => '/dev/ttyUSB0' ), 'new' );
ok( my @tags = $o->inventory, 'inventory' );
diag dump @tags;
ok( my @tags = $o->inventory, 'inventory' );
diag dump @tags;
@@
-22,7
+22,7
@@
foreach my $tag ( @tags ) {
ok( my $afi = $o->read_afi( $tag ), "read_afi $tag" );
ok( my $afi = $o->read_afi( $tag ), "read_afi $tag" );
- ok( $o->write_blocks( $tag, $blocks ), "write_blocks $tag" );
+ ok( $o->write_blocks( $tag, $blocks
->{$tag}
), "write_blocks $tag" );
my $new_afi = "\x42";
my $new_afi = "\x42";