Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- component extends="mxunit.framework.TestCase"
- output="false"
- {
- // Do once, before any test
- public void function beforeTests() {
- writedump(var="-> beforeTests() called #now()#",format="text",output="console");
- }
- // Do once, after all tests
- public void function afterTests() {
- writedump(var="-> afterTests() called #now()#",format="text",output="console");
- }
- // Do before each test function
- public void function setUp() {
- writedump(var="-> setup() called #now()#",format="text",output="console");
- }
- // Do after each test function
- public void function tearDown() {
- writedump(var="-> tearDown() called #now()#",format="text",output="console");
- }
- // ================ TESTS ================
- public void function alphaTest(){
- writeDump(var="-> This is alphaTest #now()#",output="console",format="text");
- assertTrue(true);
- }
- public void function betaTest(){
- writeDump(var="-> This is betaTest #now()#",output="console",format="text");
- assertTrue(true);
- }
- public void function zetaTest(){
- writeDump(var="-> This is zetaTest #now()#",output="console",format="text");
- assertTrue(true);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement