File tree 1 file changed +12
-0
lines changed
src/test/scala/scala/xml/factory
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,9 @@ object XMLLoaderSpec extends PropertiesFor("factory.XMLLoader")
118
118
builder.toString
119
119
}
120
120
121
+ implicit def prettyInputSource (is : InputSource ) =
122
+ prettyInputStream(is.getByteStream)
123
+
121
124
// FIXME: xerces.internal.impl.io.MalformedByteSequenceException:
122
125
// Invalid byte 1 of 1-byte UTF-8 sequence.
123
126
// property("load(_: java.io.InputStream)") = {
@@ -127,6 +130,15 @@ object XMLLoaderSpec extends PropertiesFor("factory.XMLLoader")
127
130
// }
128
131
// }
129
132
133
+ // FIXME: xerces.internal.impl.io.MalformedByteSequenceException:
134
+ // Invalid byte 1 of 1-byte UTF-8 sequence.
135
+ // property("load(_: InputSource)") = {
136
+ // Prop.forAll { is: InputSource =>
137
+ // loader.load(is)
138
+ // Prop.passed
139
+ // }
140
+ // }
141
+
130
142
property(" loadString(_: String)" ) = {
131
143
// Use forAllNoShrink since Scalacheck's shrinking strategy for a
132
144
// string, removing characters byte-by-byte, won't improve the
You can’t perform that action at this time.
0 commit comments