AfterClass annoted method execution not being recorded

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

AfterClass annoted method execution not being recorded

tarun3kumar
In the attached file, I can see that cleanup is executed, but in the results, its execution is not being recorded. Couldnt find the reason, why?
Here is the verbose=5 level output

  [testng] [RunInfo] Adding method selector: org.testng.internal.XmlMethodSelector@1551f60 priority: 10
   [testng] [TestClass] Creating TestClass for [ClassImpl com.sun.identity.qatest.idm.IdmTestRootRealm]
   [testng] [TestClass] Adding method com.sun.identity.qatest.idm.IdmTestRootRealm.testUSER() on TestClass class com.sun.identity.qatest.idm.IdmTestRootRealm
   [testng] [XmlMethodSelector] Including method com.sun.identity.qatest.idm.cleanup()
   [testng] [XmlMethodSelector] Including method com.sun.identity.qatest.idm.testUSER()
   [testng] [XmlMethodSelector] Including group : client
   [testng] [XmlMethodSelector] Including method  com.sun.identity.qatest.idm.IdmTestRootRealm.testUSER
   [testng] [[SuiteRunner]] Created 1 TestRunners
   [testng] [TestRunner] Running test idm on 1  classes,  included groups:[client ] excluded groups:[]
   [testng] [TestClass]
   [testng] ======
   [testng] TESTCLASS: com.sun.identity.qatest.idm.IdmTestRootRealm
   [testng] [TestClass] Test        :           com.sun.identity.qatest.idm.IdmTestRootRealm.testUSER()
   [testng] [TestClass] AfterClass  : com.sun.identity.qatest.idm.IdmTestRootRealm.cleanup()
   [testng] [TestClass]
   [testng] ======

   [testng] [TestRunner] WILL BE RUN IN RANDOM ORDER:
   [testng] [TestRunner]   com.sun.identity.qatest.idm.IdmTestRootRealm.testUSER()
   [testng] [TestRunner] WILL BE RUN SEQUENTIALLY:
   [testng] [TestRunner] ====
   [testng] [TestRunner] ===
   [testng] [TestRunner] Found 2 applicable methods
   [testng] [Invoker 21414356] Invoking com.sun.identity.qatest.idm.IdmTestRootRealm.testUSER
   [testng] [Invoker 21414356] Invoking com.sun.identity.qatest.idm.IdmTestRootRealm.cleanup()

   [testng] *********** INVOKED METHODS

   [testng]             com.sun.identity.qatest.idm.IdmTestRootRealm.testUSER() 28523022
   [testng]     com.sun.identity.qatest.idm.IdmTestRootRealm.cleanup() 28523022

   [testng] ***********

   [testng] Creating /qatest_work/docs/reports/client/omacron_sparc_SunOS_02_02_2007/client-idm/idm.html
   [testng] PASSED: testUSER

   [testng] ===============================================
   [testng]     idm
   [testng]     Tests run: 1, Failures: 0, Skips: 0
   [testng] ===============================================


   [testng] ===============================================
   [testng] client-idm
   [testng] Total tests run: 1, Failures: 0, Skips: 0
   [testng] ===============================================
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=62150&messageID=120604#120604

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en
-~----------~----~----~----~------~----~------~--~---


IdmTestRootRealm.java (6K) Download Attachment
client-idm-testng.xml (1K) Download Attachment