浏览代码

Merge pull request #784 from Unity-Technologies/Test_Assemblies

Create test assembly deffinition files
/main
GitHub 7 年前
当前提交
1588a9a8
共有 56 个文件被更改,包括 191 次插入58 次删除
  1. 1
      Tests/Scripts/GraphicTests/HDRenderPipeline/DebugViewController.cs
  2. 2
      Tests/Scripts/GraphicTests/Framework/TestFrameworkTools.cs
  3. 10
      TestbedPipelines/com.unity.render-pipelines.testbed-pipelines.asmdef
  4. 7
      TestbedPipelines/com.unity.render-pipelines.testbed-pipelines.asmdef.meta
  5. 8
      Tests/GraphicsTests/RenderPipeline/HDRenderPipeline/Scenes/0xxx.meta
  6. 8
      Tests/Scripts.meta
  7. 8
      Tests/Scripts/Editor/GraphicTests.meta
  8. 8
      Tests/Scripts/Editor/GraphicTests/Framework.meta
  9. 8
      Tests/Scripts/Editor/GraphicTests/HDRenderPipeline.meta
  10. 8
      Tests/Scripts/Editor/GraphicTests/LWPipeline.meta
  11. 8
      Tests/Scripts/Editor/GraphicTests/LWPipeline/040_UpgradeScene.meta
  12. 8
      Tests/Scripts/Editor/GraphicTests/HDRenderPipeline/PlayModeTest.meta
  13. 8
      Tests/Scripts/Editor/Renderloop.meta
  14. 8
      Tests/Scripts/Editor/ShaderGenerator.meta
  15. 23
      Tests/Scripts/Editor/Tests_Editor.asmdef
  16. 7
      Tests/Scripts/Editor/Tests_Editor.asmdef.meta
  17. 8
      Tests/Scripts/GraphicTests.meta
  18. 8
      Tests/Scripts/GraphicTests/Framework.meta
  19. 8
      Tests/Scripts/GraphicTests/HDRenderPipeline.meta
  20. 8
      Tests/Scripts/GraphicTests/LWPipeline.meta
  21. 8
      Tests/Scripts/GraphicTests/LWPipeline/040_UpgradeScene.meta
  22. 16
      Tests/Scripts/Tests.asmdef
  23. 7
      Tests/Scripts/Tests.asmdef.meta
  24. 10
      Tests/GraphicsTests/RenderPipeline/HDRenderPipeline/CommonAssets/Scripts.meta
  25. 8
      Tests/GraphicsTests/RenderPipeline/HDRenderPipeline/PlayModeTest/Editor.meta
  26. 10
      Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/040_UpgradeScene/Scripts.meta
  27. 9
      Tests/GraphicsTests/Framework.meta
  28. 10
      Tests/Scripts/GraphicTests/HDRenderPipeline/Editor.meta
  29. 9
      Tests/Scripts/GraphicTests/Framework/Editor.meta
  30. 0
      /Tests/Scripts/GraphicTests/HDRenderPipeline
  31. 0
      /Tests/Scripts/Editor/GraphicTests/HDRenderPipeline/PlayModeTest
  32. 0
      /Tests/Scripts/GraphicTests/Framework
  33. 0
      /Tests/Scripts/Editor/Renderloop/RenderPipelineTestFixture.cs.meta
  34. 0
      /Tests/Scripts/Editor/Renderloop/RenderPipelineTestFixture.cs
  35. 0
      /Tests/Scripts/Editor/Renderloop/CullResultsTest.cs.meta
  36. 0
      /Tests/Scripts/Editor/Renderloop/CullResultsTest.cs
  37. 0
      /Tests/Scripts/Editor.meta
  38. 0
      /Tests/Scripts/Editor/GraphicTests/HDRenderPipeline
  39. 0
      /Tests/Scripts/Editor/GraphicTests/LWPipeline/040_UpgradeScene
  40. 0
      /Tests/Scripts/GraphicTests/LWPipeline/040_UpgradeScene/RandomAnimationPoint.cs
  41. 0
      /Tests/Scripts/GraphicTests/LWPipeline/040_UpgradeScene/RandomAnimationPoint.cs.meta
  42. 0
      /Tests/Scripts/Editor/GraphicTests/Framework
  43. 0
      /Tests/Scripts/Editor/ShaderGenerator
  44. 0
      /Tests/Scripts/Editor/MaterialUpgraderTests.cs
  45. 0
      /Tests/Scripts/Editor/MaterialUpgraderTests.cs.meta

1
Tests/Scripts/GraphicTests/HDRenderPipeline/DebugViewController.cs


using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEngine.Experimental.Rendering;
using UnityEngine.Experimental.Rendering.HDPipeline;

2
Tests/Scripts/GraphicTests/Framework/TestFrameworkTools.cs


// find the reference image
_dumpFileLocation = Path.Combine(templatePath, string.Format("{0}.{1}", _testInfo.templatePath, "png"));
Debug.Log("Template file at: " + _dumpFileLocation);
//Debug.Log("Template file at: " + _dumpFileLocation);
if (!File.Exists(_dumpFileLocation))
{
// no reference exists, create it

10
TestbedPipelines/com.unity.render-pipelines.testbed-pipelines.asmdef


{
"name": "com.unity.render-pipelines.testbed-pipelines",
"references": [
"com.unity.render-pipelines.core.Runtime",
"com.unity.postprocessing.Runtime"
],
"optionalUnityReferences": [],
"includePlatforms": [],
"excludePlatforms": []
}

7
TestbedPipelines/com.unity.render-pipelines.testbed-pipelines.asmdef.meta


fileFormatVersion: 2
guid: 3989db5ff81f3474a87960a120963bc6
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Tests/GraphicsTests/RenderPipeline/HDRenderPipeline/Scenes/0xxx.meta


fileFormatVersion: 2
guid: 405d053465ae98342849302f26ddfee0
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Tests/Scripts.meta


fileFormatVersion: 2
guid: 50cbf7177ae70724986f89e365308d06
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Tests/Scripts/Editor/GraphicTests.meta


fileFormatVersion: 2
guid: 79f7c58d1153c934abc6478abf3fd7da
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Tests/Scripts/Editor/GraphicTests/Framework.meta


fileFormatVersion: 2
guid: 794d7c3c7fd69284bb4642a52364aa06
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Tests/Scripts/Editor/GraphicTests/HDRenderPipeline.meta


fileFormatVersion: 2
guid: 60b2f9f88b7700d4682bb795945381ab
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Tests/Scripts/Editor/GraphicTests/LWPipeline.meta


fileFormatVersion: 2
guid: d70cd543e4cc76f469299496cd70a392
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Tests/Scripts/Editor/GraphicTests/LWPipeline/040_UpgradeScene.meta


fileFormatVersion: 2
guid: 44dee5c88c3691a4682e747648d65c75
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Tests/Scripts/Editor/GraphicTests/HDRenderPipeline/PlayModeTest.meta


fileFormatVersion: 2
guid: 844a96e51026b124fbb6b63d1a080223
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Tests/Scripts/Editor/Renderloop.meta


fileFormatVersion: 2
guid: 9f616a5dc14c31c4ab4f51ef213335dc
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Tests/Scripts/Editor/ShaderGenerator.meta


fileFormatVersion: 2
guid: c63bac83b3edaeb49a4a9dbc1bb1fb17
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

23
Tests/Scripts/Editor/Tests_Editor.asmdef


{
"name": "Tests_Editor",
"references": [
"com.unity.postprocessing.Editor",
"com.unity.render-pipelines.core.Editor",
"com.unity.render-pipelines.high-defintion.Editor",
"com.unity.render-pipelines.lightweight.Editor",
"GraphicTests",
"com.unity.render-pipelines.testbed-pipelines",
"com.unity.postprocessing.Runtime",
"com.unity.render-pipelines.core.IncludePaths",
"com.unity.render-pipelines.core.Runtime",
"com.unity.render-pipelines.high-definition.Runtime",
"com.unity.render-pipelines.lightweight.Runtime"
],
"optionalUnityReferences": [
"TestAssemblies"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": []
}

7
Tests/Scripts/Editor/Tests_Editor.asmdef.meta


fileFormatVersion: 2
guid: fd6a7dd19f43a2f43a5812a95337d362
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Tests/Scripts/GraphicTests.meta


fileFormatVersion: 2
guid: 9a30f956a569b9c44af8f2014bf87431
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Tests/Scripts/GraphicTests/Framework.meta


fileFormatVersion: 2
guid: a7780309944b725409a6549ed497af5c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Tests/Scripts/GraphicTests/HDRenderPipeline.meta


fileFormatVersion: 2
guid: bc1bb683fc523b64db50561762ca88cc
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Tests/Scripts/GraphicTests/LWPipeline.meta


fileFormatVersion: 2
guid: 0e4e63574bfef7d429c7dfcd86ac67b9
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Tests/Scripts/GraphicTests/LWPipeline/040_UpgradeScene.meta


fileFormatVersion: 2
guid: a591cf378026b6c4587fc3d112cf7c82
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

16
Tests/Scripts/Tests.asmdef


{
"name": "GraphicTests",
"references": [
"com.unity.postprocessing.Runtime",
"com.unity.render-pipelines.core.IncludePaths",
"com.unity.render-pipelines.core.Runtime",
"com.unity.render-pipelines.high-definition.Runtime",
"com.unity.render-pipelines.lightweight.Runtime",
"com.unity.render-pipelines.testbed-pipelines"
],
"optionalUnityReferences": [
"TestAssemblies"
],
"includePlatforms": [],
"excludePlatforms": []
}

7
Tests/Scripts/Tests.asmdef.meta


fileFormatVersion: 2
guid: 37c11afcd5a750d4898a61f92349c799
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

10
Tests/GraphicsTests/RenderPipeline/HDRenderPipeline/CommonAssets/Scripts.meta


fileFormatVersion: 2
guid: c1f6eaf19a5d40045818530f57b09da5
folderAsset: yes
timeCreated: 1508430589
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Tests/GraphicsTests/RenderPipeline/HDRenderPipeline/PlayModeTest/Editor.meta


fileFormatVersion: 2
guid: 1c7686394fee09b40985a1ac79a63c28
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

10
Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/040_UpgradeScene/Scripts.meta


fileFormatVersion: 2
guid: 2c9ce194a1bfc4733b75593a1f4ced22
folderAsset: yes
timeCreated: 1509466927
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

9
Tests/GraphicsTests/Framework.meta


fileFormatVersion: 2
guid: 8305d4811b3aa624ea663e2d7841e470
folderAsset: yes
timeCreated: 1495206710
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

10
Tests/Scripts/GraphicTests/HDRenderPipeline/Editor.meta


fileFormatVersion: 2
guid: 129562301394edd45a199c538cda6f8f
folderAsset: yes
timeCreated: 1508490326
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

9
Tests/Scripts/GraphicTests/Framework/Editor.meta


fileFormatVersion: 2
guid: ac919a67e7c764f70a75900c12043d9b
folderAsset: yes
timeCreated: 1493134265
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

/Tests/GraphicsTests/RenderPipeline/HDRenderPipeline/CommonAssets/Scripts → /Tests/Scripts/GraphicTests/HDRenderPipeline

/Tests/GraphicsTests/RenderPipeline/HDRenderPipeline/PlayModeTest/Editor → /Tests/Scripts/Editor/GraphicTests/HDRenderPipeline/PlayModeTest

/Tests/GraphicsTests/Framework → /Tests/Scripts/GraphicTests/Framework

/Tests/RenderloopTests/Editor/RenderPipelineTestFixture.cs.meta → /Tests/Scripts/Editor/Renderloop/RenderPipelineTestFixture.cs.meta

/Tests/RenderloopTests/Editor/RenderPipelineTestFixture.cs → /Tests/Scripts/Editor/Renderloop/RenderPipelineTestFixture.cs

/Tests/RenderloopTests/Editor/CullResultsTest.cs.meta → /Tests/Scripts/Editor/Renderloop/CullResultsTest.cs.meta

/Tests/RenderloopTests/Editor/CullResultsTest.cs → /Tests/Scripts/Editor/Renderloop/CullResultsTest.cs

/Tests/Editor.meta → /Tests/Scripts/Editor.meta

/Tests/Scripts/GraphicTests/HDRenderPipeline/Editor → /Tests/Scripts/Editor/GraphicTests/HDRenderPipeline

/Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/040_UpgradeScene/Scripts/Editor → /Tests/Scripts/Editor/GraphicTests/LWPipeline/040_UpgradeScene

/Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/040_UpgradeScene/Scripts/RandomAnimationPoint.cs → /Tests/Scripts/GraphicTests/LWPipeline/040_UpgradeScene/RandomAnimationPoint.cs

/Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/040_UpgradeScene/Scripts/RandomAnimationPoint.cs.meta → /Tests/Scripts/GraphicTests/LWPipeline/040_UpgradeScene/RandomAnimationPoint.cs.meta

/Tests/Scripts/GraphicTests/Framework/Editor → /Tests/Scripts/Editor/GraphicTests/Framework

/Tests/ShaderGeneratorTests/Editor → /Tests/Scripts/Editor/ShaderGenerator

/Tests/Editor/MaterialUpgraderTests.cs → /Tests/Scripts/Editor/MaterialUpgraderTests.cs

/Tests/Editor/MaterialUpgraderTests.cs.meta → /Tests/Scripts/Editor/MaterialUpgraderTests.cs.meta

正在加载...
取消
保存