Issue 695: Fixed javadoc and incorrect class in JAXB parsing test

This commit is contained in:
Jason King 2011-12-13 12:59:12 +00:00
parent a756462bc9
commit 97ef140776
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ import java.util.Set;
import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkNotNull;
/** /**
* Networks is more than a simple wrapper as it extends BaseResource. * Networks is more than a simple wrapper as it extends Resource.
* @author Jason King * @author Jason King
* *
*/ */

View File

@ -87,7 +87,7 @@ public class NetworksJAXBParsingTest extends BaseRestClientTest {
@Test @Test
public void testParseNetworksWithJAXB() throws Exception { public void testParseNetworksWithJAXB() throws Exception {
Method method = NetworkAsyncClient.class.getMethod("getNetworks",URI.class); Method method = NetworkAsyncClient.class.getMethod("getNetworks",URI.class);
HttpRequest request = factory(LocationAsyncClient.class).createRequest(method, new URI("/1")); HttpRequest request = factory(NetworkAsyncClient.class).createRequest(method, new URI("/1"));
assertResponseParserClassEquals(method, request, ParseXMLWithJAXB.class); assertResponseParserClassEquals(method, request, ParseXMLWithJAXB.class);
Function<HttpResponse, Networks> parser = (Function<HttpResponse, Networks>) RestAnnotationProcessor Function<HttpResponse, Networks> parser = (Function<HttpResponse, Networks>) RestAnnotationProcessor
@ -104,7 +104,7 @@ public class NetworksJAXBParsingTest extends BaseRestClientTest {
@Test @Test
public void testParseNetworkWithJAXB() throws Exception { public void testParseNetworkWithJAXB() throws Exception {
Method method = NetworkAsyncClient.class.getMethod("getNetwork",URI.class); Method method = NetworkAsyncClient.class.getMethod("getNetwork",URI.class);
HttpRequest request = factory(LocationAsyncClient.class).createRequest(method, new URI("/1")); HttpRequest request = factory(NetworkAsyncClient.class).createRequest(method, new URI("/1"));
assertResponseParserClassEquals(method, request, ParseXMLWithJAXB.class); assertResponseParserClassEquals(method, request, ParseXMLWithJAXB.class);
Function<HttpResponse, NetworkReference> parser = (Function<HttpResponse, NetworkReference>) RestAnnotationProcessor Function<HttpResponse, NetworkReference> parser = (Function<HttpResponse, NetworkReference>) RestAnnotationProcessor