You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

''Some DataPoint arrays defined with their ArrayElementType''

ArrayElementType is the same metadata that is in ActionScript 3.

ArrayElementType is necessary for DataPoints to be applied correctly to Theory method arguments.

[DataPoints]
[ArrayElementType("Boolean")]
public static var boolValues:Array = [true, false];

[DataPoints]
[ArrayElementType("String")]
public static var stringValues:Array = ["one","two","three","four","five"];

[DataPoints]
[ArrayElementType("int")]
public static var intValues:Array = [1,2,3,4,5,6,7,8,9];
  • No labels