From f9cf53debc2db21d553f748da2feb4a4f0ce46ab Mon Sep 17 00:00:00 2001 From: "Frank A. Krueger" Date: Fri, 7 Jul 2017 12:51:00 -0700 Subject: [PATCH] Fix platform test project --- Ooui/UI.cs | 2 ++ PlatformTests/iOSTests/iOSTests.csproj | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/Ooui/UI.cs b/Ooui/UI.cs index 49593ab..613e54a 100644 --- a/Ooui/UI.cs +++ b/Ooui/UI.cs @@ -69,6 +69,8 @@ namespace Ooui // System.Console.WriteLine(" {0}", n); // } using (var s = asm.GetManifestResourceStream ("Ooui.Client.js")) { + if (s == null) + throw new Exception ("Missing Client.js"); using (var r = new StreamReader (s)) { clientJsBytes = Encoding.UTF8.GetBytes (r.ReadToEnd ()); } diff --git a/PlatformTests/iOSTests/iOSTests.csproj b/PlatformTests/iOSTests/iOSTests.csproj index bb2e06b..a29b8ad 100644 --- a/PlatformTests/iOSTests/iOSTests.csproj +++ b/PlatformTests/iOSTests/iOSTests.csproj @@ -202,5 +202,11 @@ Tests\UITests.cs + + + Client.js + Ooui.Client.js + + \ No newline at end of file