''Attributes:'' description, user defined, loader
''A single Datapoint''
Code Block |
---|
|
[DataPoint]
public static var testInt : int = 5;
|
''creating a range of integers between 2 and 10 with help from TheoryHelperUtil''
Code Block |
---|
|
[DataPoints]
[ArrayElementType("int")]
public static var integerRange : Array = TheoryHelperUtil.createDataPointsRange( 2, 10 );
|
''creating an array of integers 1-9 the old fashion way''
Code Block |
---|
|
[DataPoints]
[ArrayElementType("int")]
public static var intValues:Array = [1,2,3,4,5,6,7,8,9];
|
''load an array of integers using an instance of an External Dependency Loader named dataRetriever1''
Code Block |
---|
|
[DataPoints(loader="dataRetriever1")]
[ArrayElementType("int")]
public static var dataTwo:Array;
|