浏览代码

[material graph] ensure logger is valid

/main
Tim Cooper 9 年前
当前提交
b824e4af
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12
      UnityProject/Assets/UnityShaderEditor/Editor/Testing/UnitTests/MaterialGraphTests.cs

12
UnityProject/Assets/UnityShaderEditor/Editor/Testing/UnitTests/MaterialGraphTests.cs


using System.Linq;
using NUnit.Framework;
using UnityEditor.Graphing;
using UnityEngine;
namespace UnityEditor.MaterialGraph.Tests
{

[SetUpFixture]
public class SetUpClass
{
[SetUp]
void RunBeforeAnyTests()
{
Debug.logger.logHandler = new ConsoleLogHandler();
}
}
[Test]
public void TestCreateMaterialGraph()
{

正在加载...
取消
保存