| 26 | | t.ok(testLayer.foo != undefined, "SLD correctly reads a UserStyle named \"foo\""); |
|---|
| 27 | | t.eq(testLayer.foo.rules.length, 1, "The number of rules for the UserStyle is correct"); |
|---|
| 28 | | t.eq(testLayer.foo.rules[0].name, "bar", "The first rule's name is \"bar\""); |
|---|
| 29 | | t.eq(testLayer.foo.rules[0].symbolizer.Polygon.fillColor, "blue", "The fillColor for the Polygon symbolizer is correct"); |
|---|
| 30 | | t.eq(testLayer.foo.name, styles[0][0].name, "The content hash of the Format contains the correct rules."); |
|---|
| | 26 | t.eq(userStyles[0].name, "foo", "SLD correctly reads a UserStyle named 'foo'"); |
|---|
| | 27 | t.eq(userStyles[0].rules.length, 1, "The number of rules for the UserStyle is correct"); |
|---|
| | 28 | t.eq(userStyles[0].rules[0].name, "bar", "The first rule's name is 'bar'"); |
|---|
| | 29 | t.eq(userStyles[0].rules[0].symbolizer.Polygon.fillColor, "blue", "The fillColor for the Polygon symbolizer is correct"); |
|---|