Group
Extension

Matches 3

Test-XML-Order ( G/GA/GAM/Test-XML-Order-1.01.tar.gz, GAM, 2008; MetaCPAN )
Test-XML-Order/t/t3.t ( view source; MetaCPAN )
s_xml_in_order\(input,expected,test_name\)/);
eval {
    Test::XML::Order::isnt_xml_in_order('b');
};
like($@, qr/usage: isnt_xml_in_order\(input,expected,test_name\)/);
eval {
    Test::XML::Order::i
_order();
};
like($@, qr/usage: is_xml_in_order\(input,expected,test_name\)/);
eval {
    Test::XML::Order::isnt_xml_in_order();
};
like($@, qr/usage: isnt_xml_in_order\(input,expected,test_name\)/);
Test-XML-Order ( G/GA/GAM/Test-XML-Order-1.01.tar.gz, GAM, 2008; MetaCPAN )
Test-XML-Order/t/order.t ( view source; MetaCPAN )
ODO = 'make order significant';

    isnt_xml_in_order(
        '<p>a<b/>c<d/>e</p>',
        '<p><b>ace</b><d/></p>',
        'content is ignored',
    );
}

isnt_xml_in_order(
    '<p>a<b/>c<d/>e</p
>',
    '<p>a<d/>c<b/>e</p>',
    'order is significant',
);

isnt_xml_in_order(
    '<p><a/><b/></p>',
    '<p><b/><a/></p>',
    'order is significant when not mixed content',
);

# Local Variables:
Test-XML-Order ( G/GA/GAM/Test-XML-Order-1.01.tar.gz, GAM, 2008; MetaCPAN )
Test-XML-Order/t/t2.t ( view source; MetaCPAN )
nings;

use Test::More tests => 2;
use Test::XML::Order;

is_xml_in_order( '<foo /><foo />', '<foo></foo><foo x="a"/>' );   # PASS
isnt_xml_in_order( '<foo /><bar />', '<bar /><foo />' );     # PASS


Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.