org.as2lib.core.BasicClass +--org.as2lib.test.speed.AbstractTest +--org.as2lib.test.speed.TestSuite
Test
TestSuite
is the core interface for standardized performance test suites.
Test suites hold multiple Test
instances, including TestCase
,
instances, TestSuite
instances and instances of your custom Test
implementations.
CLASS, METHOD, METHOD_INVOCATION, METHOD_INVOCATION_TREE, NONE, PACKAGE
new TestSuite()
public function getName(Void):String
Returns this test suite's name.
this test suite's name
public function addTestByTest(test:Test):Void
Adds the passed-in test
to this test suite.
If the argument test
is null
or undefined
this method
invocation will be ignored.
test | the test to add |
public function addTestByMethod(method:MethodInfo):Test
Adds a new test case by method
.
If the argument method
is null
or undefined
this
method invocation will be ignored and null
will be returned.
method | the method to profile |
the created and added test
public function addTestByProperty(property:PropertyInfo):Test
Adds a new test case by property
.
If the argument property
is null
or undefined
this
method invocation will be ignored and null
will be returned.
property | the property to profile |
the created and added test