Skip to content

Commit 6d1dc65

Browse files
author
Thomas Gravgaard
committed
Added conditional compilation to the UnitTests scripts so they do not run on WP7
1 parent 8282326 commit 6d1dc65

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Unity.Tests/Assets/Scripts/GameObjects/CloningAGameObject.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using UnityEngine;
3-
using System.Collections.Generic;
4-
#if !XBOX
3+
using System.Collections.Generic;
4+
#if !XBOX || !WINDOWS_PHONE
55
using FluentAssertions;
66
#endif
77

@@ -18,7 +18,7 @@ void Start () {
1818
void Update () {
1919
if (!tested.HasValue) {
2020
tested = true;
21-
#if !XBOX
21+
#if !XBOX || !WINDOWS_PHONE
2222
GameObject go = new GameObject();
2323
CloningHelper help = go.AddComponent<CloningHelper>();
2424
help.val = 100;

0 commit comments

Comments
 (0)