Skip to content

T_CodeJam_PerfTests_Running_Core_CompetitionState

andrewvk edited this page Nov 8, 2016 · 2 revisions

CompetitionState Class

The class holding the state of the competition.

Inheritance Hierarchy

System.Object
  CodeJam.PerfTests.Running.Core.CompetitionState
Namespace: CodeJam.PerfTests.Running.Core
Assembly: CodeJam.PerfTests (in CodeJam.PerfTests.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#

public class CompetitionState

VB

Public Class CompetitionState

F#

type CompetitionState =  class end

The CompetitionState type exposes the following members.

Constructors

 

Name Description
Public method CompetitionState Initializes a new instance of the CompetitionState class.
  Back to Top

Properties

 

Name Description
Public property Completed The competition was completed.
Public property CompletedSuccessfully The competition completed without warnings and errors.
Public property Config The config for the competition.
Public property Elapsed Time elapsed since start of the competition.
Public property HasCriticalErrorsInRun There's a critical-severity messages for the current run.
Public property HasTestErrorsInRun There's a error-severity messages for the current run.
Public property HighestMessageSeverity The highest message severity for entire competition.
Public property HighestMessageSeverityInRun The highest message severity for the run.
Public property LastRunSummary The summary for the last completed run. Is null if the current run is not completed. Can be null if the run was completed with errors.
Public property Logger The logger for the competition.
Public property LooksLikeLastRun The competition has no additional runs requested or the count of runs is out of limit or there are critical errors in the run.
Public property MaxRunsAllowed Max limit for competition reruns.
Public property MessagesInRun Count of messages for the current run.
Public property RunLimitExceeded The count of runs is out of limit.
Public property RunNumber The number of the current run.
Public property RunsLeft Expected count of runs left.
Public property SummaryFromAllRuns List of summaries from all runs.
  Back to Top

Methods

 

Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetMessages Returns all messages for the competition.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RequestReruns Request additional runs for the competition.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WriteMessage(MessageSource, MessageSeverity, String) Adds a message for the competition.
Public method WriteMessage(MessageSource, MessageSeverity, String, Object[]) Adds a message for the competition.
  Back to Top

Extension Methods

 

Name Description
Public Extension Method AddAnalyserWarning Reports analyser warning. (Defined by CompetitionCore.)
Public Extension Method WriteExceptionMessage Writes the setup exception message. (Defined by CompetitionCore.)
  Back to Top

See Also

Reference

CodeJam.PerfTests.Running.Core Namespace

Clone this wiki locally