Package net.fp.rp.search.ui.web

Source Code of net.fp.rp.search.ui.web.PersonalSearchAppController

/*
* Copyright (C) 2004 Paul Browne, http://www.firstpartners.net
*
* released under terms of the GPL license
* http://www.opensource.org/licenses/gpl-license.php
*
*
* This product includes software developed by the
* Apache Software Foundation (http://www.apache.org)."
*
* This product includes software developed by the
* Spring Framework Project (http://www.springframework.org)."
*
*/
package net.fp.rp.search.ui.web;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import junit.framework.TestCase;

import net.fp.rp.search.ui.web.RpServlet;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;
import org.springframework.web.servlet.ModelAndView;


public class PersonalSearchAppController extends TestCase {
    private ApplicationContext ac;

    /**
     * DOCUMENT ME!
     *
     * @throws IOException DOCUMENT ME!
     */
    public void setUp() throws IOException {
        ac = new FileSystemXmlApplicationContext(
                "/net/fp/rp/search/ui/web/personalengine-servlet.xml");
    }

    /**
     * DOCUMENT ME!
     *
     * @throws ServletException DOCUMENT ME!
     * @throws Exception DOCUMENT ME!
     */
    public void testHandleRequest() throws ServletException, Exception {
        RpServlet rpController = (RpServlet) ac.getBean("RpServlet");
        ModelAndView mav = rpController.handleRequest((HttpServletRequest) null,
                (HttpServletResponse) null);

      
    }
}
TOP

Related Classes of net.fp.rp.search.ui.web.PersonalSearchAppController

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.