Commit Graph

199 Commits

Author SHA1 Message Date
Grzegorz Piwowarek 24ee4fb35c Refactor UDPTest 2016-10-26 07:09:21 +02:00
Grzegorz Piwowarek 93b4917672 Move UDPTest 2016-10-25 17:12:12 +02:00
Grzegorz Piwowarek c9f858ca32 Move UDPTest 2016-10-25 17:11:25 +02:00
Egima profile 89b50437be Java low level networking project (#770)
* 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

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made
2016-10-25 16:42:03 +02:00
eugenp 62ca74121f tuning tests 2016-10-25 11:18:24 +03:00
eugenp 5e676c855e testing work 2016-10-25 11:15:13 +03:00
eugenp 2ab201d639 cleanup work 2016-10-25 11:09:51 +03:00
Grzegorz Piwowarek 8190a9994b Reformat README.md 2016-10-23 22:56:53 +02:00
Grzegorz Piwowarek 0902c3d9e0 Collapse core-java-8 into core-java 2016-10-23 22:36:53 +02:00
Grzegorz Piwowarek d97ba21fb3 Move StringToInt examples 2016-10-23 21:24:20 +02:00
Grzegorz Piwowarek ce0cb0c375 Move Random List Element examples 2016-10-23 21:22:07 +02:00
Grzegorz Piwowarek d9c3a9d9cd Move CharToString examples 2016-10-23 21:20:01 +02:00
Grzegorz Piwowarek 6dc9bcf331 Move FunctionalInterfaces examples 2016-10-23 19:55:41 +02:00
Grzegorz Piwowarek 93256245ff Move CompletableFuture examples 2016-10-23 19:53:01 +02:00
Grzegorz Piwowarek 62c6abfb4a Move Java8 Collectors example 2016-10-23 19:49:03 +02:00
Grzegorz Piwowarek 65daa3aee2 Refactor examples 2016-10-23 11:57:11 +02:00
Grzegorz Piwowarek 8031458265 Refactor Socket tests 2016-10-23 11:53:43 +02:00
Grzegorz Piwowarek 4670b8dbda Sockets moved to core-java 2016-10-23 11:25:09 +02:00
Grzegorz Piwowarek 366914a25e Fix Screenshot Test 2016-10-22 20:23:01 +02:00
Jim Kerak a65bad7c1f Merge pull request #762 from khatwaniNikhil/BAEL-418-Changes
Fixed Failing EchoTest
2016-10-21 19:16:27 -04:00
Grzegorz Piwowarek 89754421a2 Refactor Screenshot examples 2 2016-10-20 23:14:05 +02:00
Grzegorz Piwowarek fd1a5796a9 Refactor Screenshot examples 2016-10-20 23:10:14 +02:00
Sameera 511d96614d PrintScreen code samples moved to core-java module 2016-10-20 23:10:17 +05:30
Nikhil Khatwani 4d54080b3e Fixed Failing EchoTest 2016-10-20 16:00:31 +05:30
maibin 04482ef902 Executable Jar Maven (#752)
* 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

* listOfStudents edited

* Thymeleaf layout decorators

* Executable Jar with Maven
2016-10-17 11:10:12 +03:00
Naoshadul Islam 298c5e3091 Created README.md and added relevant articles (#742)
* Updated readme.md

* Updated readme.md

* Updated readme.md

* Updated readme.md

* Updated readme.md

* Updated readme.md

* Updated readme.md

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Updated readme.md

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Updated readme.md

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Updated readme.md

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Updated readme.md

* Updated readme.md

* Created README.md and added relevant articles

* Created README.md and added relevant articles
2016-10-16 13:25:05 +03:00
Naoshadul Islam 87fd44bc38 Updated README.md 2016-10-16 13:10:20 +03:00
Naoshadul Islam f22c306049 Updated README.md 2016-10-16 13:05:59 +03:00
Grzegorz Piwowarek 51729209ed Remove unnecessary field initialization 2016-10-12 08:41:04 +02:00
eugenp 2aa2f43c6e maven cleanup 2016-10-12 07:44:40 +03:00
Egima profile ea37b3e51a Added NIO Selector project under core-java (#738)
* 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

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module
2016-10-11 09:33:14 +02:00
maverick 6df151a3f9 Removes Sorting changes for this PR 2016-10-10 08:32:51 +05:30
maverick 9f3c791d99 Added files missed in earlier PR 2016-10-10 08:30:54 +05:30
maverick b8161aca1a Java sorting. Adding required files. This is commit for starting from
new fork due to conflicts in PR.
2016-10-10 08:14:51 +05:30
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
Á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
Álvaro Fernández González c5fd46e5f2 Code for FileNotFoundException article. (#710)
* 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.
2016-10-01 10:47:34 +02:00
Eugen 50990c622f Merge pull request #674 from joshiparthin/parth-md5
Parth md5
2016-09-29 14:20:32 +03:00
maverick 758c5f7319 Removed files not useful in this branch for MD5 article. 2016-09-29 15:06:45 +05:30
maverick e0d9cd41a2 Changes in pom.xml as suggested to remove formating changes in pom.xml
commit.
2016-09-29 14:57:30 +05:30
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
Nancy Bosecker 7aaae1d143 Moved project to core-java from eclipse folder (#703) 2016-09-27 07:40:46 +02:00
Grzegorz Piwowarek 19798c4bd6 Refactor ArrayListTest 2016-09-22 18:16:37 +02:00
Grzegorz Piwowarek d9a7757602 Reformat code 2016-09-12 22:02:51 +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
maverick 739502694f md5 changes 2016-09-07 09:30:34 +05:30
Egima profile 15dd97b485 removed redundant makeSound sound method of abstract class Animal (#668)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class
2016-09-05 12:12:30 +02:00