adding performance test asmdef (#1653)

* adding performance test asmdef

* adding performance tests to packages

* fixing asmdef to work with 2018 and 2019
This commit is contained in:
James Frowen 2020-04-04 13:21:53 +01:00 committed by GitHub
parent 5ab4b178ba
commit 0157f9d909
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 90 additions and 2 deletions

View File

@ -2,3 +2,5 @@
[assembly: InternalsVisibleTo("Mirror.Tests")]
[assembly: InternalsVisibleTo("Mirror.Tests.Runtime")]
[assembly: InternalsVisibleTo("Mirror.Tests.Performance")]
[assembly: InternalsVisibleTo("Mirror.Tests.Performance.Runtime")]

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: e0b34ea3c905e3c42aaf95c1572edb1a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2c40e1b4653f9ca4b928a0ff52f33c60
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,23 @@
{
"name": "Mirror.Tests.Performance",
"references": [
"Unity.PerformanceTesting",
"Mirror",
"Mirror.Components",
"Mirror.Tests.Common"
],
"optionalUnityReferences": [
"TestAssemblies"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [
"UNITY_INCLUDE_TESTS"
]
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6ac82bd0f79158140826224aad56b5e3
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5f902e7dc9ebba44fa9ed637a824ddb8
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,21 @@
{
"name": "Mirror.Tests.Performance.Runtime",
"references": [
"Unity.PerformanceTesting",
"Mirror",
"Mirror.Components",
"Mirror.Tests.Common"
],
"optionalUnityReferences": [
"TestAssemblies"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [
"UNITY_INCLUDE_TESTS"
]
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 98f4e20eb641b974bab6c080624bb1ae
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -5,6 +5,7 @@
"com.unity.collab-proxy": "1.2.15",
"com.unity.package-manager-ui": "2.0.3",
"com.unity.purchasing": "2.0.3",
"com.unity.test-framework.performance": "0.1.50-preview",
"com.unity.textmeshpro": "1.3.0",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.animation": "1.0.0",
@ -36,5 +37,8 @@
"com.unity.modules.vr": "1.0.0",
"com.unity.modules.wind": "1.0.0",
"com.unity.modules.xr": "1.0.0"
}
}
},
"testables": [
"com.unity.test-framework.performance"
]
}