1   /***
2    Copyright (C) 2005 The Java Community
3   
4    This program is free software; you can redistribute it and/or modify  it under
5    the terms of the GNU General Public License as published by  the Free Software
6    Foundation; either version 2 of the License, or  (at your option) any later
7    version.
8   
9    This program is distributed in the hope that it will be useful,  but WITHOUT
10   ANY WARRANTY; without even the implied warranty of  MERCHANTABILITY or FITNESS
11   FOR A PARTICULAR PURPOSE. See the  GNU General Public License for more details.
12  
13   You should have received a copy of the GNU General Public License  along with
14   this program; if not, write to the Free Software  Foundation, Inc., 59 Temple
15   Place, Suite 330, Boston, MA 02111-1307 USA.
16  
17   */
18  package org.bejug.javacareers.feeder;
19  
20  import org.bejug.javacareers.feeder.common.AbstractSpringContextTests;
21  
22  /***
23   * @author Stephan (last modified by $Author: psong09 $)
24   * @version $Revision: 1.5 $ - $Date: 2005/08/30 13:07:48 $
25   */
26  public class AggregatorConfigTests extends AbstractSpringContextTests {
27  
28      /***
29       * 
30       */
31      protected FeederDaemonConfig config;
32      
33      /***
34       * Logger
35       */
36      //  private static final Log LOGGER = LogFactory.getLog(AggregatorConfigTests.class);
37  
38      /***
39       * @return Config object
40       */
41      public FeederDaemonConfig getAggregatorConfig() {
42          return config;
43      }
44  
45      /***
46       * @param config The config object
47       */
48      public void setAggregatorConfig(FeederDaemonConfig config) {
49          this.config = config;
50      }
51  
52      /***
53       * 
54       *
55       */
56      public void testConfigurer() {
57          assertNotNull(config);
58          assertNotNull(config.getProxyPort());
59          assertNotNull(config.getProxyHost());
60  
61          assertTrue(config.getScanCycle() > 0);
62      }
63  }
64  
65  /***
66   * $Log: AggregatorConfigTests.java,v $
67   * Revision 1.5  2005/08/30 13:07:48  psong09
68   * renamed author: psong09
69   *
70   * Revision 1.4  2005/06/29 09:00:25  psong09
71   * comment component updated
72   *
73   * Revision 1.3  2005/06/14 12:05:53  schauwvliege
74   * CheckStyle and fixing tests
75   *
76   * Revision 1.2  2005/06/09 08:19:03  bejug_cc
77   * Fix initial import
78   *
79   * Revision 1.2  2005/05/24 11:52:39  bbr
80   * Using spring sheduling
81   *
82   * Revision 1.1  2005/05/23 17:38:13  sja
83   * Package move to org.bejug.javacareers.feeder
84   *
85   * Revision 1.1  2005/05/23 15:42:00  bbr
86   * added weight to lucene
87   *
88   * Revision 1.3  2005/05/11 14:25:23  bavo_jcs
89   * - renamed main files
90   *
91   * Revision 1.2  2005/05/03 13:46:08  bavo_jcs
92   * Added mockups
93   *
94   * Revision 1.1.1.1  2005/04/26 14:13:51  stephan_janssen
95   * Initial import
96   *
97   * Revision 1.1.1.1  2005/04/26 12:58:34  sja
98   * Initial Release
99   *
100  * Revision 1.1.1.1  2005/04/26 12:51:29  sja
101  * Initial Release
102  *
103  */