MsgPack.TestSummaryReporter.UpdateResult C# (CSharp) Méthode

UpdateResult() private méthode

Updates the summary Result.
private UpdateResult ( ) : void
Résultat void
		private void UpdateResult()
		{
			this._globalResult.Message.Value =
				String.Format(
					CultureInfo.CurrentCulture,
					"{0}{1}Success:{2:#,0} Skipped:{3:#,0}, Failure:{4:#,0} Error:{5:#,0}",
					this._currentTestClassName,
					Environment.NewLine,
					this._succeeded,
					this._skipped,
					this._failed,
					this._errors
				);
			if ( this._failed > 0 || this._errors > 0 )
			{
				this._globalResult.Color.Value = UnityEngine.Color.red;
			}
			else if( this._succeeded > 0 )
			{
				this._globalResult.Color.Value = UnityEngine.Color.green;
			}
		}
	}