Skip to content

Commit

Permalink
Replace all DataTestMethod with TestMethod.
Browse files Browse the repository at this point in the history
  • Loading branch information
chkr1011 committed Dec 3, 2024
1 parent 8089c6b commit 166dd05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace MQTTnet.Tests.Clients.MqttClient
[TestClass]
public sealed class MqttClient_Tests : BaseTestClass
{
[DataTestMethod]
[TestMethod]
[DataRow(MqttQualityOfServiceLevel.ExactlyOnce)]
[DataRow(MqttQualityOfServiceLevel.AtMostOnce)]
[DataRow(MqttQualityOfServiceLevel.AtLeastOnce)]
Expand Down
2 changes: 1 addition & 1 deletion Source/MQTTnet.Tests/Server/Session_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ void OnReceive()
}
}

[DataTestMethod]
[TestMethod]
[DataRow(MqttQualityOfServiceLevel.ExactlyOnce)]
[DataRow(MqttQualityOfServiceLevel.AtLeastOnce)]
public async Task Retry_If_Not_PubAck(MqttQualityOfServiceLevel qos)
Expand Down
2 changes: 1 addition & 1 deletion Source/MQTTnet.Tests/Server/Subscribe_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace MQTTnet.Tests.Server
[TestClass]
public sealed class Subscribe_Tests : BaseTestClass
{
[DataTestMethod]
[TestMethod]
[DataRow("A", "A", true)]
[DataRow("A", "B", false)]
[DataRow("A", "#", true)]
Expand Down

0 comments on commit 166dd05

Please sign in to comment.