Package org.springframework.test.context.support

Examples of org.springframework.test.context.support.AnnotationConfigContextLoader


  @Test
  public void hashCodeWithEmptyArraysAndDifferentLoaders() {
    MergedContextConfiguration mergedConfig1 = new MergedContextConfiguration(getClass(), EMPTY_STRING_ARRAY,
      EMPTY_CLASS_ARRAY, EMPTY_STRING_ARRAY, loader);
    MergedContextConfiguration mergedConfig2 = new MergedContextConfiguration(getClass(), EMPTY_STRING_ARRAY,
      EMPTY_CLASS_ARRAY, EMPTY_STRING_ARRAY, new AnnotationConfigContextLoader());
    assertNotEquals(mergedConfig1.hashCode(), mergedConfig2.hashCode());
  }
View Full Code Here


  @Test
  public void equalsWithEmptyArraysAndDifferentLoaders() {
    MergedContextConfiguration mergedConfig1 = new MergedContextConfiguration(getClass(), EMPTY_STRING_ARRAY,
      EMPTY_CLASS_ARRAY, EMPTY_STRING_ARRAY, loader);
    MergedContextConfiguration mergedConfig2 = new MergedContextConfiguration(getClass(), EMPTY_STRING_ARRAY,
      EMPTY_CLASS_ARRAY, EMPTY_STRING_ARRAY, new AnnotationConfigContextLoader());
    assertNotEquals(mergedConfig1, mergedConfig2);
    assertNotEquals(mergedConfig2, mergedConfig1);
  }
View Full Code Here

TOP

Related Classes of org.springframework.test.context.support.AnnotationConfigContextLoader

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.