Skip to content
Snippets Groups Projects
  1. Aug 19, 2016
  2. Aug 17, 2016
  3. Jun 28, 2016
    • Dapeng's avatar
      simplify content negotiation setup · 077f4eb1
      Dapeng authored
      - remove custom xml view, use springboot builtin xml view
      - remove oxm maven dependency
      - remove json-simple maven dependency (seems not relevant anymore)
      - update vetsXml test using xpath
      077f4eb1
  4. Jun 24, 2016
  5. Jun 23, 2016
  6. Jun 15, 2016
  7. May 13, 2016
  8. Jan 30, 2016
  9. Jan 25, 2016
  10. Nov 20, 2015
  11. Oct 28, 2015
  12. Oct 21, 2015
  13. Oct 20, 2015
  14. Oct 16, 2015
  15. Oct 13, 2015
  16. Jun 24, 2015
  17. Jun 18, 2015
  18. May 12, 2015
  19. May 10, 2015
  20. Apr 01, 2015
  21. Jan 20, 2015
  22. Jan 16, 2015
  23. 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
  24. 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
  25. Dec 16, 2013
  26. Jun 28, 2013
  27. Jun 14, 2013
  28. Jun 12, 2013
  29. 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
  30. May 08, 2013
  31. May 07, 2013
  32. May 03, 2013
  33. Apr 18, 2013
  34. Mar 20, 2013
Loading