Package org.jboss.test.annotation.factory.support

Examples of org.jboss.test.annotation.factory.support.NameImpl


      assertFalse(defaultName+" != "+n1, defaultName.equals(n1));
      // The AnnotationCreator annotation should not equal the defaultName
      assertFalse(n0+" != "+defaultName, n0.equals(defaultName));
      assertFalse(defaultName+" != "+n0, defaultName.equals(n0));

      Name n2 = new NameImpl("type", "subtype");
      getLog().debug("n2: " + n2);
      assertEquals(n0, n2);
      assertEquals(n2, n0);
      assertEquals(n1, n2);
      assertEquals(n2, n1);

      Name n3 = new NameImpl();
      assertFalse(n0  + "!=" +  n3, n0.equals(n3));
      assertFalse(n3  + "!=" +  n0, n3.equals(n0));
      assertFalse(n1  + "!=" +  n3, n1.equals(n3));
      assertFalse(n3  + "!=" +  n1, n3.equals(n1));           
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.annotation.factory.support.NameImpl

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.