diff -r 7685cec9fd3c -r f2ddfa555b0f doc/api/python/ats3.aste.AsteTestDropGenerator-class.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/api/python/ats3.aste.AsteTestDropGenerator-class.html Fri Sep 11 11:54:49 2009 +0100 @@ -0,0 +1,469 @@ + + + + + ats3.aste.AsteTestDropGenerator + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package ats3 :: + Module aste :: + Class AsteTestDropGenerator + + + + + + +
[hide private]
[frames] | no frames]
+
+ +

Class AsteTestDropGenerator

source code

+
+object --+
+         |
+        AsteTestDropGenerator
+
+ +
+

Generate test drop zip file for ATS3.

+

Generates drop zip files file from a TestPlan instance. The main +responsibility of this class is to serialize the plan into a valid XML +file and build a zip file for the drop.

+

Creates one <set> for ASTE tests.

+
+

ASTE harness, normal operation

+ +


+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Instance Methods[hide private]
+
+   + + + + + + +
__init__(self)
+ x.__init__(...) initializes x; see x.__class__.__doc__ for signature
+ source code + +
+ +
+   + + + + + + +
generate(self, + test_plan, + output_file)
+ Generate a test drop file.
+ source code + +
+ +
+   + + + + + + +
generate_drop(self, + test_plan, + xml, + output_file)
+ Generate test drop zip file.
+ source code + +
+ +
+   + + + + + + +
generate_xml(self, + test_plan)
+ Generate test drop XML.
+ source code + +
+ +
+   + + + + + + +
generate_target(self, + test_plan, + root)
+ Append target(s) into the XML
+ source code + +
+ +
+   + + + + + + +
generate_plan(self, + test_plan)
+ Generate the test <plan> with multiple <set>s.
+ source code + +
+ +
+   + + + + + + +
generate_steps(self, + setd, + case, + test_plan)
+ Generate the test plan <step>s.
+ source code + +
+ +
+   + + + + + + +
generate_execute_asset_steps(self, + case, + test_plan)
+ Executes steps for TestAsset
+ source code + +
+ +
+   + + + + + + +
generate_post_actions(self, + test_plan)
+ Generate post actions.
+ source code + +
+ +
+   + + + + + + +
generate_testasset_zip(self, + test_plan, + output_file=None)
+ Generate TestAsset.zip for the ASTE server
+ source code + +
+ +
+   + + + + + + +
drop_files(self, + test_plan)
+ Yield a list of drop files.
+ source code + +
+ +
+   + + + + + + +
generate_files(self, + test_plan)
+ Generate the <files> section.
+ source code + +
+ +
+

Inherited from object: + __delattr__, + __getattribute__, + __hash__, + __new__, + __reduce__, + __reduce_ex__, + __repr__, + __setattr__, + __str__ +

+
+ + + + + + + + + +
+ + + + + +
Class Variables[hide private]
+
+   + + ASTE_LOG_DIR = r"c:\logs\testframework" +
+ + + + + + + + + +
+ + + + + +
Properties[hide private]
+
+

Inherited from object: + __class__ +

+
+ + + + + + +
+ + + + + +
Method Details[hide private]
+
+ +
+ +
+ + +
+

__init__(self) +
(Constructor) +

+
source code  +
+ + x.__init__(...) initializes x; see x.__class__.__doc__ for signature +
+
Overrides: + object.__init__ +
(inherited documentation)
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +