This commit is contained in:
Tomas 2024-08-13 11:53:18 +03:00
Родитель 3224e27deb
Коммит 6c16e772a9
8 изменённых файлов: 21 добавлений и 8 удалений

Просмотреть файл

@ -1,2 +1,15 @@
{
"per_package": {
"com.unity.mobile.android-logcat@1": {
"exempts": {
"PVP-92-3": {
"errors": [
"Editor/AndroidTools/AndroidTools.cs: \"llvm-nm\"",
"Editor/AndroidTools/AndroidTools.cs: \"llvm-addr2line\"",
"Editor/AndroidTools/AndroidTools.cs: \"llvm-readelf\""
]
}
}
}
}
}

Просмотреть файл

@ -7,7 +7,7 @@ using Unity.Android.Logcat;
using UnityEngine;
using UnityEngine.TestTools;
public class AndroidLogcatDispatcherTests
class AndroidLogcatDispatcherTests
{
internal struct TaskInputData : IAndroidLogcatTaskInput
{

Просмотреть файл

@ -2,7 +2,7 @@ using NUnit.Framework;
using System;
using Unity.Android.Logcat;
public class AndroidLogcatFastListViewTests
class AndroidLogcatFastListViewTests
{
[Test]
public void CanClearItems()

Просмотреть файл

@ -5,7 +5,7 @@ using System.Collections;
using System.Collections.Generic;
using Unity.Android.Logcat;
public class AndroidLogcatGeneralTests
class AndroidLogcatGeneralTests
{
[Test]
public void ParseVersionTests()

Просмотреть файл

@ -2,7 +2,7 @@ using NUnit.Framework;
using System;
using Unity.Android.Logcat;
public class AndroidLogcatMemoryTests
class AndroidLogcatMemoryTests
{
const int kKiloByte = 1000;

Просмотреть файл

@ -8,7 +8,7 @@ using UnityEditor;
using UnityEditor.Compilation;
using Assembly = System.Reflection.Assembly;
public class AndroidLogcatNetTests
class AndroidLogcatNetTests
{
// Ensure we're running tests with .NET 3.5, because Unity 2018.3 and older don't have .NET 3.5 deprecated
[Test]
@ -104,7 +104,7 @@ public class AndroidLogcatNetTests
}
/// <summary>
/// Check that we don't have unexpected using <namespace>;
/// Check that we don't have unexpected using namespace
/// For ex., using using NUnit.Framework is not valid
/// This test is not perfect since you can access classes from those namespaces without using, but it's better than nothing
/// </summary>

Просмотреть файл

@ -5,7 +5,7 @@ using Unity.Android.Logcat;
using System.IO;
using System.Text.RegularExpressions;
public class AndroidLogcatStacktraceTests
class AndroidLogcatStacktraceTests
{
static string GetSymbolAddressUsingNM(AndroidTools tools, string symbolFilePath, string symbolName)
{

Просмотреть файл

@ -7,7 +7,7 @@ using UnityEditor;
using System;
[InitializeOnLoad]
public class AndroidLogcatTestsSetup
class AndroidLogcatTestsSetup
{
public static bool AndroidSDKAndNDKAvailable()
{