commit | 5f8941a053222c26990214bdbef3bc79a10a4085 | [log] [tgz] |
---|---|---|
author | Krishnan Mahadevan <Krishnan.mahadevan1978@gmail.com> | Sat Jun 14 13:43:16 2014 +0530 |
committer | Krishnan Mahadevan <Krishnan.mahadevan1978@gmail.com> | Sat Jun 14 13:57:16 2014 +0530 |
tree | 7646183167effd167aa4fa715a74049d74ce5374 | |
parent | 9a5016fee94894b50f57297cb5d8f96ed25c49b8 [diff] |
AfterClass does not get executed when MethodInterceptor is involved. The logic to invoke AfterClass was ignoring the output of MethodInterceptor (especially the ones that alter the size of the total test methods to be executed). This led to AfterClass methods not getting executed at all. Fixed this problem by ensuring that the classMethodMap object is updated to refer to the output of a method interceptor in a TestRunner.