Add unit tests for version 5.x

This commit is contained in:
Joe Farebrother
2021-02-17 14:52:52 +00:00
parent cf58a90d74
commit 7b5961769a
37 changed files with 2221 additions and 39 deletions

View File

@@ -41,6 +41,7 @@ class TypeApacheHttpRequestBuilder extends Class {
}
}
// TODO: Other sources
/**
* The `request` parameter of an implementation of `HttpRequestHandler.handle`.
*/
@@ -264,8 +265,8 @@ private class BufferMethod extends TaintPreservingCallable {
.hasQualifiedName(["org.apache.http.util", "org.apache.hc.core5.util"],
["ByteArrayBuffer", "CharArrayBuffer"]) and
m.hasName([
"append", "buffer", "subSequence", "substring", "substringTrimmed", "toByteArray",
"toCharArray", "toString"
"append", "array", "buffer", "subSequence", "substring", "substringTrimmed",
"toByteArray", "toCharArray", "toString"
])
)
}