You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2017/02/19 15:35:57 UTC

svn commit: r1783647 - /jmeter/trunk/test/src/org/apache/jorphan/gui/TableModelEventBacker.java

Author: fschumacher
Date: Sun Feb 19 15:35:57 2017
New Revision: 1783647

URL: http://svn.apache.org/viewvc?rev=1783647&view=rev
Log:
javadoc add missing tags.

Modified:
    jmeter/trunk/test/src/org/apache/jorphan/gui/TableModelEventBacker.java

Modified: jmeter/trunk/test/src/org/apache/jorphan/gui/TableModelEventBacker.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jorphan/gui/TableModelEventBacker.java?rev=1783647&r1=1783646&r2=1783647&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jorphan/gui/TableModelEventBacker.java (original)
+++ jmeter/trunk/test/src/org/apache/jorphan/gui/TableModelEventBacker.java Sun Feb 19 15:35:57 2017
@@ -44,6 +44,7 @@ public class TableModelEventBacker imple
 
         /**
          * Adds an assertion first args is table model event, second one is event index.
+         * @param assertion assertion to add
          * @return <code>this</code>
          */
         public EventAssertion add(ObjIntConsumer<TableModelEvent> assertion) {
@@ -64,6 +65,7 @@ public class TableModelEventBacker imple
 
         /**
          * Adds {@link TableModelEvent#getSource()} assertion.
+         * @param expected Object to compare against the source of the event
          * @return <code>this</code>
          */
         public EventAssertion source(Object expected) {
@@ -72,6 +74,7 @@ public class TableModelEventBacker imple
 
         /**
          * Adds {@link TableModelEvent#getType()} assertion.
+         * @param expected int value of the type to compare against
          * @return <code>this</code>
          */
         public EventAssertion type(int expected) {
@@ -80,6 +83,7 @@ public class TableModelEventBacker imple
 
         /**
          * Adds {@link TableModelEvent#getColumn()} assertion.
+         * @param expected int value of the column to compare against
          * @return <code>this</code>
          */
         public EventAssertion column(int expected) {
@@ -88,6 +92,7 @@ public class TableModelEventBacker imple
 
         /**
          * Adds {@link TableModelEvent#getFirstRow()} assertion.
+         * @param expected int value of the first row that should have changed
          * @return <code>this</code>
          */
         public EventAssertion firstRow(int expected) {
@@ -96,6 +101,7 @@ public class TableModelEventBacker imple
 
         /**
          * Adds {@link TableModelEvent#getLastRow()} assertion.
+         * @param expected int value of the last row that should have changed
          * @return <code>this</code>
          */
         public EventAssertion lastRow(int expected) {
@@ -128,6 +134,7 @@ public class TableModelEventBacker imple
 
     /**
      * Creates a new event assertion.
+     * @return a newly created {@link EventAssertion}
      * @see #assertEvents(EventAssertion...)
      */
     public EventAssertion assertEvent() {
@@ -136,6 +143,7 @@ public class TableModelEventBacker imple
 
     /**
      * Checks each event assertion against each backed event in order. Event storage is cleared after it.
+     * @param assertions a collection if {@link EventAssertion}s to check
      */
     public void assertEvents(EventAssertion... assertions) {
         try {