All Downloads are FREE. Search and download functionalities are using the official Maven repository.

atg.servlet.TestingDynamoHttpServletResponse Maven / Gradle / Ivy

Go to download

ATG DUST is a framework for building JUnit tests for applications built on the ATG Dynamo platform. This framework allows one to quickly write test code that depends up Nucleus or ATG Repositories. By using this framework one can drastically cut down on development time. It takes only a few seconds to start up a test with a repository, but it may take multiple minutes to start up an application server. To get started with DUST, take a look at http://atgdust.sourceforge.net/first-test.html. This page will walk you through the process of running a basic test which starts Nucleus. After that, read the other getting started guides to describe how to create standalone Junit tests which can startup repositories and use the DynamoHttpServletResponse classes. For only ATG10 and tested.

The newest version!
package atg.servlet;

import java.io.IOException;
import java.io.PrintWriter;
import java.util.Dictionary;
import java.util.Enumeration;
import java.util.Locale;

import javax.servlet.ServletOutputStream;
import javax.servlet.ServletResponseWrapper;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletResponse;

/**
 * A wrapper around DynamoHttpServletResponse to allow for adding test
 * specific methods
 */
public class TestingDynamoHttpServletResponse extends atg.servlet.ServletTestUtils.TestingDynamoHttpServletResponse {
     public TestingDynamoHttpServletResponse
      (DynamoHttpServletResponse pResponse) 
    {
      super(pResponse);
    } 
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy