update: 更新 asmdef 定义, 更新测试方法
parent
a5cfdd4df6
commit
b790ac34ac
|
|
@ -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
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b3a448b0d69744e68e37aebf848e479f
|
||||||
|
timeCreated: 1708590658
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue