Package org.jboss.test.metadata.shared.support

Examples of org.jboss.test.metadata.shared.support.ExpectedMetaData


   public void testRemoveDoesNotExistByName() throws Exception
   {
      MutableMetaDataLoader metaData = setupEmpty();
      long last = metaData.getValidTime().getValidTime();
      ExpectedMetaData expected = emptyExpectedMetaData();

      assertNotRemovedMetaData(metaData, "Test", TestMetaData.class, last);
      assertAllMetaData(metaData, expected);
   }
View Full Code Here


  
   public void testRemoveTwiceByName() throws Exception
   {
      MutableMetaDataLoader metaData = setupEmpty();
      long last = metaData.getValidTime().getValidTime();
      ExpectedMetaData expected = emptyExpectedMetaData();

      last = assertAddMetaDataNoPrevious(metaData, new TestMetaDataImpl(), "Test", TestMetaData.class, expected, last);
      assertRemoveMetaData(metaData, "Test", TestMetaData.class, expected, last);
      assertNotRemovedMetaData(metaData, "Test", TestMetaData.class, last);
      assertAllMetaData(metaData, expected);
View Full Code Here

TOP

Related Classes of org.jboss.test.metadata.shared.support.ExpectedMetaData

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.