Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

''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.

Code Block
actionscript
actionscript
[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];