Skip to content
Snippets Groups Projects
  1. Oct 20, 2015
  2. Oct 16, 2015
  3. Oct 13, 2015
  4. Jun 24, 2015
  5. Jun 18, 2015
  6. May 12, 2015
  7. May 10, 2015
  8. Apr 01, 2015
  9. Jan 20, 2015
  10. Jan 16, 2015
  11. Dec 05, 2014
    • michaelisvy's avatar
      workaround because there seems to be a conflict · 7080682d
      michaelisvy authored
      There seems to be a conflict between the following:
      
      1) New MVC namespace syntax:
      <mvc:content-negotiation use-not-acceptable="true">
      	    	<mvc:default-views>
      	      		<bean class="org.springframework.web.servlet.view.JstlView">
      	      			<property name="url" value="" />
      	      		</bean>
      	    	</mvc:default-views>
      	  	</mvc:content-negotiation>
      
      2) Inside my Unit test:
      ResultActions actions =
      this.mockMvc.perform(get("/vets.xml").accept(MediaType.TEXT_XML));
              actions.andDo(print()); // action is logged into the console
      
              actions.andExpect(status().isOk());
      7080682d
  12. Feb 24, 2014
    • Antoine Rey's avatar
      Fixes #37 with other default locale than english · 076a124e
      Antoine Rey authored
      Test in error with french default Locale:
      org.junit.ComparisonFailure: expected:<[ne peut pas être vide]> but was:<[may not be empty]>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.springframework.samples.petclinic.model.ValidatorTests.emptyFirstName(ValidatorTests.java:39)
      076a124e
  13. Dec 16, 2013
  14. Jun 28, 2013
  15. Jun 14, 2013
  16. Jun 12, 2013
  17. Jun 08, 2013
    • Mic's avatar
      #18 fixing error related to VisitsViewTests · 7b8a9ec8
      Mic authored
      - test didn't have the suffix "Tests" so it was not taken into account
      when running Maven in the comand line
      7b8a9ec8
    • Mic's avatar
      #18 fixing 2 errors related to ValidatorTests · 4f8063e9
      Mic authored
      - test didn't have the suffix "Tests" so it was not taken into account
      when running Maven in the comand line
      - the POM was not configured so it can find Spring config files placed
      inside src/test/java
      4f8063e9
  18. May 08, 2013
  19. May 07, 2013
  20. May 03, 2013
  21. Apr 18, 2013
  22. Mar 20, 2013
  23. Mar 11, 2013
  24. Mar 04, 2013
  25. Feb 26, 2013
  26. Feb 21, 2013
  27. Feb 19, 2013
  28. Feb 16, 2013
  29. Feb 15, 2013
    • Mic's avatar
      Spring MVC Test Framework and migration to Spring 3.2.1 · 057015c1
      Mic authored
      - migrated to Spring 3.2.1
      - added hamcrest to the POM so it can be used with the Spring MVC Test
      Framework
      - Started migrating a JUnit test to Spring MVC Test Framework (at this
      stage, it stills doesn't work. It could be because of a conflict with
      ContentNegotiatingViewResolver)
      057015c1
Loading