Commit Graph

2469 Commits

Author SHA1 Message Date
DOHA d848933f20 using StdSerializer 2016-07-25 13:54:30 +02:00
Grzegorz Piwowarek e4f8fc5c8a Refactor ITutorialsService 2016-07-24 21:14:08 +03:00
eugenp c551e43444 renaming module 2016-07-24 18:42:08 +03:00
eugenp 32f0e2ed5d minor cleanup work 2016-07-24 18:37:52 +03:00
Eugen fbad155970 Merge pull request #512 from nguyennamthai/cxf-spring
cxf-spring refactoring
2016-07-24 17:31:48 +02:00
eugenp dd99e54f3b renaming a module 2016-07-24 17:28:41 +03:00
eugenp f79715e6b2 minor cleanup 2016-07-24 13:01:24 +03:00
eugenp 5bd5c8ebed Merge branch 'master' of https://github.com/eugenp/tutorials 2016-07-24 12:54:03 +03:00
eugenp 551ee2017c fixes for the build 2016-07-24 12:53:50 +03:00
Alex Theedom 0d1476cac4 Merge pull request #523 from egimaben/master
added xmlunit 2.x tutorial project
2016-07-24 10:20:39 +01:00
Alex Theedom 3750d01606 Merge remote-tracking branch 'origin/master' 2016-07-24 10:19:14 +01:00
Alex Theedom 1fa1b166ca Change test method name to conform to required format 2016-07-24 10:18:56 +01:00
eugenp 6ee0667990 pom fix 2016-07-24 12:15:22 +03:00
Eugen 172af88543 Merge pull request #525 from eugenp/missing-modules
Add missing modules
2016-07-24 10:52:42 +02:00
Grzegorz Piwowarek 94be709386 Change package name 2016-07-24 10:11:46 +03:00
Grzegorz Piwowarek c8110b62cd Merge branch 'master' into missing-modules 2016-07-23 16:39:06 +03:00
Grzegorz Piwowarek 000ff26017 Add missing modules 2016-07-23 16:36:43 +03:00
Grzegorz Piwowarek a6ef10a925 Add missing modules and clean up 2016-07-23 11:36:05 +03:00
egimaben 1e14ac7028 added xmlunit 2.x tutorial project 2016-07-22 22:14:48 +03:00
Álvaro Fernández González deaf809ec7 Adding new article to readme after article going live (#522)
* 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.
2016-07-22 11:16:50 +03:00
Thai Nguyen 864839a841 Changes the name of the SpringBus bean 2016-07-21 09:20:48 +07:00
Alex Theedom 4bc3153fc0 Config changes to log4j and a minor code change 2016-07-20 23:36:12 +01:00
Alex Theedom 532d4ad8b4 Merge pull request #521 from egimaben/master
fixed failing test
2016-07-20 23:20:20 +01:00
egimaben b5ce0e9ba0 fixed failing test 2016-07-21 00:20:44 +03:00
Alex Theedom 363c543e7a Merge pull request #519 from egimaben/master
fixed merge conflicts
2016-07-20 18:23:12 +01:00
maibin 042878628f Expression-Based Access Control (#517)
* Expression-Based Access Control

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

* Added test cases for Spring Security Expressions
2016-07-20 19:17:38 +03:00
Grzegorz Piwowarek 34414b2a43 Refactor JMockit examples 2016-07-20 19:17:08 +03:00
Álvaro Fernández González b9c412689d Fix on the test and compression to match article (#520)
* 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.
2016-07-20 15:31:51 +03:00
egimaben e580d248df fixed merge conflicts 2016-07-20 10:45:38 +03:00
egimaben ff2cffa1f0 merged my master with upstream/eugenp master 2016-07-20 10:29:19 +03:00
Álvaro Fernández González 11241eabc0 Changes to code to add verifications (#518)
* 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.
2016-07-20 10:21:45 +03:00
Grzegorz Piwowarek 2f8dc9d081 Add additional expectations 2016-07-20 07:59:33 +03:00
Raquel Garrido f4348cac35 Test content (#515)
* Test Model Content

* Test get

* test get
2016-07-20 07:39:09 +03:00
tomjoebob 53062a85df Merge pull request #514 from jgarciaheredero/master
BAEL-83: Circular dependencies in Spring
2016-07-19 14:23:48 -06:00
Eugen ce8cc34334 Merge pull request #503 from eugenp/cleanup
Remove eclipse-specific files
2016-07-19 22:19:56 +02:00
egimaben ec8bd5368a fixed unit tests with wiremock 2016-07-19 21:59:52 +03:00
Grzegorz Piwowarek a09e6454f3 Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
Sergey Petunin cb8f58a9e7 Added examples for the @RestClientTest article, fixed mail port (#513) 2016-07-19 16:01:18 +03:00
Juan García Heredero 4e7a47de12 Create CircularDependencyTest 2016-07-19 12:42:27 +02:00
Juan García Heredero 170a45a314 Create TestConfig 2016-07-19 12:42:04 +02:00
Juan García Heredero a42a9bbc88 Create CircularDependencyB 2016-07-19 12:41:15 +02:00
Juan García Heredero 259f3ca7ab Create CircularDependencyA 2016-07-19 12:40:49 +02:00
Thai Nguyen d4a45164f6 Merge branch 'master' into cxf-spring 2016-07-19 14:26:28 +07:00
Thai Nguyen 9c7debefa4 Changes configuration from XML to Java for the cxf-spring module 2016-07-19 14:25:36 +07:00
Alex Theedom 3efa23b6b5 Merge remote-tracking branch 'origin/master' 2016-07-18 22:29:43 +01:00
Alex Theedom e4a586b53d Add wire mock in order to stub endpoints to test suite 2016-07-18 22:29:12 +01:00
Eugen 6b99ced529 Merge pull request #469 from dogeared/master
Add JJWT tutorial code to the tutorials repo
2016-07-18 16:54:58 +02:00
Slavisa Baeldung d577830362 BAEL-17 - reorganizing objectmapper tests 2016-07-18 13:16:52 +02:00
Slavisa Baeldung a727caec3a Merge branch 'master' into pr/498-ask-das-objectmapper 2016-07-18 12:25:49 +02:00
Slavisa Baeldung ffbd7f0d0d Merge remote-tracking branch 'origin/pr/498' into pr/498-ask-das-objectmapper
Conflicts:
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JavaToJsonExample.java
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JsonAdvancedCustomSerializeExample.java
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JsonAdvancedJsonNodeExample.java
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JsonArrayExample.java
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JsonDateExample.java
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JsonMapExample.java
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JsonParserExample.java
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JsonToJavaExample.java
	jackson/src/test/java/com/baeldung/jackson/objectmapper/JsonToJsonNode.java
2016-07-18 12:25:34 +02:00