holy s**tgit status I lost my most recent changes in origin/master -> trying to put...
[Bookkeeping.git] / src / TestSampleServlet.java
blob9337e83ed9b47bb744b50f0a8cfd1bdf3d4b6db6
2 import junit.framework.Test;
3 import junit.framework.TestSuite;
5 //import org.apache.cactus.ServletTestCase;
6 //import org.apache.cactus.WebRequest;
8 public class TestSampleServlet //extends ServletTestCase
10 public TestSampleServlet(String theName)
12 //super(theName);
15 public static Test suite()
17 return new TestSuite(TestSampleServlet.class);
20 /*public void beginSaveToSessionOK(WebRequest webRequest)
22 webRequest.addParameter("testparam", "it works!");
25 public void testSaveToSessionOK()
27 SampleServlet servlet = new SampleServlet();
28 servlet.saveToSession(request);
29 assertEquals("it works!", session.getAttribute("testAttribute"));
30 }*/