Commit graph

43 commits

Author SHA1 Message Date
Mic
c13f141251 introducing a "default" profile so default configuration is simpler 2013-06-28 12:00:29 +08:00
Mic
a2a12c4d52 #18 Simplified Validator test so it doesn't have to use Spring config anymore 2013-06-14 09:39:46 +08:00
Mic
754e27c001 removing unneeded attribute name 2013-06-12 11:34:05 +08:00
Mic
7b8a9ec8bc #18 fixing error related to VisitsViewTests
- test didn't have the suffix "Tests" so it was not taken into account
when running Maven in the comand line
2013-06-08 21:17:35 +08:00
Mic
4f8063e9b8 #18 fixing 2 errors related to ValidatorTests
- 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
2013-06-08 21:15:34 +08:00
Mic
5bf31dbe5a fixed JPA issue when updating existing owners/pets 2013-05-09 01:09:21 +08:00
Mic
80159fa3d7 fixed bug in JPA implementation: "save" methods were implemented using "merge" instead of "persist" 2013-05-07 10:54:35 +08:00
Mic
c88e3d462a added a JUnit test for Bean Validation 2013-05-03 10:36:54 +08:00
Mic
6086dec5c3 updated copyright information 2013-03-20 15:33:29 +08:00
Mic
e0ba8bfa74 organized imports 2013-03-11 09:22:58 +08:00
Mic
dd0eb5a55e improved/updated Javadoc in JUnit tests 2013-03-04 12:15:20 +08:00
Mic
faca0eb1c2 moved to tests to service level package 2013-02-26 17:38:06 +08:00
Mic
d7f5cd17a5 renaming dao-config.xml -> business-config.xml 2013-02-26 17:25:31 +08:00
Mic
be403a3017 migrate all JUnit Integration tests from the repo layer to the service layer (step 1) 2013-02-26 17:20:55 +08:00
Mic
70c046a927 Fixed test using Spring MVC Test framework 2013-02-21 14:27:13 +08:00
Gordon Dickens
14f882221f file formatting and missing @Override on Java classes 2013-02-19 10:56:21 -05:00
Mic
cec8110236 moved Spring config files and changed AtomView example so it is based on Vets instead of Visits 2013-02-19 16:36:23 +08:00
Mic
d92d53110b test doesn't run for now, disabling it until bug is solved 2013-02-16 03:27:43 +01:00
Mic
057015c14c Spring MVC Test Framework and migration to Spring 3.2.1
- 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)
2013-02-15 15:31:04 +08:00
Mic
ddbe4b5c14 renamed test packages so they are aligned with main packages 2013-02-15 09:58:19 +08:00
Mic
b2626bd509 reviewed Javadoc for abstract test classes 2013-02-15 09:53:47 +08:00
Mic
c5ca72e80b made sure @Transactional is not set on the Repository layer 2013-02-13 09:37:42 +08:00
Mic
23314c5428 moved all model classes to a dedicated 'model' package 2013-02-13 08:06:37 +08:00
Mic
cd88b8caae Javadoc and xml documentation improvements 2013-02-12 09:12:51 +08:00
Mic
5699bf83ee cleaned up AOP usage 2013-02-08 12:46:00 +08:00
Mic
f44e383462 fixed lazy loading issues
also renamed some local variables in Unit tests
2013-01-30 11:20:22 +08:00
Mic
3482d549ea renamed profiles and removed unnecessary@DirtiesContext annotation so the Test suite now runs in 40% less time 2013-01-29 17:47:45 +08:00
Mic
d88b565d28 migrated all dates to joda time 2013-01-19 02:53:27 +08:00
Mic
97aba3f4e6 added a Spring Data implementation
- there are now 3 data access implementations (jdbc, jpa and
spring-data-jpa)
- added corresponding bean profiles
- JUnit tests are now successful
2013-01-18 16:56:01 +08:00
Mic
c9c8c4e085 moved the ClinicRepository into some separate repos
There is still some polish up to be done.
2013-01-17 15:27:27 +08:00
Mic
0fe479390b improvements to Owner Controller
- migrated to bean validation annotations
- merged to one single controller
2013-01-16 10:30:20 +08:00
Mic
5432a1932c started adding support for Spring Data 2013-01-15 17:31:01 +08:00
Mic
0c2665f1b4 added bean profiles for jdbc/jpa 2013-01-14 23:36:06 +08:00
Mic
b459ca3377 added aspectj decaration. All JUnit tests are now successful 2013-01-14 23:23:07 +08:00
Mic
608c42f74b migrated from SimpleJdbcTemplate to JdbcTemplate 2013-01-14 22:13:04 +08:00
Mic
4e35adb6b0 migrated to hsql 2.2.8 and fixed a couple of JPA issues 2013-01-14 16:55:09 +08:00
Mic
9f8acc05ad migration to JPA annotations
- added JPA annotations to POJO classes
- merged JPA Repos with Hibernate repos so we only use JPA
- renamed .txt files to .sql
- moved Spring configuration files so it is easier to use them inside
JUnit tests
2013-01-14 16:12:05 +08:00
Mic
87ccf9fea1 first step of migration to Spring 3.2 (still in process) 2013-01-09 17:24:48 +08:00
Chris Beams
7cbfaf1726 Fix Petclinic case-sensitivity problems against MySQL (SPR-7512)
With thanks to Rob Winch for patch submission.
2013-01-09 17:13:28 +08:00
Costin Leau
905d9824b0 + improved war structure 2013-01-09 17:13:24 +08:00
Keith Donald
31733db715 fixed test suite failing 2013-01-09 17:13:23 +08:00
Keith Donald
1b48694fd9 removed test suite class 2013-01-09 17:13:23 +08:00
Costin Leau
521d01db95 SPR-6447
SPR-6448
+ commit the gross of the files
+ added maven pom
2013-01-09 17:13:17 +08:00