Commit Graph

3005 Commits

Author SHA1 Message Date
slavisa-baeldung b7385424a9 Merge remote-tracking branch 'origin/master' 2016-09-28 23:45:27 +02:00
Egima profile f3b8bb0f14 Moved regex from own module to core-java (#707)
* 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
2016-09-28 23:43:59 +02:00
slavisa-baeldung 4a0233f49a BAEL-314 - removing part 1 module 2016-09-28 23:40:29 +02:00
Grzegorz Piwowarek e1ffd14c0d Refactor JavaFolderSizeTest 2016-09-28 19:46:18 +02:00
Sergey Petunin ea85fa99ee Added samples for annotation processing article. (#705)
* Added annotation processing examples. Fixed core-java8 build on OS X

* Moved projects to separate submodule
2016-09-28 16:24:03 +02:00
Grzegorz Piwowarek d1bd04d2dc Add example 2016-09-28 16:22:44 +02:00
Naoshadul Islam 4db012d57b Update README.md 2016-09-28 09:51:08 +06:00
Zeger Hendrikse e77012b160 Merge pull request #692 from sanketmeghani/master
Get current date, time and timestamp
2016-09-27 20:47:12 +02:00
sanketmeghani 719d4e5aa1 Converting date/time retrieval methods to JUnits 2016-09-27 22:13:11 +05:30
Catalin e1d32226f3 Updated broken link 2016-09-27 12:24:47 +03:00
Nancy Bosecker 7aaae1d143 Moved project to core-java from eclipse folder (#703) 2016-09-27 07:40:46 +02:00
Marek Lewandowski 302ac3a5d4 Merge pull request #694 from anton-k11/master
BAEL-27 Java 9 New Features
2016-09-26 19:34:51 +02:00
anton-k11 9965605976 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	core-java-9/pom.xml
#	core-java-9/src/test/java/com/baeldung/java9/MultiResultionImageTest.java
2016-09-26 20:15:34 +03:00
Grzegorz Piwowarek b576a4da40 Fixed pom.xml 2016-09-26 14:50:24 +02:00
Álvaro Fernández González 52911fede4 Remove module and try-catch (#701)
* 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.
2016-09-26 14:01:52 +02:00
maibin eae09bb13a Fixed both Thymeleaf and Interceptors articles (#699)
* 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
2016-09-25 22:45:22 +02:00
eugenp 1e6083a13c minor cleanup work 2016-09-25 15:19:09 +03:00
eugenp a351667adc minor cleanup work 2016-09-25 15:18:08 +03:00
slavisa-baeldung db3a847240 BAEL-305 - jetty version upgrade 2016-09-25 12:36:45 +02:00
slavisa-baeldung f24282cb27 Merge pull request #657 from christian-raedel/craedel-enterprise-patterns/front-controller
BAEL-305: enterprise patterns/front controller
2016-09-25 13:33:13 +03:00
slavisa-baeldung 11292acceb BAEL-657 - FrontController image resize 2016-09-25 12:24:56 +02:00
Christian Rädel 3b948c9b8b Merge remote-tracking branch 'upstream/master' into craedel-enterprise-patterns/front-controller 2016-09-25 11:13:33 +02:00
Christian Rädel 51c438b469 BAEL-305: Use release versions as dependencies. 2016-09-25 11:07:55 +02:00
maibin 5b29f1bc81 New pull for Thymeleaf (#697)
* 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();
2016-09-24 22:34:15 +02:00
slavisa-baeldung 94355ee7b8 BAEL-39 - renaming class 2016-09-24 13:14:13 +02:00
slavisa-baeldung 5a10df3396 BAEL-39 - adding SLF4J examples 2016-09-24 12:01:23 +02:00
slavisa-baeldung 7bfa860df9 BAEL-39 - adding SLF4J examples 2016-09-24 11:54:45 +02:00
Grzegorz Piwowarek 03ebc02556 Refactor Stream<Optional<?>> example 2016-09-24 11:33:47 +02:00
DOHA 3adfc4faaa minor fix 2016-09-23 21:40:28 +02:00
DOHA 53cb576731 exclude live test 2016-09-23 19:59:55 +02:00
maibin b0a1959cf4 Spring Security + Thymeleaf (CSRF) (#695)
* 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
2016-09-23 14:37:53 +02:00
Á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
anton-k11 be6939bd97 Removing comments, reformatting. 2016-09-22 00:04:53 +03:00
anton-k11 f1cfc706df Adding Optional 2 Stream and Set.of examples. 2016-09-20 18:26:06 +03: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
sanketmeghani 1b4714c214 Add sample code to get current timestamp in Java 8 2016-09-18 17:06:34 +05:30
sanketmeghani ba4fb5bf42 Add sample code to get current time in Java 8 2016-09-18 17:06:12 +05:30
sanketmeghani ef54cd43cb Add sample code to get current date in Java 8 2016-09-18 17:05:52 +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