From ac72c827bdb022142c4f3c5c42236569db682ebc Mon Sep 17 00:00:00 2001 From: Konrad Dysput Date: Mon, 14 Apr 2025 14:30:30 +0200 Subject: [PATCH] Fix multiple typos in test cases --- Runtime/Model/BacktraceUnhandledException.cs | 4 ++-- Runtime/Native/Android/NativeClient.cs | 2 +- Tests/Runtime/Client/BacktraceAttributeMachineIdTests.cs | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Runtime/Model/BacktraceUnhandledException.cs b/Runtime/Model/BacktraceUnhandledException.cs index c527af07..cb34c611 100644 --- a/Runtime/Model/BacktraceUnhandledException.cs +++ b/Runtime/Model/BacktraceUnhandledException.cs @@ -163,7 +163,7 @@ private BacktraceStackFrame ConvertFrame(string frameString, int methodNameEndIn // allow to execute this code in the editor // to validate parser via unit tests #if UNITY_ANDROID || UNITY_EDITOR - // verify if the stack trace is from Untiy by checking if the + // verify if the stack trace is from Unity by checking if the // by checking source code location const char argumentStartInitialChar = '('; var sourceCodeStartIndex = frameString.IndexOf(argumentStartInitialChar, methodNameEndIndex + 1); @@ -487,4 +487,4 @@ private void TrySetClassifier() } } } -} \ No newline at end of file +} diff --git a/Runtime/Native/Android/NativeClient.cs b/Runtime/Native/Android/NativeClient.cs index 36adbce2..08c0c7f2 100644 --- a/Runtime/Native/Android/NativeClient.cs +++ b/Runtime/Native/Android/NativeClient.cs @@ -157,7 +157,7 @@ public NativeClient(BacktraceConfiguration configuration, BacktraceBreadcrumbs b } /// - /// Setup communication between Untiy and Android to receive information about unhandled thread exceptions + /// Setup communication between Unity and Android to receive information about unhandled thread exceptions /// /// Game object callback method name private void HandleUnhandledExceptions() diff --git a/Tests/Runtime/Client/BacktraceAttributeMachineIdTests.cs b/Tests/Runtime/Client/BacktraceAttributeMachineIdTests.cs index e0ffa2fa..8ae60437 100644 --- a/Tests/Runtime/Client/BacktraceAttributeMachineIdTests.cs +++ b/Tests/Runtime/Client/BacktraceAttributeMachineIdTests.cs @@ -25,7 +25,7 @@ public void TestMachineAttributes_ShouldUseUnityIdentifier_ShouldReturnUnityIden } [Test] - public void TestMachineAttributes_ShouldUseMac_ShouldReturnNetowrkingIdentifier() + public void TestMachineAttributes_ShouldUseMac_ShouldReturnNetworkIdentifier() { var networkIdentifierDataProvider = new NetworkIdentifierProvider(); var expectedMachineId = networkIdentifierDataProvider.Get(); @@ -73,7 +73,7 @@ public void TestMachineAttributes_ShouldRetrieveValueFromStorage_IdentifierIsSto } [Test] - public void TestMachineAttributes_ShouldAlwaysReturnTheSameValueUnityId_IdentifierAreTheSame() + public void TestMachineAttributes_ShouldAlwaysReturnTheSameValueUnityId_IdentifiersAreTheSame() { var firstMachineIdStorage = new MachineIdStorage().GenerateMachineId(); var secGenerationOfMachineIdStorage = new MachineIdStorage().GenerateMachineId(); @@ -82,7 +82,7 @@ public void TestMachineAttributes_ShouldAlwaysReturnTheSameValueUnityId_Identifi } [Test] - public void TestMachineAttributes_ShouldAlwaysGenerateTheSameUntiyAttribute_ShouldReturnTheSameUnityIdentitfier() + public void TestMachineAttributes_ShouldAlwaysGenerateTheSameUnityAttribute_ShouldReturnTheSameUnityIdentitfier() { var machineIdStorage = new MachineIdStorage();