Cleaned up warnings in openid module

This commit is contained in:
Rob Winch 2011-04-07 22:55:48 -05:00
parent 68ba11ba7b
commit 5c05575c0d

View File

@ -32,7 +32,6 @@ import java.util.*;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
import org.springframework.mock.web.MockHttpServletRequest;
/**
* @author Luke Taylor
@ -43,6 +42,7 @@ import org.springframework.mock.web.MockHttpServletRequest;
public class OpenID4JavaConsumerTests {
List<OpenIDAttribute> attributes = Arrays.asList(new OpenIDAttribute("a","b"), new OpenIDAttribute("b","b", Arrays.asList("c")));
@SuppressWarnings("deprecation")
@Test
public void beginConsumptionCreatesExpectedSessionData() throws Exception {
ConsumerManager mgr = mock(ConsumerManager.class);
@ -147,6 +147,7 @@ public class OpenID4JavaConsumerTests {
}
@SuppressWarnings("serial")
@Test
public void successfulVerificationReturnsExpectedAuthentication() throws Exception {
ConsumerManager mgr = mock(ConsumerManager.class);
@ -202,6 +203,7 @@ public class OpenID4JavaConsumerTests {
}
@SuppressWarnings("deprecation")
@Test
public void additionalConstructorsWork() throws Exception {
new OpenID4JavaConsumer();