All tests for django-sld are contained in this TestCase class.
|
|
|
test_constructor1(self)
Test an empty constructor, and make sure the SLD is valid. |
source code
|
|
|
test_constructor2(self)
Test a constructor on a bogus file. |
source code
|
|
|
test_sld_version(self)
Test the SLD version on the root element. |
source code
|
|
|
test_sld_ns(self)
Test the namespace on the root element. |
source code
|
|
|
test_sld_namedlayer1(self)
Test the object type of the NamedLayer property. |
source code
|
|
|
test_sld_namedlayer2(self)
Test the creation and construction of a NamedLayer element. |
source code
|
|
|
test_namedlayer_name(self)
Test the proper parsing of the name of the NamedLayer. |
source code
|
|
|
test_namedlayer_userstyle1(self)
Test the object type of the UserStyle property. |
source code
|
|
|
test_namedlayer_userstyle2(self)
Test the proper parsing of the UserStyle property. |
source code
|
|
|
test_userstyle_title1(self)
Test the parsing of the UserStyle Title, and proper rendering. |
source code
|
|
|
test_userstyle_title2(self)
Test the construction of the UserStyle Title, and proper rendering. |
source code
|
|
|
test_userstyle_abstract1(self)
Test the parsing of the UserStyle Abstract, and proper rendering. |
source code
|
|
|
test_userstyle_abstract2(self)
Test the construction of the UserStyle Abstract, and proper
rendering. |
source code
|
|
|
test_userstyle_featuretypestyle1(self)
Test the object type of the FeatureTypeStyle property. |
source code
|
|
|
test_userstyle_featuretypestyle2(self)
Test the construction of a new FeatureTypeStyle property. |
source code
|
|
|
test_featuretypestyle_rules1(self)
Test the parsing of the Rules property. |
source code
|
|
|
test_featuretypestyle_rules2(self)
Test the construction of the Rules property. |
source code
|
|
|
test_rule_title1(self)
Test the parsing of the individual Rule properties. |
source code
|
|
|
test_rule_title2(self)
Test the construction of new Rule properties. |
source code
|
|
|
test_rule_filter1(self)
Test the parsing of the Filter property. |
source code
|
|
|
test_rule_filter_none(self)
Test the construction of the Filter property. |
source code
|
|
|
test_filter_eq(self)
Test the construction of an equality filter. |
source code
|
|
|
test_filter_lte(self)
Test the construction of a less-than-or-equal Filter. |
source code
|
|
|
test_filter_lt(self)
Test the construction of a less-than Filter. |
source code
|
|
|
test_filter_gte(self)
Test the construction of a greater-than-or-equal Filter. |
source code
|
|
|
test_filter_gt(self)
Test the construction of a greater-than Filter. |
source code
|
|
|
test_filter_neq(self)
Test the construction of an inequality Filter. |
source code
|
|
|
test_filter_and(self)
Test the construction of a logical-and Filter. |
source code
|
|
|
test_filter_or(self)
Test the construction of a logical-or Filter. |
source code
|
|
|
test_filter_and_or(self)
Test the construction of a logical-and combined with a logical-or
Filter. |
source code
|
|
|
test_rule_polysymbolizer1(self)
Test the parsing of the PolygonSymbolizer property. |
source code
|
|
|
test_rule_polysymbolizer2(self)
Test the construction of a PolygonSymbolizer property. |
source code
|
|
|
test_polysymoblizer_fill1(self)
Test the parsing of a Fill property. |
source code
|
|
|
test_polysymbolizer_fill2(self)
Test the construction of a Fill property. |
source code
|
|
|
test_fill_cssparameter1(self)
Test the parsing of the CssParameter property. |
source code
|
|
|
test_fill_cssparameter2(self)
Test the construction of the CssParameter property. |
source code
|
|
|
test_rule_scale_denominators(self)
Test the parsing of the MaxScaleDenominator & MinScaleDenominator
properties. |
source code
|
|
|
test_scale_denominators(self)
Test the construction of the MaxScaleDenominator &
MinScaleDenominator properties. |
source code
|
|