Commit graph

613 commits

Author SHA1 Message Date
mnhn329
b5f412d569
Merge 7a44f46c84 into ce262966e9 2018-02-25 20:58:40 +00:00
Maxim Nguyen
7a44f46c84 Added tests for Vet class 2018-02-25 15:55:38 -05:00
jadmalek
a9f9a826d7
Merge pull request #7 from jadmalek/amanDev
Added tests for Person, BaseEntity, and NamedEntity
2018-02-25 14:31:35 -05:00
Aman Bhandal
aa595b12ba [TEST] Added missing assertEqual for getFirstName 2018-02-25 14:26:58 -05:00
Aman Bhandal
d2637471be [TEST] Added tests for Person, BaseEntity, and NamedEntity 2018-02-25 13:44:32 -05:00
jadmalek
122f60bc28
Merge pull request #4 from artemmikhalitsin/mockito-tests
Implemented Pet Controller tests with Mockito
2018-02-25 10:00:00 -05:00
jadmalek
cd2c0c2233
Merge pull request #5 from jadmalek/amandaDev
Visit Tests Implementation and Additions
2018-02-25 09:50:16 -05:00
jadmalek
e1a35884b3
Merge pull request #3 from jadmalek/jadDev
Adding tests for the methods in the Pet.java and PetValidator.java classes
2018-02-25 09:44:21 -05:00
SunXP
f00cd1233a
Merge pull request #2 from jadmalek/rogerDev
Adding more tests to the Owner class methods
2018-02-25 02:32:35 -05:00
Amanda
506639c5d8 Addition to VisitController tests 2018-02-24 23:40:52 -05:00
Amanda
8f516f8e3d Added comments for clarity 2018-02-24 23:39:23 -05:00
artemmikhalitsin
09a25b2cd0 Implemented Pet Controller tests with Mockito 2018-02-24 23:35:38 -05:00
Jad Malek
2b1ea2a3d6 [FIX] As per the requested changes, removed the private method for establishing the current date and made it part of the test setup. Also, made the testSetAndGetOwner more comprehensive by checking that each of the attributes particular to the owner were set and retrieved appropriately. 2018-02-24 23:06:43 -05:00
SunXP
5fd342fcee
Merge branch 'master' into rogerDev 2018-02-24 22:37:09 -05:00
SunXP
8b0ddd27a8 Changed instance to ownerInstance, separated getPet tests, added assert for size in getPets 2018-02-24 22:33:52 -05:00
Amanda W
8f6292f157
Merge pull request #1 from jadmalek/sophiaDev
Sophia dev
Tests for Owner.java
2018-02-24 19:40:34 -05:00
sophiaquach16
d20b9c7002 Requested changes of OwnerTest.java 2018-02-24 19:30:38 -05:00
Amanda
23b1d2bb58 Added test for Visit.java and VisitRepository.java 2018-02-24 17:47:17 -05:00
Amanda
cd8cee435e Updated pom.xml to match current springclinic master so that application can run 2018-02-24 17:46:13 -05:00
Jad Malek
b6d3dd1c11 [FIX] Further adjusted the assertEquals in PetTests to better compare the two parameters (as pointed out by @amawai) 2018-02-24 17:11:11 -05:00
Jad Malek
36d98e5949 [FIX] Adjusted some of the code formatting and an assertEquals in the PetTests. Also, attempted to mock out the storage dependency purely for testing; however, since isolating the core application's spring-based use of db was more difficult than expected; the code was removed. 2018-02-24 16:58:23 -05:00
SunXP
6cb72af443 Pulled name change correction from sophiaDev 2018-02-24 16:08:36 -05:00
sophiaquach16
7c36089f6f Changed test name in OwnerTest.java 2018-02-24 11:52:42 -05:00
SunXP
88bc05311a adding more unit tests to for the Owner class 2018-02-24 04:51:04 -05:00
Jad Malek
6fbaa583cb [TEST] Added tests for the PetValidator.java class. These tests will ensure that the proper validation of name, type and birthDate by testing valid and invalid parameter inputs. 2018-02-23 14:26:59 -05:00
Jad Malek
38121c4645 [TEST] Added tests for all the methods in the Pet.java (they were all mainly getters and setters). Will attempt to add more tests for this class or others. 2018-02-23 12:52:10 -05:00
sophiaquach16
06e40afe67 Added some missing tests for methods in Owner.java class 2018-02-22 22:53:01 -05:00
Stephane Nicoll
ce262966e9 Merge pull request #303 from arey:feature/date
* pr/303:
  Add placeholder YYYY-MM-DD for date input field
2018-02-22 11:03:26 +01:00
Antoine Rey
d92a4218dd Add placeholder YYYY-MM-DD for date input field
Closes gh-303
2018-02-22 11:03:05 +01:00
Stephane Nicoll
fadf7f4d11 Merge pull request #278 from arey:feature/rest
* pr/278:
  Add spring-petclinic-rest URL
2018-02-22 10:57:34 +01:00
Antoine Rey
0d847edfdb Add spring-petclinic-rest URL
Closes gh-278
2018-02-22 10:57:18 +01:00
Stephane Nicoll
106226929b Fix actuator exposure 2018-02-22 10:57:12 +01:00
Stephane Nicoll
dfcd30be60 Fix project's version 2018-02-22 10:46:09 +01:00
Stephane Nicoll
34545e72a4 Merge pull request #301 from saturnism:patch-1
* pr/301:
  Fix datasource initialization property
2018-02-22 10:36:13 +01:00
Ray Tsang
c5abf45cbc Fix datasource initialization property
Closes gh-301
2018-02-22 10:35:34 +01:00
Dave Syer
a52cbe93a2 Add ignores for vscode 2018-02-21 09:51:59 +00:00
Stephane Nicoll
cdd802eeee Update webjars-locator dependency 2018-02-21 10:48:01 +01:00
Dave Syer
6730a229a0 Add repository declarations for snapshots 2018-01-20 09:38:36 +00:00
Dave Syer
c91b73e75e Update version of Petclinic 2018-01-11 09:16:04 +00:00
Dave Syer
cf35266336 Tidy up compiler warnings 2018-01-11 09:15:18 +00:00
Dave Syer
14ef611d70 Update to Spring Boot 2.0 snapshots 2018-01-09 17:50:14 +00:00
Dave Syer
c36452a2c3 Use leading / in app URL
Fixes gh-267
2017-11-03 14:17:56 +00:00
sunflower2014
e20b43b009 Update PetControllerTests.java
correct testProcessCreationFormHasErrors method's post url
2017-11-03 11:38:44 +00:00
Oscar Utbult
23f65ba7d0 Fix broken tests 2017-11-03 11:33:06 +00:00
Oscar Utbult
45da5a4d3b Fix date formatting 2017-11-03 11:33:06 +00:00
thetric
5b0f037d06 fix: make id 'lastName' in findOwners.html unique
previously the div.control-group and the containing input shared the same id
2017-11-03 11:32:19 +00:00
dastier
3e65dee237 fix button text in createOrUpdatePetForm.html in case of new pet (issue #252) 2017-11-03 11:31:53 +00:00
Antoine Rey
4ab6a800c8 Removing .springBeans 2017-11-03 11:28:32 +00:00
Antoine Rey
4be8ba2c43 Replace @RequestMapping by their corresponding shortcut @GetMapping and @PostMapping 2017-11-03 11:28:12 +00:00
Antoine Rey
4b3d6abfed Reference new forks: spring-petclinic-kotlin, spring-petclinic-graphql and spring-petclinic-rest 2017-11-03 11:26:41 +00:00