Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
fix for Unity 5.0 publish
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc committed Jul 9, 2018
1 parent b4f5525 commit cb9d85d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/Scripts/RuntimeUnitTestToolkit/UnitTestRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
using UnityEngine.Events;
using UnityEngine.UI;
using System.Collections;
#if CSHARP_7_OR_LATER
using UniRx.Async;
#endif

namespace RuntimeUnitTestToolkit
{
Expand Down
2 changes: 2 additions & 0 deletions Assets/Scripts/Tests/Imported/TestImporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ namespace RuntimeUnitTestToolkit
{
public static class ImportUnitTestLoader
{
#if !(UNITY_4_5 || UNITY_4_6 || UNITY_4_7 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2)
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
public static void Register()
{
Expand Down Expand Up @@ -46,6 +47,7 @@ public static void Register()
UnitTest.RegisterAllMethods<ToTest>();
UnitTest.RegisterAllMethods<WhenAllTest>();
}
#endif
}


Expand Down

0 comments on commit cb9d85d

Please sign in to comment.