Permalink
Browse files

Added conditional compilation to the UnitTests scripts so they do not…

… run on WP7
  • Loading branch information...
1 parent 8282326 commit 6d1dc65a026192951c351228114d8d9433debbef Thomas Gravgaard committed Apr 20, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 Tests/Unity.Tests/Assets/Scripts/GameObjects/CloningAGameObject.cs
@@ -1,7 +1,7 @@
using System;
using UnityEngine;
-using System.Collections.Generic;
-#if !XBOX
+using System.Collections.Generic;
+#if !XBOX || !WINDOWS_PHONE
using FluentAssertions;
#endif
@@ -18,7 +18,7 @@ public class CloningAGameObject : MonoBehaviour {
void Update () {
if (!tested.HasValue) {
tested = true;
-#if !XBOX
+#if !XBOX || !WINDOWS_PHONE
GameObject go = new GameObject();
CloningHelper help = go.AddComponent<CloningHelper>();
help.val = 100;

0 comments on commit 6d1dc65

Please sign in to comment.