jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1854660 - /jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestSerializedHTTPSampler.java
Date Sat, 02 Mar 2019 18:23:39 GMT
Author: fschumacher
Date: Sat Mar  2 18:23:39 2019
New Revision: 1854660

URL: http://svn.apache.org/viewvc?rev=1854660&view=rev
Log:
Add License header to new test class

Relates to #400 on github
Bugzilla Id: 62785


Modified:
    jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestSerializedHTTPSampler.java

Modified: jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestSerializedHTTPSampler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestSerializedHTTPSampler.java?rev=1854660&r1=1854659&r2=1854660&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestSerializedHTTPSampler.java
(original)
+++ jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestSerializedHTTPSampler.java
Sat Mar  2 18:23:39 2019
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * 
+ */
+
 package org.apache.jmeter.protocol.http.sampler;
 
 import static org.hamcrest.CoreMatchers.containsString;
@@ -27,7 +45,7 @@ public class TestSerializedHTTPSampler e
             sampler.setMethod("POST");
             sampler.setPath("https://httpbin.org/post");
             sampler.setHTTPFiles(new HTTPFileArg[]{new HTTPFileArg("resourcefile.txt", "",
"")});
-        
+
             SampleResult sample = sampler.sample();
             assertThat(sample.getResponseDataAsString(), not(containsString("java.io.FileNotFoundException:")));
         } finally {



Mime
View raw message