Skip to content

Commit

Permalink
Add test attribute [TestCategory("FunctionalTests")]. Remove precompi…
Browse files Browse the repository at this point in the history
…ler directive #if !FUNCTIONALTESTS.
  • Loading branch information
LocalizationBuildProcess committed Dec 12, 2019
1 parent 03dca7c commit 2092f55
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

namespace Microsoft.Bot.Builder.FunctionalTests
{
// #if !FUNCTIONALTESTS
// [Ignore("These integration tests run only when FUNCTIONALTESTS is defined")]
//#endif
[TestClass]
#if !FUNCTIONALTESTS
[Ignore("These integration tests run only when FUNCTIONALTESTS is defined")]
#endif

[TestCategory("FunctionalTests")]
public class DirectLineClientTests
{
private static string directLineSecret = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@

namespace Microsoft.Bot.Builder.FunctionalTests
{
// #if !FUNCTIONALTESTS
// [Ignore("These integration tests run only when FUNCTIONALTESTS is defined")]
//#endif
[TestClass]
#if !FUNCTIONALTESTS
[Ignore("These integration tests run only when FUNCTIONALTESTS is defined")]
#endif
[TestCategory("FunctionalTests")]
public class GetTokenRefreshTests
{
private string testAppId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@

namespace Microsoft.Bot.Builder.FunctionalTests
{
// #if !FUNCTIONALTESTS
// [Ignore("These integration tests run only when FUNCTIONALTESTS is defined")]
//#endif
[TestClass]
#if !FUNCTIONALTESTS
[Ignore("These integration tests run only when FUNCTIONALTESTS is defined")]
#endif
[TestCategory("FunctionalTests")]
public class JwtTokenExtractorTests
{
private const string KeyId = "CtfQC8Le-8NsC7oC2zQkZpcrfOc";
Expand Down

0 comments on commit 2092f55

Please sign in to comment.