Permalink
Browse files

Merge branch 'master' of github.com:cbeust/testng

  • Loading branch information...
2 parents 83cf45e + 4fa1744 commit 60bda4aaf820ce90a404de2ecf383d5531973a8c @cbeust committed Jul 22, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/main/java/org/testng/util/RetryAnalyzerCount.java
@@ -25,6 +25,14 @@ protected void setCount(int count) {
}
/**
+ * Return the current counter value
+ * @return
+ */
+ protected int getCount(){
+ return this.count.get();
+ }
+
+ /**
* Retries the test if count is not 0.
* @param result The result of the test.
*/

0 comments on commit 60bda4a

Please sign in to comment.