update: 更新 asmdef 定义, 更新测试方法

deeplink
胡宇飞 2024-02-22 16:46:49 +08:00
parent a5cfdd4df6
commit b790ac34ac
3 changed files with 30 additions and 6 deletions

View File

@ -0,0 +1,16 @@
{
"name": "GuruConsent.Editor",
"rootNamespace": "Guru.Editor",
"references": [],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: b3a448b0d69744e68e37aebf848e479f
timeCreated: 1708590658

View File

@ -1,13 +1,12 @@
using System.Xml;
using UnityEngine;
namespace Guru.Editor namespace Guru.Editor
{ {
using UnityEditor; using UnityEditor;
using UnityEditor.Callbacks; using UnityEditor.Callbacks;
using UnityEngine;
using System.Xml;
using System.IO; using System.IO;
using NUnit.Framework;
public class PostBuild_DMA public class PostBuild_DMA
{ {
@ -118,13 +117,19 @@ namespace Guru.Editor
} }
} }
#endregion
#region 单元测试
[Test]
public static void Test_AndroidManifestInject() public static void Test_AndroidManifestInject()
{ {
OnSetAndroidManifest($"{Application.dataPath}/Plugins/Android"); OnSetAndroidManifest($"{Application.dataPath}/Plugins/Android");
} }
#endregion #endregion
} }
} }