Skip to content

Commit

Permalink
New test for console titles too long (#6514)
Browse files Browse the repository at this point in the history
* New test for console titles too long for Windows Terminal tabs

* First round of scripted updates

* Next set

* Special case for multiple deserializers sample

* Another scripted round

* More scripted - these had .1 or .2 at the end

* Router samples to keep "color" in the title

* More complex renames

* Manual fixes

* Updates to where long endpoint names were mentioned in markdown
  • Loading branch information
DavidBoike authored Mar 21, 2024
1 parent b44bccb commit c233776
Show file tree
Hide file tree
Showing 627 changed files with 668 additions and 636 deletions.
2 changes: 1 addition & 1 deletion samples/aws/dynamodb-simple/DynamoDB_1/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.DynamoDB.Simple.Client";
Console.Title = "Client";
var endpointConfiguration = new EndpointConfiguration("Samples.DynamoDB.Simple.Client");
endpointConfiguration.UseTransport<LearningTransport>();
endpointConfiguration.UseSerialization<SystemJsonSerializer>();
Expand Down
2 changes: 1 addition & 1 deletion samples/aws/dynamodb-simple/DynamoDB_1/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.DynamoDB.Simple.Server";
Console.Title = "Server";

#region DynamoDBConfig

Expand Down
2 changes: 1 addition & 1 deletion samples/aws/dynamodb-simple/DynamoDB_2/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.DynamoDB.Simple.Client";
Console.Title = "Client";
var endpointConfiguration = new EndpointConfiguration("Samples.DynamoDB.Simple.Client");
endpointConfiguration.UseTransport<LearningTransport>();
endpointConfiguration.UseSerialization<SystemJsonSerializer>();
Expand Down
2 changes: 1 addition & 1 deletion samples/aws/dynamodb-simple/DynamoDB_2/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.DynamoDB.Simple.Server";
Console.Title = "Server";

#region DynamoDBConfig

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.DynamoDB.Transactions.Client";
Console.Title = "Client";
var endpointConfiguration = new EndpointConfiguration("Samples.DynamoDB.Transactions.Client");
endpointConfiguration.UseSerialization<SystemJsonSerializer>();
endpointConfiguration.UseTransport<LearningTransport>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.DynamoDB.Transactions.Server";
Console.Title = "Server";

#region DynamoDBConfig

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.DynamoDB.Transactions.Client";
Console.Title = "Client";
var endpointConfiguration = new EndpointConfiguration("Samples.DynamoDB.Transactions.Client");
endpointConfiguration.UseSerialization<SystemJsonSerializer>();
endpointConfiguration.UseTransport<LearningTransport>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.DynamoDB.Transactions.Server";
Console.Title = "Server";

#region DynamoDBConfig

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Newtonsoft.Json;
using NServiceBus;

Console.Title = "Samples.Sqs.SimpleReceiver";
Console.Title = "SimpleReceiver";

var endpointConfiguration = new EndpointConfiguration("Samples.Sqs.SimpleReceiver");
endpointConfiguration.EnableInstallers();
Expand Down
2 changes: 1 addition & 1 deletion samples/aws/sqs-native-integration/Sqs_6/Sender/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
var MessageToSend = @"{""$type"" : ""NativeIntegration.Receiver.SomeNativeMessage, Receiver"", ""ThisIsTheMessage"": ""Hello world!""}";
#endregion

Console.Title = "Samples.Sqs.NativeIntegration";
Console.Title = "NativeIntegration";

while (true)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Newtonsoft.Json;
using NServiceBus;

Console.Title = "Samples.Sqs.SimpleReceiver";
Console.Title = "SimpleReceiver";

var endpointConfiguration = new EndpointConfiguration("Samples.Sqs.SimpleReceiver");
endpointConfiguration.EnableInstallers();
Expand Down
2 changes: 1 addition & 1 deletion samples/aws/sqs-native-integration/Sqs_7/Sender/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
var MessageToSend = @"{""$type"" : ""NativeIntegration.Receiver.SomeNativeMessage, Receiver"", ""ThisIsTheMessage"": ""Hello world!""}";
#endregion

Console.Title = "Samples.Sqs.NativeIntegration";
Console.Title = "NativeIntegration";

while (true)
{
Expand Down
2 changes: 1 addition & 1 deletion samples/aws/sqs-simple/Sqs_5/Receiver/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.Sqs.SimpleReceiver";
Console.Title = "SimpleReceiver";
var endpointConfiguration = new EndpointConfiguration("Samples.Sqs.SimpleReceiver");
endpointConfiguration.EnableInstallers();
var transport = endpointConfiguration.UseTransport<SqsTransport>();
Expand Down
2 changes: 1 addition & 1 deletion samples/aws/sqs-simple/Sqs_5/Sender/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.Sqs.SimpleSender";
Console.Title = "SimpleSender";
#region ConfigureEndpoint

var endpointConfiguration = new EndpointConfiguration("Samples.Sqs.SimpleSender");
Expand Down
2 changes: 1 addition & 1 deletion samples/aws/sqs-simple/Sqs_6/Receiver/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using NServiceBus;

Console.Title = "Samples.Sqs.SimpleReceiver";
Console.Title = "SimpleReceiver";
var endpointConfiguration = new EndpointConfiguration("Samples.Sqs.SimpleReceiver");
endpointConfiguration.EnableInstallers();
endpointConfiguration.UseSerialization<SystemJsonSerializer>();
Expand Down
2 changes: 1 addition & 1 deletion samples/aws/sqs-simple/Sqs_6/Sender/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Threading.Tasks;
using NServiceBus;

Console.Title = "Samples.Sqs.SimpleSender";
Console.Title = "SimpleSender";
#region ConfigureEndpoint

var endpointConfiguration = new EndpointConfiguration("Samples.Sqs.SimpleSender");
Expand Down
2 changes: 1 addition & 1 deletion samples/aws/sqs-simple/Sqs_7/Receiver/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using NServiceBus;

Console.Title = "Samples.Sqs.SimpleReceiver";
Console.Title = "SimpleReceiver";
var endpointConfiguration = new EndpointConfiguration("Samples.Sqs.SimpleReceiver");
endpointConfiguration.EnableInstallers();
endpointConfiguration.UseSerialization<SystemJsonSerializer>();
Expand Down
2 changes: 1 addition & 1 deletion samples/aws/sqs-simple/Sqs_7/Sender/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Threading.Tasks;
using NServiceBus;

Console.Title = "Samples.Sqs.SimpleSender";
Console.Title = "SimpleSender";
#region ConfigureEndpoint

var endpointConfiguration = new EndpointConfiguration("Samples.Sqs.SimpleSender");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.ASB.Publisher";
Console.Title = "Publisher";

var endpointConfiguration = new EndpointConfiguration("Samples.ASB.Publisher");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.ASB.Publisher";
Console.Title = "Publisher";

var endpointConfiguration = new EndpointConfiguration("Samples.ASB.Publisher");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.ASB.Publisher";
Console.Title = "Publisher";

var endpointConfiguration = new EndpointConfiguration("Samples.ASB.Publisher");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.ASB.NativeIntegration.Sender";
Console.Title = "Sender";
var connectionString = Environment.GetEnvironmentVariable("AzureServiceBus_ConnectionString");
if (string.IsNullOrWhiteSpace(connectionString))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.ASB.NativeIntegration";
Console.Title = "NativeIntegration";

#region EndpointName

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.ASB.NativeIntegration.Sender";
Console.Title = "Sender";
var connectionString = Environment.GetEnvironmentVariable("AzureServiceBus_ConnectionString");
if (string.IsNullOrWhiteSpace(connectionString))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.ASB.NativeIntegration";
Console.Title = "NativeIntegration";

#region EndpointName

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.ASB.NativeIntegration.Sender";
Console.Title = "Sender";
var connectionString = Environment.GetEnvironmentVariable("AzureServiceBus_ConnectionString");
if (string.IsNullOrWhiteSpace(connectionString))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.ASB.NativeIntegration";
Console.Title = "NativeIntegration";

#region EndpointName

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.ASBS.SendReply.Endpoint1";
Console.Title = "Endpoint1";

#region config

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.ASBS.SendReply.Endpoint2";
Console.Title = "Endpoint2";

var endpointConfiguration = new EndpointConfiguration("Samples.ASBS.SendReply.Endpoint2");
endpointConfiguration.EnableInstallers();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.ASBS.SendReply.Endpoint1";
Console.Title = "Endpoint1";

#region config

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.ASBS.SendReply.Endpoint2";
Console.Title = "Endpoint2";

var endpointConfiguration = new EndpointConfiguration("Samples.ASBS.SendReply.Endpoint2");
endpointConfiguration.EnableInstallers();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.ASBS.SendReply.Endpoint1";
Console.Title = "Endpoint1";

#region config

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.ASBS.SendReply.Endpoint2";
Console.Title = "Endpoint2";

var endpointConfiguration = new EndpointConfiguration("Samples.ASBS.SendReply.Endpoint2");
endpointConfiguration.EnableInstallers();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.AzureTable.Transactions.Client";
Console.Title = "Client";
var endpointConfiguration = new EndpointConfiguration("Samples.AzureTable.Transactions.Client");
endpointConfiguration.UsePersistence<LearningPersistence>();
endpointConfiguration.UseTransport<LearningTransport>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.AzureTable.Transactions.Server";
Console.Title = "Server";

#region AzureTableConfig

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.AzureTable.Transactions.Client";
Console.Title = "Client";
var endpointConfiguration = new EndpointConfiguration("Samples.AzureTable.Transactions.Client");
endpointConfiguration.UsePersistence<LearningPersistence>();
endpointConfiguration.UseTransport(new LearningTransport());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.AzureTable.Transactions.Server";
Console.Title = "Server";

#region AzureTableConfig

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.AzureTable.Transactions.Client";
Console.Title = "Client";
var endpointConfiguration = new EndpointConfiguration("Samples.AzureTable.Transactions.Client");
endpointConfiguration.UsePersistence<LearningPersistence>();
endpointConfiguration.UseTransport(new LearningTransport());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.AzureTable.Transactions.Server";
Console.Title = "Server";

#region AzureTableConfig

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using NServiceBus;

Console.Title = "Samples.AzureTable.Transactions.Client";
Console.Title = "Client";
var endpointConfiguration = new EndpointConfiguration("Samples.AzureTable.Transactions.Client");
endpointConfiguration.UsePersistence<LearningPersistence>();
endpointConfiguration.UseTransport(new LearningTransport());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using NServiceBus;

Console.Title = "Samples.AzureTable.Transactions.Server";
Console.Title = "Server";

#region AzureTableConfig

Expand Down
2 changes: 1 addition & 1 deletion samples/azure/azure-table/simple/ASTP_3/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.AzureTable.Simple.Client";
Console.Title = "Client";
var endpointConfiguration = new EndpointConfiguration("Samples.AzureTable.Simple.Client");
endpointConfiguration.UsePersistence<LearningPersistence>();
endpointConfiguration.UseTransport<LearningTransport>();
Expand Down
2 changes: 1 addition & 1 deletion samples/azure/azure-table/simple/ASTP_3/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.AzureTable.Simple.Server";
Console.Title = "Server";

#region AzureTableConfig

Expand Down
2 changes: 1 addition & 1 deletion samples/azure/azure-table/simple/ASTP_4/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Program
{
static async Task Main()
{
Console.Title = "Samples.AzureTable.Simple.Client";
Console.Title = "Client";
var endpointConfiguration = new EndpointConfiguration("Samples.AzureTable.Simple.Client");
endpointConfiguration.UsePersistence<LearningPersistence>();
endpointConfiguration.UseTransport(new LearningTransport());
Expand Down
Loading

0 comments on commit c233776

Please sign in to comment.