01: package org.hanseltest;
02:
03: import junit.framework.TestCase;
04: import junit.framework.Test;
05:
06: import org.hansel.CoverageDecorator;
07: import jbuilder.ClassLiteral;
08:
09: public class TestJBuilder extends TestCase {
10:
11: public static Test suite() {
12: return new CoverageDecorator(TestJBuilder.class,
13: new Class[] { ClassLiteral.class });
14: }
15:
16: public void testX() {
17: ClassLiteral cl = new ClassLiteral();
18: assertEquals(Integer.class, cl.getX());
19: }
20:
21: }
|