The version of Apache log4j used by SoundHelix.

[[ 🗃 ^aEp6o apache-log4j ]] :: [📥 Inbox] [📤 Outbox] [🐤 Followers] [🤝 Collaborators] [🛠 Commits]

Clone

HTTPS: git clone https://vervis.peers.community/repos/aEp6o

SSH: git clone USERNAME@vervis.peers.community:aEp6o

Branches

Tags

1.3alpha-7 :: tests / integration / test / java /

TestSampleServlet.java

import junit.framework.Test;
import junit.framework.TestSuite;

import org.apache.cactus.ServletTestCase;
import org.apache.cactus.WebRequest;

public class TestSampleServlet extends ServletTestCase {
  public TestSampleServlet(String theName) {
    super(theName);
  }

  public static Test suite() {
    return new TestSuite(TestSampleServlet.class);
  }

  //public void beginSaveToSessionOK(WebRequest webRequest) {
    //webRequest.addParameter("testparam", "it works!");
  //}

  //public void testSaveToSessionOK() {
    //SampleServlet servlet = new SampleServlet();
    //servlet.saveToSession(request);
    //assertEquals("it works!", session.getAttribute("testAttribute"));
  //}

  public void testGetLogger1() throws Exception {
    SampleServlet servlet = new SampleServlet();
    servlet.getLogger1();
  }

  public void testwebappShippedAppender() throws Exception {
    SampleServlet servlet = new SampleServlet();
    servlet.webappShippedAppender();
  }

  public void testExerciseSMPTPAppender() throws Exception {
    SampleServlet servlet = new SampleServlet();
    servlet.exerciseSMPTPAppender();

  }

}

[See repo JSON]