Skip to content

Commit 157a234

Browse files
committed
Update namespaces in libraries
1 parent 65f18f4 commit 157a234

18 files changed

+23
-23
lines changed

Libraries/TranscriptConverter/ConvertTranscriptHandler.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using System.IO;
88
using Newtonsoft.Json;
99

10-
namespace TranscriptConverter
10+
namespace Microsoft.Bot.Builder.Testing.TranscriptConverter
1111
{
1212
public class ConvertTranscriptHandler
1313
{

Libraries/TranscriptConverter/Converter.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33

44
using System;
55
using System.Collections.Generic;
6-
using System.Globalization;
76
using System.IO;
87
using System.Text.RegularExpressions;
98
using Microsoft.Bot.Schema;
109
using Newtonsoft.Json;
1110
using Newtonsoft.Json.Linq;
1211

13-
namespace TranscriptConverter
12+
namespace Microsoft.Bot.Builder.Testing.TranscriptConverter
1413
{
1514
public static class Converter
1615
{

Libraries/TranscriptConverter/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.CommandLine.Builder;
55
using System.CommandLine.Parsing;
66

7-
namespace TranscriptConverter
7+
namespace Microsoft.Bot.Builder.Testing.TranscriptConverter
88
{
99
public class Program
1010
{

Libraries/TranscriptConverter/TestScript.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Collections.Generic;
55
using Newtonsoft.Json;
66

7-
namespace TranscriptConverter
7+
namespace Microsoft.Bot.Builder.Testing.TranscriptConverter
88
{
99
/// <summary>
1010
/// A Test Script that can be used for functional testing of bots.

Libraries/TranscriptConverter/TestScriptItem.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Collections.Generic;
55
using Newtonsoft.Json;
66

7-
namespace TranscriptConverter
7+
namespace Microsoft.Bot.Builder.Testing.TranscriptConverter
88
{
99
/// <summary>
1010
/// TestRunner's representation of an activity.

Libraries/TranscriptTestRunner.Tests/TestRunnerTests.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
// Licensed under the MIT License.
33

44
using Moq;
5-
using TranscriptTestRunner;
65
using Xunit;
76

8-
namespace TranscriptTestRunner.Tests
7+
namespace Microsoft.Bot.Builder.Testing.TestRunner.Tests
98
{
109
public class TestRunnerTests
1110
{

Libraries/TranscriptTestRunner/Authentication/Session.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using Newtonsoft.Json;
55

6-
namespace TranscriptTestRunner.Authentication
6+
namespace Microsoft.Bot.Builder.Testing.TestRunner.Authentication
77
{
88
/// <summary>
99
/// Session definition.

Libraries/TranscriptTestRunner/Authentication/SessionInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using System.Net;
55

6-
namespace TranscriptTestRunner.Authentication
6+
namespace Microsoft.Bot.Builder.Testing.TestRunner.Authentication
77
{
88
/// <summary>
99
/// Session information definition.

Libraries/TranscriptTestRunner/Authentication/TestClientAuthentication.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
using System.Threading.Tasks;
1111
using Newtonsoft.Json;
1212

13-
namespace TranscriptTestRunner.Authentication
13+
namespace Microsoft.Bot.Builder.Testing.TestRunner.Authentication
1414
{
1515
/// <summary>
1616
/// Authentication class for the Test Client.

Libraries/TranscriptTestRunner/Authentication/TokenInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
using Newtonsoft.Json;
55

6-
namespace TranscriptTestRunner.Authentication
6+
namespace Microsoft.Bot.Builder.Testing.TestRunner.Authentication
77
{
88
/// <summary>
99
/// Token definition.

Libraries/TranscriptTestRunner/TestClientBase.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using System.Threading.Tasks;
77
using Microsoft.Bot.Schema;
88

9-
namespace TranscriptTestRunner
9+
namespace Microsoft.Bot.Builder.Testing.TestRunner
1010
{
1111
/// <summary>
1212
/// Base class for test clients.

Libraries/TranscriptTestRunner/TestClientFactory.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4-
using System;
54
using System.ComponentModel;
5+
using Microsoft.Bot.Builder.Testing.TestRunner.TestClients;
66
using Microsoft.Bot.Connector;
77
using Microsoft.Extensions.Logging;
8-
using TranscriptTestRunner.TestClients;
98

10-
namespace TranscriptTestRunner
9+
namespace Microsoft.Bot.Builder.Testing.TestRunner
1110
{
1211
/// <summary>
1312
/// Factory class to create instances of <see cref="TestClientBase"/>.

Libraries/TranscriptTestRunner/TestClients/DirectLineTestClient.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@
1212
using System.Text;
1313
using System.Threading;
1414
using System.Threading.Tasks;
15+
using Microsoft.Bot.Builder.Testing.TestRunner.Authentication;
1516
using Microsoft.Bot.Connector.DirectLine;
1617
using Microsoft.Bot.Schema;
1718
using Microsoft.Extensions.Logging;
1819
using Microsoft.Extensions.Logging.Abstractions;
1920
using Microsoft.Rest.TransientFaultHandling;
2021
using Newtonsoft.Json;
21-
using TranscriptTestRunner.Authentication;
2222
using Activity = Microsoft.Bot.Connector.DirectLine.Activity;
2323
using ActivityTypes = Microsoft.Bot.Schema.ActivityTypes;
2424
using Attachment = Microsoft.Bot.Connector.DirectLine.Attachment;
2525
using BotActivity = Microsoft.Bot.Schema.Activity;
2626
using BotChannelAccount = Microsoft.Bot.Schema.ChannelAccount;
2727
using ChannelAccount = Microsoft.Bot.Connector.DirectLine.ChannelAccount;
2828

29-
namespace TranscriptTestRunner.TestClients
29+
namespace Microsoft.Bot.Builder.Testing.TestRunner.TestClients
3030
{
3131
/// <summary>
3232
/// DirectLine implementation of <see cref="TestClientBase"/>.

Libraries/TranscriptTestRunner/TestClients/DirectLineTestClientOptions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4-
namespace TranscriptTestRunner.TestClients
4+
namespace Microsoft.Bot.Builder.Testing.TestRunner.TestClients
55
{
66
/// <summary>
77
/// Class with the options needed to run a test against a TesClient.

Libraries/TranscriptTestRunner/TestRunner.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,15 @@
1818
using Newtonsoft.Json;
1919
using Activity = Microsoft.Bot.Schema.Activity;
2020

21-
namespace TranscriptTestRunner
21+
namespace Microsoft.Bot.Builder.Testing.TestRunner
2222
{
2323
/// <summary>
2424
/// Test runner implementation.
2525
/// </summary>
26+
27+
#pragma warning disable CA1724 // Type names should not match namespaces
2628
public class TestRunner
29+
#pragma warning restore CA1724 // Type names should not match namespaces
2730
{
2831
private readonly ILogger _logger;
2932
private readonly int _replyTimeout;

Libraries/TranscriptTestRunner/TestScript.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Collections.Generic;
55
using Newtonsoft.Json;
66

7-
namespace TranscriptTestRunner
7+
namespace Microsoft.Bot.Builder.Testing.TestRunner
88
{
99
/// <summary>
1010
/// A Test Script that can be used for functional testing of bots.

Libraries/TranscriptTestRunner/TestScriptItem.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Collections.Generic;
55
using Newtonsoft.Json;
66

7-
namespace TranscriptTestRunner
7+
namespace Microsoft.Bot.Builder.Testing.TestRunner
88
{
99
/// <summary>
1010
/// <see cref="TestRunner"/> representation of an activity.

Libraries/TranscriptTestRunner/XUnit/XUnitTestRunner.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
using Newtonsoft.Json;
1111
using Xunit;
1212

13-
namespace TranscriptTestRunner.XUnit
13+
namespace Microsoft.Bot.Builder.Testing.TestRunner.XUnit
1414
{
1515
/// <summary>
1616
/// XUnit extension of <see cref="TestRunner"/>.

0 commit comments

Comments
 (0)