Package kr.pe.okjsp.util

Source Code of kr.pe.okjsp.util.SiteSearchTest

/*
* Created on 2003. 4. 28.
*
*/
package kr.pe.okjsp.util;

import java.util.Collection;

import junit.framework.TestCase;
import kr.pe.okjsp.BbsInfoBean;
import kr.pe.okjsp.SiteSearch;

/**
* @author kenu
*
*/
public class SiteSearchTest extends TestCase {

  public void testSearchContentWith() {
    String keyword="hello";
    SiteSearch ss = new SiteSearch();
    try {
      Collection<BbsInfoBean> result = ss.searchContentWith(keyword);
      assertNotNull(result);
      assertTrue(result.size()>0);
    } catch (Exception e) {
      System.out.println(e);
    }
  }

}
TOP

Related Classes of kr.pe.okjsp.util.SiteSearchTest

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.