jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1544800 - in /jmeter/trunk/test/src/org/apache/jmeter: gui/util/TristateCheckBoxTest.java protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java
Date Sat, 23 Nov 2013 13:58:40 GMT
Author: sebb
Date: Sat Nov 23 13:58:40 2013
New Revision: 1544800

URL: http://svn.apache.org/r1544800
Log:
Add default cases

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/gui/util/TristateCheckBoxTest.java
    jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java

Modified: jmeter/trunk/test/src/org/apache/jmeter/gui/util/TristateCheckBoxTest.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/gui/util/TristateCheckBoxTest.java?rev=1544800&r1=1544799&r2=1544800&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/gui/util/TristateCheckBoxTest.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/gui/util/TristateCheckBoxTest.java Sat Nov 23
13:58:40 2013
@@ -92,6 +92,8 @@ public class TristateCheckBoxTest {
                     System.out.println("Not Selected"); break;
                 case INDETERMINATE:
                     System.out.println("Tristate Selected"); break;
+                default:
+                	System.err.println("Unexpected state: " + tristateBox.getState()); break;
                 }
             }
         });
@@ -106,6 +108,8 @@ public class TristateCheckBoxTest {
                     System.out.println("Not Selected"); break;
                 case INDETERMINATE:
                     System.out.println("Tristate Selected"); break;
+                default:
+                	System.err.println("Unexpected state: " + tristateBox.getState()); break;
                 }
             }
         });

Modified: jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java?rev=1544800&r1=1544799&r2=1544800&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java
(original)
+++ jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java
Sat Nov 23 13:58:40 2013
@@ -1441,6 +1441,8 @@ public class TestHTTPSamplersAgainstHttp
                 return new HTTPSampler2();
             case HTTP_SAMPLER3:
                 return new HTTPSampler3();
+            default:
+                break;
         }
         throw new IllegalArgumentException("Unexpected type: "+samplerType);
     }



Mime
View raw message