summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/Mocks/MockIdentifier.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-11-18 21:55:12 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2009-11-18 21:56:12 -0800
commit90b81ab271bd0d0fd1396c062504bdc75a02a809 (patch)
treeba50662e79fa56fa98e46a9e2cce40686c19b963 /src/DotNetOpenAuth.Test/Mocks/MockIdentifier.cs
parent2d7d1dd7b86e6c4c7fdeac97901e82c83199823a (diff)
downloadDotNetOpenAuth-90b81ab271bd0d0fd1396c062504bdc75a02a809.zip
DotNetOpenAuth-90b81ab271bd0d0fd1396c062504bdc75a02a809.tar.gz
DotNetOpenAuth-90b81ab271bd0d0fd1396c062504bdc75a02a809.tar.bz2
Updated tests to build with new extensible identifier discovery.
Diffstat (limited to 'src/DotNetOpenAuth.Test/Mocks/MockIdentifier.cs')
-rw-r--r--src/DotNetOpenAuth.Test/Mocks/MockIdentifier.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DotNetOpenAuth.Test/Mocks/MockIdentifier.cs b/src/DotNetOpenAuth.Test/Mocks/MockIdentifier.cs
index 346dde9..73fd8c3 100644
--- a/src/DotNetOpenAuth.Test/Mocks/MockIdentifier.cs
+++ b/src/DotNetOpenAuth.Test/Mocks/MockIdentifier.cs
@@ -39,6 +39,10 @@ namespace DotNetOpenAuth.Test.Mocks {
mockHttpRequest.RegisterMockXrdsResponse(new Uri(wrappedIdentifier.ToString()), endpoints);
}
+ internal IEnumerable<ServiceEndpoint> DiscoveryEndpoints {
+ get { return this.endpoints; }
+ }
+
public override string ToString() {
return this.wrappedIdentifier.ToString();
}
@@ -51,10 +55,6 @@ namespace DotNetOpenAuth.Test.Mocks {
return this.wrappedIdentifier.GetHashCode();
}
- internal override IEnumerable<ServiceEndpoint> Discover(IDirectWebRequestHandler requestHandler) {
- return this.endpoints;
- }
-
internal override Identifier TrimFragment() {
return this;
}