Browse Source

Fix Unity Test Tools warnings

master
chrisgregan 9 years ago
parent
commit
6e8baa5ecd
  1. 6
      Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/Editor/PlatformRunner/PlatformRunner.cs

6
Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/Editor/PlatformRunner/PlatformRunner.cs

@ -109,8 +109,10 @@ namespace UnityTest.IntegrationTests
{ {
case BuildTargetGroup.Android: case BuildTargetGroup.Android:
return BuildTarget.Android; return BuildTarget.Android;
#if !UNITY_5_4_OR_NEWER
case BuildTargetGroup.WebPlayer: case BuildTargetGroup.WebPlayer:
return BuildTarget.WebPlayer; return BuildTarget.WebPlayer;
#endif
default: default:
{ {
switch (Application.platform) switch (Application.platform)
@ -122,7 +124,11 @@ namespace UnityTest.IntegrationTests
case RuntimePlatform.LinuxPlayer: case RuntimePlatform.LinuxPlayer:
return BuildTarget.StandaloneLinux; return BuildTarget.StandaloneLinux;
} }
#if UNITY_5_4_OR_NEWER
return BuildTarget.WebGL;
#else
return BuildTarget.WebPlayer; return BuildTarget.WebPlayer;
#endif
} }
} }
} }

Loading…
Cancel
Save