Skip to content
Snippets Groups Projects
  1. Oct 01, 2016
  2. Sep 25, 2016
  3. Aug 23, 2016
  4. Aug 19, 2016
  5. Aug 17, 2016
  6. Jun 28, 2016
  7. Jun 24, 2016
  8. Jun 23, 2016
  9. Jun 15, 2016
  10. May 13, 2016
  11. Jan 30, 2016
  12. Jan 25, 2016
  13. Nov 20, 2015
  14. Oct 28, 2015
  15. Oct 21, 2015
  16. Oct 20, 2015
  17. Oct 16, 2015
  18. Oct 13, 2015
  19. Jun 24, 2015
  20. Jun 18, 2015
  21. May 12, 2015
  22. May 10, 2015
  23. Apr 01, 2015
  24. Jan 20, 2015
  25. Jan 16, 2015
  26. 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
  27. 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
  28. Dec 16, 2013
  29. Jun 28, 2013
  30. Jun 14, 2013
  31. Jun 12, 2013
  32. Jun 08, 2013
Loading