Enclosing a bunch of test only code within #if TESTING
This commit is contained in:
parent
5b4aed8dcc
commit
0929aa23df
|
|
@ -1,4 +1,5 @@
|
||||||
using Microsoft.AspNet.Authentication;
|
#if TESTING
|
||||||
|
using Microsoft.AspNet.Authentication;
|
||||||
using Microsoft.AspNet.Http.Authentication;
|
using Microsoft.AspNet.Http.Authentication;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
|
@ -30,3 +31,4 @@ namespace MusicStore.Mocks.Common
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System;
|
#if TESTING
|
||||||
|
using System;
|
||||||
|
|
||||||
namespace MusicStore.Mocks.Common
|
namespace MusicStore.Mocks.Common
|
||||||
{
|
{
|
||||||
|
|
@ -13,3 +14,4 @@ namespace MusicStore.Mocks.Common
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System.Net.Http;
|
#if TESTING
|
||||||
|
using System.Net.Http;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.AspNet.Http.Collections;
|
using Microsoft.AspNet.Http.Collections;
|
||||||
|
|
@ -47,3 +48,4 @@ namespace MusicStore.Mocks.Facebook
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System;
|
#if TESTING
|
||||||
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Security.Claims;
|
using System.Security.Claims;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
@ -56,3 +57,4 @@ namespace MusicStore.Mocks.Facebook
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System.Net.Http;
|
#if TESTING
|
||||||
|
using System.Net.Http;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
@ -47,3 +48,4 @@ namespace MusicStore.Mocks.Google
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System;
|
#if TESTING
|
||||||
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Security.Claims;
|
using System.Security.Claims;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
@ -55,3 +56,4 @@ namespace MusicStore.Mocks.Google
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System.Net.Http;
|
#if TESTING
|
||||||
|
using System.Net.Http;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
@ -47,3 +48,4 @@ namespace MusicStore.Mocks.MicrosoftAccount
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System;
|
#if TESTING
|
||||||
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Security.Claims;
|
using System.Security.Claims;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
@ -56,3 +57,4 @@ namespace MusicStore.Mocks.MicrosoftAccount
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using Microsoft.AspNet.Authentication;
|
#if TESTING
|
||||||
|
using Microsoft.AspNet.Authentication;
|
||||||
|
|
||||||
namespace MusicStore.Mocks.OpenIdConnect
|
namespace MusicStore.Mocks.OpenIdConnect
|
||||||
{
|
{
|
||||||
|
|
@ -16,3 +17,4 @@ namespace MusicStore.Mocks.OpenIdConnect
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System.IO;
|
#if TESTING
|
||||||
|
using System.IO;
|
||||||
using System.Net.Http;
|
using System.Net.Http;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
@ -29,3 +30,4 @@ namespace MusicStore.Mocks.OpenIdConnect
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System.Collections.Generic;
|
#if TESTING
|
||||||
|
using System.Collections.Generic;
|
||||||
using System.Security.Claims;
|
using System.Security.Claims;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.AspNet.Authentication.Notifications;
|
using Microsoft.AspNet.Authentication.Notifications;
|
||||||
|
|
@ -70,3 +71,4 @@ namespace MusicStore.Mocks.OpenIdConnect
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
#if TESTING
|
||||||
using System;
|
using System;
|
||||||
using Microsoft.AspNet.Authentication.OpenIdConnect;
|
using Microsoft.AspNet.Authentication.OpenIdConnect;
|
||||||
using Microsoft.AspNet.Authorization;
|
using Microsoft.AspNet.Authorization;
|
||||||
|
|
@ -166,3 +167,4 @@ namespace MusicStore
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System;
|
#if TESTING
|
||||||
|
using System;
|
||||||
using Microsoft.AspNet.Authentication.Facebook;
|
using Microsoft.AspNet.Authentication.Facebook;
|
||||||
using Microsoft.AspNet.Authentication.Google;
|
using Microsoft.AspNet.Authentication.Google;
|
||||||
using Microsoft.AspNet.Authentication.MicrosoftAccount;
|
using Microsoft.AspNet.Authentication.MicrosoftAccount;
|
||||||
|
|
@ -225,3 +226,4 @@ namespace MusicStore
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using Microsoft.AspNet.Authentication;
|
#if TESTING
|
||||||
|
using Microsoft.AspNet.Authentication;
|
||||||
using Microsoft.AspNet.Authentication.Twitter.Messages;
|
using Microsoft.AspNet.Authentication.Twitter.Messages;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
|
@ -34,3 +35,4 @@ namespace MusicStore.Mocks.Twitter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System.Collections.Generic;
|
#if TESTING
|
||||||
|
using System.Collections.Generic;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Net.Http;
|
using System.Net.Http;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|
@ -60,3 +61,4 @@ namespace MusicStore.Mocks.Twitter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System.Linq;
|
#if TESTING
|
||||||
|
using System.Linq;
|
||||||
using System.Security.Claims;
|
using System.Security.Claims;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.AspNet.Authentication.Twitter;
|
using Microsoft.AspNet.Authentication.Twitter;
|
||||||
|
|
@ -49,3 +50,4 @@ namespace MusicStore.Mocks.Twitter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
Loading…
Reference in New Issue