1 package org.apache.maven.jxr;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 import junit.framework.TestCase;
21
22 /** A test class for JxrBean. */
23 public class JxrBeanTest
24 extends TestCase
25 {
26
27 /** A JxrBean. */
28 private JxrBean jxrBean;
29
30 /** Setup.
31 * @throws Exception Exception
32 */
33 protected void setUp()
34 throws Exception
35 {
36 super.setUp();
37 jxrBean = new JxrBean();
38 jxrBean.setSourceDir( System.getProperty( "basedir" ) + "/src/test" );
39 jxrBean.setDestDir( System.getProperty( "basedir" ) + "/target" );
40 jxrBean.setInputEncoding( "ISO-8859-1" );
41 jxrBean.setOutputEncoding( "ISO-8859-1" );
42 jxrBean.setTemplateDir( "templates" );
43 jxrBean.setJavadocDir( "" );
44 jxrBean.setWindowTitle( "title" );
45 jxrBean.setDocTitle( "title" );
46 jxrBean.setBottom( "copyright" );
47 }
48
49 /** testXref.
50 * @throws Exception Exception
51 */
52 public void testXref()
53 throws Exception
54 {
55 jxrBean.xref();
56 }
57
58 }