C# Class DataDictionary.Tests.Frame

Inheritance: Generated.Frame, IExpressionable, ICommentable
ファイルを表示 Open project: ERTMSSolutions/ERTMSFormalSpecs Class Usage Examples

Public Methods

Method Description
AddModelElement ( IModelElement element ) : void

Adds a model element in this model element

CleanCompilation ( ) : void

Clears the expression tree to ensure new compilation

Compile ( ) : DataDictionary.Interpreter.InterpreterTreeNode

Creates the tree according to the expression text

CreateDefault ( ICollection enclosingCollection ) : Frame

Creates a default element

Delete ( ) : void

Removes the frame and stores the file to delete

ExecuteAllTests ( bool ensureCompilationDone, bool checkForCompatibleChanges = false ) : int

Executes the test cases for this test sequence

FillSubSequences ( List retVal ) : void

Provides the list of sub sequences for this frame

FillTestCases ( List testCases ) : void

¨Provides the test cases for this test frame

Translate ( ) : void

Translates the frame according to the translation dictionary provided

checkValidExpression ( string expression ) : bool

Indicates that the expression is valid for this IExpressionable

findSubSequence ( string name ) : SubSequence

Provides the sub sequence whose name corresponds to the name provided

Private Methods

Method Description
RecordFilesToDelete ( ) : void

Stores the files to be deleted

Method Details

AddModelElement() public method

Adds a model element in this model element
public AddModelElement ( IModelElement element ) : void
element IModelElement
return void

CleanCompilation() public method

Clears the expression tree to ensure new compilation
public CleanCompilation ( ) : void
return void

Compile() public method

Creates the tree according to the expression text
public Compile ( ) : DataDictionary.Interpreter.InterpreterTreeNode
return DataDictionary.Interpreter.InterpreterTreeNode

CreateDefault() public static method

Creates a default element
public static CreateDefault ( ICollection enclosingCollection ) : Frame
enclosingCollection ICollection
return Frame

Delete() public method

Removes the frame and stores the file to delete
public Delete ( ) : void
return void

ExecuteAllTests() public method

Executes the test cases for this test sequence
public ExecuteAllTests ( bool ensureCompilationDone, bool checkForCompatibleChanges = false ) : int
ensureCompilationDone bool
checkForCompatibleChanges bool
return int

FillSubSequences() public method

Provides the list of sub sequences for this frame
public FillSubSequences ( List retVal ) : void
retVal List
return void

FillTestCases() public method

¨Provides the test cases for this test frame
public FillTestCases ( List testCases ) : void
testCases List
return void

Translate() public method

Translates the frame according to the translation dictionary provided
public Translate ( ) : void
return void

checkValidExpression() public method

Indicates that the expression is valid for this IExpressionable
public checkValidExpression ( string expression ) : bool
expression string
return bool

findSubSequence() public method

Provides the sub sequence whose name corresponds to the name provided
public findSubSequence ( string name ) : SubSequence
name string
return DataDictionary.Generated.SubSequence