public static void LogWarning(this Core core, ProtoCore.RuntimeData.WarningID id, string msg, string fileName = null, int line = -1, int col = -1)
 {
     core.RuntimeStatus.LogWarning(id, msg, fileName, line, col);
 }
 public static void LogWarning(this Interpreter dsi, ProtoCore.RuntimeData.WarningID id, string msg, string fileName = null, int line = -1, int col = -1)
 {
     ProtoCore.Core core = dsi.runtime.Core;
     core.RuntimeStatus.LogWarning(id, msg, fileName, line, col);
 }
Beispiel #3
0
 public static void VerifyRuntimeWarning(ProtoCore.RuntimeData.WarningID id)
 {
     VerifyRuntimeWarning(testCore, id);
 }
Beispiel #4
0
 public static void VerifyRuntimeWarning(ProtoCore.Core core, ProtoCore.RuntimeData.WarningID id)
 {
     Assert.IsTrue(core.RuntimeStatus.Warnings.Any(w => w.ID == id), mErrorMessage);
 }
 public static void VerifyRuntimeWarning(ProtoCore.Core core, ProtoCore.RuntimeData.WarningID id)
 {
     Assert.IsTrue(core.RuntimeStatus.ContainsWarning(id), mErrorMessage);
 }