KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > jmeter > junit > stubs > TestSampler


1 // $Header: /home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/junit/stubs/TestSampler.java,v 1.2 2004/02/14 03:34:31 sebb Exp $
2
/*
3  * Copyright 2003-2004 The Apache Software Foundation.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17 */

18
19 /*
20  * Created on Apr 30, 2003
21  *
22  * To change the template for this generated file go to
23  * Window>Preferences>Java>Code Generation>Code and Comments
24  */

25 package org.apache.jmeter.junit.stubs;
26
27 import org.apache.jmeter.samplers.AbstractSampler;
28 import org.apache.jmeter.samplers.Entry;
29 import org.apache.jmeter.samplers.SampleResult;
30
31 /**
32  * @author ano ano
33  *
34  * To change the template for this generated type comment go to
35  * Window>Preferences>Java>Code Generation>Code and Comments
36  */

37 public class TestSampler extends AbstractSampler
38 {
39
40     /* (non-Javadoc)
41      * @see
42 org.apache.jmeter.samplers.Sampler#sample(org.apache.jmeter.samplers.Entry)
43      */

44     public SampleResult sample(Entry e)
45     {
46         // TODO Auto-generated method stub
47
return null;
48     }
49
50     public TestSampler(String JavaDoc name)
51     {
52         setName(name);
53     }
54
55     public TestSampler()
56     {}
57     
58     public String JavaDoc toString()
59     {
60         return getName();
61     }
62
63 }
64
65
Popular Tags