/[Frey]/trunk/t/11-strix-view-user.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/t/11-strix-view-user.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 63 - (show annotations)
Tue Jul 8 12:22:16 2008 UTC (15 years, 9 months ago) by dpavlin
File MIME type: application/x-troff
File size: 550 byte(s)
first Continuity::Widget build from database schema
1 #!/usr/bin/perl
2 use strict;
3 use warnings;
4
5 my $debug = shift @ARGV;
6
7 use Test::More tests => 5;
8 use lib 'lib';
9
10 #use Devel::LeakTrace::Fast;
11 use Data::Dump qw/dump/;
12
13 BEGIN {
14 use_ok('Strix::View::User');
15 }
16
17 ok( my $u = Strix::View::User->new( id => 1 ), 'new' );
18 isa_ok( $u, 'Strix::View::User' );
19
20 diag dump( $u ) if $debug;
21
22 ok( my @c = $u->meta->get_attribute_list , 'get_attribute_list' );
23 diag dump( @c ) if $debug;
24
25 #while ( $u = $i->next ) {
26 # isa_ok( $u, 'Strix::View::User' );
27 #}
28
29 ok( my $h = $u->process(), 'process' );
30 diag $h if $debug;

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26