Commit Graph

2616 Commits

Author SHA1 Message Date
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
Álvaro Fernández González c738c9ed77 Code for deepening on expectations (#511)
* 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.
2016-07-18 09:39:15 +03:00
Grzegorz Piwowarek e883cf63a1 Refactor mvc-velocity examples 2016-07-17 22:21:16 +03:00
Raquel Garrido 1f5f1c6a48 Test added for mvc - velocity (#510)
* dom4j

* added more parsers

* StaxParser

* Jaxb binding

* Jaxb binding

* Finish article

* apply some changes

* Organize imports

* remove dependency

* Tutorial spring-mvc with velocity templates

* velocity with spring mvc

* tests
2016-07-17 21:41:41 +03:00
Alex Theedom 15abd8ef52 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	apache-cxf/pom.xml
2016-07-17 12:10:21 +01:00
Alex Theedom a03168a187 Merge pull request #509 from egimaben/master
added maven project for rest assured tutorial
2016-07-17 11:53:50 +01:00
egimaben 86a37c79c8 added maven project for rest assured tutorial 2016-07-17 13:15:36 +03:00
Ashanka Das eaa32bdb41 Refs #BAEL-17 : Test objectMapper. 2016-07-17 01:52:45 +02:00
Ashanka Das f14f2af421 Refs #BAEL-17 code for objectmapper. Added JUnit Test cases. 2016-07-17 01:19:44 +02:00
Alex Theedom ca7181c6df Merge pull request #506 from eugenp/grzegorz-list
Add list assertions example
2016-07-16 11:57:52 +01:00
Grzegorz Piwowarek 57ca431415 Add list assertions example 2016-07-16 10:51:50 +03:00
tomjoebob 5d411fb2cf Merge pull request #505 from chernykhalexander/master
Added Spring Boot Startets module
2016-07-15 16:48:25 -06:00