Update of /cvsroot/xdoclet/xdoclet2/src/test/java/xdoclet/gui/swing
In directory sc8-pr-cvs1:/tmp/cvs-serv17520/src/test/java/xdoclet/gui/swing

Added Files:
        XDocletConfigurationPanelTest.java 
Log Message:
test for the Swing configuration. Blocks the build sequence, so it should be removed 
before we set up a continuous build.

--- NEW FILE: XDocletConfigurationPanelTest.java ---
package xdoclet.gui.swing;

import xdoclet.XDoclet;
import xdoclet.XDocletException;
import xdoclet.BeanContextSupportEx;
import xdoclet.gui.swing.BeanContextConfigurationPanel;

import javax.swing.*;

import junit.framework.TestCase;

/**
 *
 * @author <a href="mailto:aslak.hellesoy at bekk.no">Aslak Helles&oslash;y</a>
 * @version $Revision: 1.1 $
 */
public class XDocletConfigurationPanelTest extends TestCase {

    public void testShow() {
        BeanContextSupportEx xdocletContainer = new BeanContextSupportEx();
        XDoclet xdoclet = new XDoclet();
        xdocletContainer.add( xdoclet );

        try {
            xdoclet.createPlugin("velocity");
            xdoclet.createPlugin("jelly");
        } catch (XDocletException e) {
            e.printStackTrace();  //To change body of catch statement use Options | 
File Templates.
        }
        BeanContextConfigurationPanel p = new 
BeanContextConfigurationPanel(xdocletContainer);

        JOptionPane.showMessageDialog( null, p);
    }
}



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to