# Test rules for pyfo (see the README)
# 
# This file is part of the pyfo package.
# 
# Created and maintained by Luke Arno <luke.arno@gmail.com>
# 
# See documentation of pyfo method in this module for details.
# 
# Copyright (C) 2006  Central Piedmont Community College
# 
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to:
# 
# The Free Software Foundation, Inc., 
# 51 Franklin Street, Fifth Floor, 
# Boston, MA  02110-1301, USA.
# 
# Central Piedmont Community College
# 1325 East 7th St.
# Charlotte, NC 28204, USA
# 
# Luke Arno can be found at http://lukearno.com/
# 
#-----------------------------------------------------------------------
#
# See README for an explanation of test rule format
#

[
    ('simplest_thing',
     'simple',
     [],
     {},
     'simplest-thing',
     "The simplest case."),
    ('nesting_ugly',
     'nesting',
     [],
     {},
     'nesting_ugly',
     "Elements nested without \"pretty\" indent."),
    ('nesting_pretty',
     'nesting',
     [],
     {'pretty':True},
     'nesting_pretty',
     "Elements nested with \"pretty\" indent"),
    ('attributes',
     'attributes',
     [],
     {'pretty':True},
     'attributes',
     "Generating attributes"),
    ('escaping',
     'escaping',
     [],
     {'pretty':True},
     'escaping',
     "Escaping via entities"),
    ('string_node',
     'string_node',
     [],
     {'pretty':True},
     'string_node',
     "String nodes should not be escaped"),
    ('various_types',
     'various_types',
     [],
     {'pretty':True},
     'various_types',
     "Various types for node contents should be cast to a string."),
]
