1
2
3
4 package org.bejug.javacareers.project.properties;
5
6 import junit.framework.TestCase;
7
8 import org.springframework.context.support.ClassPathXmlApplicationContext;
9
10 /***
11 * @author Stephan Janssen (Last modified by $Author: schauwvliege $)
12 * @version $Revision: 1.6 $ - $Date: 2005/09/13 08:11:06 $
13 */
14 public class JavaCareersConfigTests extends TestCase {
15
16 private JavaCareersConfig config;
17
18 /***
19 *
20 */
21 public void setUp() {
22 ClassPathXmlApplicationContext ctx;
23 ctx = new ClassPathXmlApplicationContext("/org/bejug/javacareers/applicationContext.xml");
24 config = (JavaCareersConfig) ctx.getBean("config");
25 }
26
27
28 /***
29 *
30 */
31 public void testConfig() {
32 assertNotNull(config.getBuildDate());
33 assertNotNull(config.getVersion());
34 assertNotNull(config.getUploadPath());
35 assertNotNull(config.getUrl());
36 }
37 }
38
39 /***
40 * $Log: JavaCareersConfigTests.java,v $
41 * Revision 1.6 2005/09/13 08:11:06 schauwvliege
42 * organize imports
43 *
44 * Revision 1.5 2005/08/05 13:41:59 ge0ffrey
45 * fix for spring bean rename of javaCareersConfig to config
46 *
47 * Revision 1.4 2005/07/20 11:05:25 ge0ffrey
48 * JAVACAREERS-137
49 *
50 * Revision 1.3 2005/06/29 09:00:27 psong09
51 * comment component updated
52 *
53 * Revision 1.2 2005/06/09 08:19:05 bejug_cc
54 * Fix initial import
55 *
56 * Revision 1.2 2005/05/29 08:59:05 sja
57 * changed method to getBuildDate()
58 *
59 * Revision 1.1 2005/05/28 11:30:01 sja
60 * Initial import.
61 *
62 *
63 */