Commit Graph

2949 Commits

Author SHA1 Message Date
Álvaro Fernández González 043a6bddc8 Code for Optional stream filtering document (#696)
* Add new module for mocks comparison.

* Add sources for testing.

* Changes on testCase.

* Enter some tests for mockito.

* More tests for Mockito.

* Even more tests.

* Add the rest of the mocking libraries.

* Javadoc on test.

* Test bare bones for EasyMock.

* Fist kind of test and setup.

* Add tests using EasyMock with a change on LoginService.

* Create LoginControllerTest.java

* Test setup

* [JMockit] No method called test.

* [JMockit] Two methods called test.

* [JMockit] One method called test.

* [JMockit] Exception mock test

* [JMockit] Mocked object to pass around test.

* [JMockit] Custom matcher test.

* [JMockit] Partial mocking test.

* [JMockit] Fix with IDE.

* Not stubs. Mocks. MOCKS!!!

* Remove unnecesary import.

* Use correct encoding. Was having problems with buildings.

* Remove failing module.

* Create new module mocks and move mock-comparisons there.

* Add jmockit module.

* Add model class.

* Add collaborator class.

* Add performer class.

* Add performer test.

* Fix

* Add interface for tests.

* Test for any.

* Test for with.

* Test for null.

* Test for times.

* Test for arg that.

* Test for result and returns.

* Test for delegate.

* Add verifications to any tests.

* Add verifications to with test.

* Add verification examples to methods using null.

* Add verifications to methods using times.

* Formatting.

* Compress tests and fix one test.

* Adding new article to readme.

* [BAEL-178] Add collaborator for advanced article.

* [BAEL-178] Add link to readme.

* [BAEL-178] Add test for mockUp.

* [BAEL-178] Add test for invoke method.

* [BAEL-178] Add constructors and tests for mockup for constructors.

* [BAEL-178] Add private fields and more test for deencapsulation.

* [BAEL-178] Add inner class and test for instantiating inner classes.

* [BAEL-178] Multimocks.

* [BAEL-178] Add test for expectation reusing.

* [BAEL-178] Move test class to tests folders.

* Add postgresql dependency.

* Add test and config with properties.

* [BAEL-114] Add new project for JPA with JNDI.

* [BAEL-114] Config without xml.

* [BAEL-114] Bring part of Foo, FooServie and FooDao.

* [BAEL-114] Show all foos.

* [BAEL-114] Readme.

* [BAEL-114] Undo changes on main jpa project.

* [BAEL-114] Remove unnecesary dependencies.

* [BAEL-114] Add tomcat config.

* [BAEL-114] Fixes.

* Add tests for Optional streams.

* Add Java 9 version of the test.

* Rename and move to new core-java-9 module.
2016-09-23 14:25:09 +02:00
DOHA eaa04c6c7f add live profile 2016-09-23 12:26:48 +02:00
Zeger Hendrikse 8fce6c4440 Merge pull request #653 from Sandeep4odesk/master
BAEL 298 | Intro to Selenium with JUnit / TestNg
2016-09-22 21:29:05 +02:00
Grzegorz Piwowarek 6243fa31e1 Move Elasticsearch module into Spring-Data-Elasticsearch 2016-09-22 19:42:47 +02:00
Grzegorz Piwowarek 19798c4bd6 Refactor ArrayListTest 2016-09-22 18:16:37 +02:00
Slavisa Baeldung bc8fd9a260 BAEL-53 - moved to java8 foreach 2016-09-20 16:00:07 +02:00
Sandeep Kumar fe59ea2923 Merge branch 'master' of github.com:Sandeep4odesk/tutorials 2016-09-19 21:32:46 +05:30
Sandeep Kumar 2310cf8717 BAEL 298 | Intro to Selenium with JUnit / TestNg 2016-09-19 21:26:15 +05:30
slavisa-baeldung 4101ebd609 BAEL-226 - adding to main build 2016-09-17 13:10:29 +02:00
slavisa-baeldung 468a6233c0 Merge branch 'master' into pr/656-diego-wicket
Conflicts:
	pom.xml
2016-09-17 13:09:12 +02:00
slavisa-baeldung cf53bc6585 BAEL-226 - Source code for wicket 2016-09-17 13:07:39 +02:00
Zeger Hendrikse 2850f94933 Merge pull request #681 from sanketmeghani/master
Add a second migration to demonstrate Flyway
2016-09-16 18:34:42 +02:00
Slavisa Baeldung 7a0deaceb4 BAEL-53 - minor formatting changes 2016-09-16 15:47:46 +02:00
Slavisa Baeldung 5f159cab6c Merge remote-tracking branch 'origin/pr/654' 2016-09-16 15:43:03 +02:00
Slavisa Baeldung 8bce802ed5 Merge remote-tracking branch 'origin/pr/669'
Conflicts:
	spring-cloud/pom.xml
	spring-cloud/spring-cloud-integration/part-1/config/pom.xml
2016-09-16 15:15:46 +02:00
GuenHamza 6ecf4f6e78 Add new QueryBuilder cases, factorize node client initialisation 2016-09-16 00:25:27 +01:00
gatmeister 443f43e488 added serialUID to fix warning 2016-09-16 00:02:45 +08:00
gatmeister dc164ce86d Merge remote-tracking branch 'eugenp/master' 2016-09-15 23:58:49 +08:00
slavisa-baeldung 035ea531b6 NOJIRA - temporarily excluding spring-cloud-integration from the build 2016-09-15 14:20:31 +02:00
Tim Schimandle 0b1ad872fc BAEL-314 adding changes to the POM structure so that each project can run in isolation 2016-09-15 13:11:57 +02:00
Tim Schimandle 38e5047e28 BAEL-314 modifying the config application properties so that it points to a generic file location. 2016-09-15 13:11:33 +02:00
Tim Schimandle 4d2b5f0aa2 BAEL-314 moving the project into a sub module to better organizae the article projects. 2016-09-15 13:11:18 +02:00
Tim Schimandle 1df12fbb97 BAEL-312 Adding the resource files that will need to be in a separate git repository. 2016-09-15 13:10:53 +02:00
Tim Schimandle ac421c8bac BAEL-312 Committing the 4 projects for the first article. 2016-09-15 13:10:28 +02:00
Tim Schimandle 41a12d4bca BAEL-312 Adding the config clients' properties files so that they are accessible in git. This is currently on my git account and will need to be switched to eugen's after the pull request has completed. 2016-09-15 13:09:44 +02:00
slavisa-baeldung 97e8ba7de6 NOJIRA - removing cloud-config, hystrix and eureka project. They're now the child projects of spring-cloud 2016-09-15 13:02:54 +02:00
slavisa-baeldung ef3b18a717 BAEL-11: Minor refactorings 2016-09-15 12:23:14 +02:00
slavisa-baeldung 499d51e610 BAEL-11: Minor refactorings 2016-09-15 11:40:46 +02:00
Christian Raedel 38eb1a5f45 BAEL-11: Renamed project to feign-client. 2016-09-15 11:19:23 +02:00
Christian Raedel 674c783886 BAEL-11: Added skip-tests configuration to pom.xml. 2016-09-15 11:18:58 +02:00
Christian Raedel 5978c00dc9 BAEL-11: Implemented working Feign client. 2016-09-15 11:18:32 +02:00
Ante Pocedulic 38b419d8e9 Spring Data Rest Validators introduction (#650)
* - created packages for each logical part of application
- created validator for WebsiteUser rest API
- created ValidatorEventRegister class which fixes known bug for not
detecting generated events
- created custom Exception Handler which creates better response
messages

* Code formatting

* formated pom.xml
replaced for loops with streams
fixed bug while getting all beans

* removed unnecessary code
changed repository type

* - added test for Spring Data REST APIs
- changed bad request return code
- formated code
2016-09-15 07:55:11 +02:00
Grzegorz Piwowarek fa059546e5 Update pom.xml 2016-09-14 18:24:08 +02:00
Jim Kerak 232d1cbf68 Merge pull request #685 from jkerak/master
Remove empty application.properties files
2016-09-14 10:14:26 -04:00
James Kerak 803abd6b59 Remove empty application.properties files 2016-09-14 10:12:11 -04:00
Jim Kerak 6dd5531403 Merge pull request #683 from ivanp81/master
Fix to batch processing example
2016-09-14 10:06:57 -04:00
Ivan Paolillo 1c02296a0f Removed some unneeded file 2016-09-14 15:43:01 +02:00
Ivan Paolillo 141b943dc8 Fix to batch processing example 2016-09-14 11:14:50 +02:00
Egima profile 0835118e85 added play-framework project (#678)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article
2016-09-13 17:52:27 +02:00
Jim Kerak 334e1b3f83 Merge pull request #680 from ivanp81/master
Add batch processing example
2016-09-13 08:02:40 -04:00
DOHA a2c86d0a8d add xml config 2016-09-13 12:08:58 +02:00
Grzegorz Piwowarek d9a7757602 Reformat code 2016-09-12 22:02:51 +02:00
sanketmeghani 3d66a5f28a Adding second migration for department table 2016-09-12 22:53:09 +05:30
sanketmeghani 73fde40da0 Adding version number for maven compiler plugin 2016-09-12 22:52:53 +05:30
DOHA 0c12104b83 add live test 2016-09-12 14:28:53 +02:00
DOHA f2c52d6cfc fix spring-rest configuration 2016-09-12 12:55:54 +02:00
Francesco Papagno e6d11e531c Created project "spring-mvc-web-vs-initializer" for the web.xml vs Initializer article. (#663)
* Created spring-mvc-web-vs-initializer project

* Code style check
2016-09-11 15:26:18 +02:00
zinch84 314c211fa2 Array list demo (#679)
* Create ArrayList demo

* Update code samples according to the article

* Use toCollection(ArrayList::new) instead of toList()
2016-09-10 15:50:35 +02:00
zinch84 7ba9a1288b Array list demo (#677)
* Create ArrayList demo

* Update code samples according to the article
2016-09-08 10:04:55 +02:00
Nancy Bosecker 15d45cffd6 updated code/tests based on feedback (#676) 2016-09-08 06:39:27 +02:00