Skip to content
Permalink
Browse files
[CXF-5562] One more test update
git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1568084 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Sergey Beryozkin committed Feb 13, 2014
1 parent 2542213 commit fa17e74e19a173438fd0b49deb8513ba0d61522b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -281,7 +281,7 @@ public ServletContext getThreadLocalServletContext() {
return servletContext3;
}

@QueryParam("a")
@QueryParam("a_value")
public void setA(String a) {
queryParam = a;
}
@@ -1852,7 +1852,7 @@ public void testParamAnnotationOnMethod() throws Exception {
MultivaluedMap<String, String> headers = new MetadataMap<String, String>();
headers.add("AHeader2", "theAHeader2");
m.put(Message.PROTOCOL_HEADERS, headers);
m.put(Message.QUERY_STRING, "a=aValue&query2=b");
m.put(Message.QUERY_STRING, "a_value=aValue&query2=b");
JAXRSUtils.injectParameters(ori, c, m);
assertEquals("aValue", c.getQueryParam());
assertEquals("theAHeader2", c.getAHeader2());

0 comments on commit fa17e74

Please sign in to comment.