Package test.reverspring.beans

Examples of test.reverspring.beans.BeanWithClassAttribute


import test.reverspring.beans.BeanWithListWithConstructor;
import junit.framework.TestCase;

public class TestConstructor extends TestCase {
  public void testConstructor() {
    BeanWithConstructor bean = new BeanWithConstructor("pluto", new BeanWithClassAttribute());
    System.out.println();
    System.out.println(DescriptorGenerator.generateDescriptor(bean, "myBean"));
    System.out.println();
  }
View Full Code Here


    System.out.println(DescriptorGenerator.generateDescriptor(bean, "myBean"));
    System.out.println();
  }
 
  public void testConstructor2() {
    BeanWithConstructor bean = new BeanWithConstructor(null, new BeanWithClassAttribute());
    System.out.println();
    System.out.println(DescriptorGenerator.generateDescriptor(bean, "myBean"));
    System.out.println();
  }
View Full Code Here

import test.reverspring.beans.BeanWithClassAttribute;

public class TestClassAttribute extends TestCase {
  public void testClassAttribute() {
    BeanWithClassAttribute bean = new BeanWithClassAttribute();
    bean.setClazz(TestClassAttribute.class);

    System.out.println();
    System.out.println(DescriptorGenerator.generateDescriptor(bean, "myBean"));
    System.out.println();
  }
View Full Code Here

TOP

Related Classes of test.reverspring.beans.BeanWithClassAttribute

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.