Commit Graph

3274 Commits

Author SHA1 Message Date
sanketmeghani 4f64784e84 Mocking current time for JUnits 2016-10-09 11:17:22 +05:30
Thai Nguyen b66c42d0f6 Apache CXF support for RESTful web services 2016-10-09 10:45:25 +07:00
Loredana Crusoveanu 78f8591937 remove unused imports 2016-10-08 11:14:09 +03:00
Loredana Crusoveanu b3b7ac888c update test, remove user repository implementation 2016-10-08 11:11:20 +03:00
nguyenminhtuanfit@gmail.com 877706d2e1 added hazelcast client, removed id generator 2016-10-07 23:04:36 +07:00
Ivan Paolillo 8692cad328 Code improvement 2016-10-07 17:47:58 +02:00
Ivan Paolillo a8b3f44a2f Code improvement 2016-10-07 17:31:28 +02:00
Ivan Paolillo fe577c073d Merge pull request #1 from eugenp/master
Update from original
2016-10-07 16:47:24 +02:00
Slavisa Baeldung 61ea026ea9 BAEL-225 - moving to lambda, additional improvements 2016-10-07 16:41:49 +02:00
Grzegorz Piwowarek e1abedf15e Refactor RandomListElementTest 2016-10-07 12:03:53 +02:00
Grzegorz Piwowarek 6eaf0f7373 Merge remote-tracking branch 'origin/master' 2016-10-07 10:39:27 +02:00
Grzegorz Piwowarek 64d5a03863 Refactor spring-jms code samples 2016-10-07 10:39:07 +02:00
Catalin 5caca8bd71 Created Readme.MD 2016-10-06 12:06:50 +03:00
Catalin 33d958284c Created README.MD 2016-10-06 11:58:32 +03:00
maibin 454f0e50c5 Expression Utility Objects article (#724)
* Expression-Based Access Control

PermitAll, hasRole, hasAnyRole etc.
I modified classes regards to Security

* Added test cases for Spring Security Expressions

* Handler Interceptor - logging example

* Test for logger interceptor

* Removed conflicted part

* UserInterceptor (adding user information to model)

* Spring Handler Interceptor - session timers

* Spring Security CSRF attack protection with Thymeleaf

* Fix and();

* Logger update

* Changed config for Thymeleaf

* Thymeleaf Natural Processing and Inlining

* Expression Utility Objects, Thymeleaf
2016-10-06 10:51:23 +02:00
Catalin 3eca6e588e Created README.MD 2016-10-06 11:41:53 +03:00
Catalin 98a6c937e3 Created README.MD 2016-10-06 11:35:09 +03:00
Catalin 8a481af385 Created README.MD 2016-10-06 11:28:24 +03:00
Catalin 2a3dc93f63 Created Readme.MD 2016-10-06 11:11:00 +03:00
Catalin 86637c2e64 Created README.MD 2016-10-06 10:59:29 +03:00
Zeger Hendrikse c93bc1b8b7 Merge branch 'Sandeep4odesk-master' 2016-10-05 22:20:59 +02:00
Zeger Hendrikse ea6353917d Fixed compilation errors 2016-10-05 22:15:30 +02:00
Zeger Hendrikse 62e2a13c76 Merge branch 'master' of https://github.com/Sandeep4odesk/tutorials into Sandeep4odesk-master 2016-10-05 22:10:50 +02:00
Loredana Crusoveanu 03dbd93be2 custom user repository and test 2016-10-05 22:35:11 +03:00
Marek Lewandowski 1296f2e40f Merge pull request #722 from kirangonella/master
BAEL-319 A guide to Spring-JMS
2016-10-05 09:47:18 +02:00
Grzegorz Piwowarek 8ec4c8c265 Refactor 2016-10-05 07:50:21 +02:00
slavisa-baeldung 05c6859412 BAEL-297 - passed list as a constructor creation. Array.aslist returns a fixed lenght list and throws exception on remove 2016-10-05 07:34:29 +02:00
slavisa-baeldung ea39b9cacf BAEL-255 - minor changes 2016-10-05 07:24:26 +02:00
slavisa-baeldung 7b587286a4 BAEL-255 - adding test file 2016-10-05 07:23:26 +02:00
slavisa-baeldung ece6eab719 BAEL-255 - minor changes 2016-10-05 07:16:32 +02:00
Sunil Gulabani db25745f05 BAEL-255 - adding additional read file methods 2016-10-05 07:15:22 +02:00
slavisa-baeldung 28a0a5c80e BAEL-39 - removing the commented deps 2016-10-05 07:08:12 +02:00
Kiran 2010fd9a87 Updated indentation 2016-10-05 00:14:59 -04:00
Kiran ee9f0336b5 Updated indentation 2016-10-05 00:14:21 -04:00
Kiran d0c9040cb9 spring-jms new project 2016-10-05 00:12:42 -04:00
Grzegorz Piwowarek 1dd86be0ca Add module 2016-10-04 19:16:35 +02:00
Jim Kerak 3dae7f5352 Merge pull request #721 from ivanp81/master
BAEL-342: OKHttp Example
2016-10-04 12:53:06 -04:00
pared 3613428993 random element from list guide (#690)
* random element from list guide

* refactor

* with removing

* refactor + thread optimized index generation

* refactor

* final review refactor
2016-10-04 18:35:37 +02:00
Grzegorz Piwowarek 2ef8bc2a68 Remove souts 2016-10-04 18:12:08 +02:00
Grzegorz Piwowarek f12e6ee2d0 Refactor FileNotFoundException examples 2016-10-04 18:11:37 +02:00
Grzegorz Piwowarek 0dc8119722 Refactor Play example 2016-10-04 17:54:59 +02:00
Grzegorz Piwowarek 1ecb726d7e Refactor StudentStore 2016-10-04 17:29:49 +02:00
Grzegorz Piwowarek 4a19a6ba88 Simplify StudentStore 2016-10-04 17:24:46 +02:00
Grzegorz Piwowarek 8a3c918b94 Merge branch 'master' of git://github.com/jgarciaheredero/tutorials into jgarciaheredero-master
# Conflicts:
#	spring-mvc-java/pom.xml
2016-10-04 17:02:21 +02:00
Juan García Heredero 08c31ec84b Update pom.xml 2016-10-04 15:16:50 +02:00
Juan García Heredero 87314b566e Removed new line at end of file 2016-10-04 15:11:31 +02:00
Juan García Heredero 3be90ef764 Update pom.xml 2016-10-04 15:10:18 +02:00
Ivan Paolillo f63ebcf854 Improvement to file uploading 2016-10-04 10:49:07 +02:00
Álvaro Fernández González ee3db42880 Add more examples (#712)
* 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.

* Move contents from spring-jpa-jndi to spring-jpa and make necessary changes.

* Do not use try-catch on configuration.

* Add example for FileNotFoundException mini-article.

* Add more examples.

* Change examples to tests.
2016-10-04 07:53:52 +02:00
Egima profile 455c71ae71 3 major changes (#716)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project
2016-10-03 21:06:01 +02:00