diff --git a/storage/testapp/Assets/Firebase/Sample/Storage/UIHandlerAutomated.cs b/storage/testapp/Assets/Firebase/Sample/Storage/UIHandlerAutomated.cs index 28970d010..fef3e695b 100644 --- a/storage/testapp/Assets/Firebase/Sample/Storage/UIHandlerAutomated.cs +++ b/storage/testapp/Assets/Firebase/Sample/Storage/UIHandlerAutomated.cs @@ -206,14 +206,20 @@ protected override void Update() { // Throw when condition is false. private void Assert(string message, bool condition) { - if (!condition) + if (!condition) { + DebugLog(String.Format("Assertion failed ({0}): {1}", + testRunner.CurrentTestDescription, message)); throw new Exception(String.Format("Assertion failed ({0}): {1}", testRunner.CurrentTestDescription, message)); + } } // Throw when value1 != value2. private void AssertEq(string message, T value1, T value2) { if (!(object.Equals(value1, value2))) { + DebugLog(String.Format("Assertion failed ({0}): {1} != {2} ({3})", + testRunner.CurrentTestDescription, value1, value2, + message)); throw new Exception(String.Format("Assertion failed ({0}): {1} != {2} ({3})", testRunner.CurrentTestDescription, value1, value2, message));