comparison _test/Test/DOM/Schema.pm @ 194:4d0e1962161c

Replaced tabs with spaces IMPL::Web::View - fixed document model, new features (control classes, document constructor parameters)
author cin
date Tue, 10 Apr 2012 20:08:29 +0400
parents 4267a2ac3d46
children 5c82eec23bb6
comparison
equal deleted inserted replaced
193:8e8401c0aea4 194:4d0e1962161c
100 100
101 failed "A wrong data validated corretly" unless $this->SampleSchema->Validate($data); 101 failed "A wrong data validated corretly" unless $this->SampleSchema->Validate($data);
102 }; 102 };
103 103
104 test LoadXmlSchemaTypes => sub { 104 test LoadXmlSchemaTypes => sub {
105 my ($this) = @_; 105 my ($this) = @_;
106 106
107 my $schema = IMPL::DOM::Schema->LoadSchema("Resources/types.xml") or failed "Failed to parse schema"; 107 my $schema = IMPL::DOM::Schema->LoadSchema("Resources/types.xml") or failed "Failed to parse schema";
108 108
109 return 1; 109 return 1;
110 }; 110 };
111 111
112 test LoadXmlSchemaData => sub { 112 test LoadXmlSchemaData => sub {
113 my ($this) = @_; 113 my ($this) = @_;
114 114
115 my $schema = IMPL::DOM::Schema->LoadSchema("Resources/form.xml") or failed "Failed to parse schema"; 115 my $schema = IMPL::DOM::Schema->LoadSchema("Resources/form.xml") or failed "Failed to parse schema";
116 116
117 return 1; 117 return 1;
118 }; 118 };
119 119
120 120
121 1; 121 1;