Go to file
Álvaro Fernández González 944525a524 Code for Advanced JMockit article (#557)
* 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.
2016-07-31 22:05:45 +02:00
.metadata handling static resources 2014-10-16 20:53:24 -05:00
apache-cxf Merge pull request #531 from nguyennamthai/cxf-spring 2016-07-25 15:05:52 +02:00
apache-fop Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
assertj Refactor variable's name 2016-07-12 21:33:20 +03:00
autovalue-tutorial added autovalue tutorial project 2016-07-24 20:55:26 +03:00
core-java Add list assertions example 2016-07-16 10:51:50 +03:00
core-java-8 BAEL-28 - Updating article URLs 2016-07-14 15:03:51 +02:00
couchbase-sdk-intro Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
couchbase-sdk-spring-service Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
dependency-injection fixes for the build 2016-07-24 12:53:50 +03:00
dozer-tutorial fixed failing tests 2016-07-31 17:38:31 +03:00
eclipse new formatter 2014-01-03 01:49:40 +02:00
gatling Remove unneeded file 2016-07-08 17:57:19 +02:00
gson Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
gson-jackson-performance Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
guava Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
guava18 Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
guava19 Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
handling-spring-static-resources Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
httpclient Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
hystrix Minor changes following review 2016-07-31 10:49:28 +01:00
immutables Remove unnecessary file 2016-07-30 13:00:30 +02:00
jackson use StdSerializer and StdDeserializer 2016-07-26 20:38:59 +02:00
javaxval maven work 2016-03-06 11:49:59 +02:00
jee7schedule jee7schedule 2016-06-08 22:05:48 +02:00
jjwt refactored variable names 2016-07-14 03:01:25 -04:00
jooq-spring minor cleanup 2016-06-23 10:11:56 +03:00
jpa-storedprocedure Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
jsf BAEL-151 - added dep, minor changes 2016-07-11 10:30:40 +02:00
json BAEL-14 - renaming test, merging to json module, fixing failing tests inside the json module 2016-07-25 14:31:25 +02:00
json-path Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
junit5 Reformat JUnit 5 examples 2016-05-23 06:14:18 -05:00
log4j BAEL-38 - Minor changes 2016-07-08 09:57:47 +02:00
lombok Rename lombok-intro to just lombok. 2016-06-12 22:33:45 +02:00
mockito Examples for Mockito's Mock Methods 2016-05-04 05:45:28 -05:00
mocks Code for Advanced JMockit article (#557) 2016-07-31 22:05:45 +02:00
mutation-testing BAEL-145 - fixing production URL 2016-07-14 14:52:28 +02:00
querydsl Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
raml Create README.MD 2016-06-28 12:26:30 +03:00
redis Merge branches 'gcasanova-master', 'master' and 'nguyennamthai-master' of https://github.com/eugenp/tutorials 2016-07-12 21:18:07 +01:00
rest-assured renaming module 2016-07-24 18:42:08 +03:00
rest-testing Update README.md 2016-06-28 12:20:19 +03:00
resteasy Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-all Source code for the article "An Intro to Spring with Akka" (#541) 2016-07-28 17:22:08 +02:00
spring-apache-camel Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-autowire basics of spring autowire - first cut 2016-05-15 17:47:30 -04:00
spring-batch Refactor spring-controller 2016-07-14 23:05:25 +03:00
spring-boot Added examples for the @RestClientTest article, fixed mail port (#513) 2016-07-19 16:01:18 +03:00
spring-cucumber maven fix 2016-07-27 14:58:40 +03:00
spring-data-cassandra Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-data-couchbase-2 Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-data-couchbase-2b Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-data-elasticsearch Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-data-mongodb Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-data-neo4j pom fix 2016-07-24 12:15:22 +03:00
spring-data-redis Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-data-rest Update README.md 2016-06-28 12:22:26 +03:00
spring-exceptions replace mysql with derby db (#546) 2016-07-31 18:15:08 +02:00
spring-freemarker Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-hibernate3 Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-hibernate4 Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-jpa minor cleanup 2016-07-24 13:01:24 +03:00
spring-katharsis Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-mockito Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-mvc-java Merge pull request #514 from jgarciaheredero/master 2016-07-19 14:23:48 -06:00
spring-mvc-no-xml Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-mvc-velocity Remove springconfig (#538) 2016-07-27 20:03:45 +02:00
spring-mvc-xml Remove unneeded file 2016-07-08 18:02:31 +02:00
spring-openid Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-protobuf Refactor spring-protobuf 2016-06-18 23:28:32 +02:00
spring-quartz Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-rest Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-rest-angular-pagination/StudentDirectory [spring-rest-angular-pagination]initial draft 2016-07-27 01:20:35 +08:00
spring-rest-docs minor formatting work 2016-07-26 11:34:56 +03:00
spring-security-basic-auth Add missing modules and clean up 2016-07-23 11:36:05 +03:00
spring-security-client Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-security-custom-permission minor fix 2016-07-30 20:40:40 +02:00
spring-security-mvc-custom Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-security-mvc-digest-auth Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-security-mvc-ldap Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-security-mvc-login Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-security-mvc-persisted-remember-me Update README.md 2016-06-28 12:35:35 +03:00
spring-security-mvc-session Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-security-rest Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-security-rest-basic-auth Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-security-rest-custom Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-security-rest-digest-auth Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-security-rest-full Expression-Based Access Control (#517) 2016-07-20 19:17:38 +03:00
spring-spel Clean up SpEL examples 2016-04-14 06:08:48 -05:00
spring-thymeleaf Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
spring-zuul Remove Eclipse-specific files 2016-07-19 18:18:50 +03:00
webjars Add missing modules and clean up 2016-07-23 11:36:05 +03:00
xml Test added for mvc - velocity (#510) 2016-07-17 21:41:41 +03:00
xmlunit2-tutorial Minor changes following review 2016-07-26 00:33:16 +01:00
xstream Clean up formatting 2016-04-11 05:26:50 -05:00
.gitignore Code and related files for the dependency injection demos. 2016-06-28 22:45:28 -06:00
README.md Update README.md 2016-06-23 17:15:46 +03:00
pom.xml Add immutables module 2016-07-29 11:55:35 +02:00

README.md

The "REST with Spring" Classes

After 5 months of work, here's the Master Class of REST With Spring:
>> THE REST WITH SPRING MASTER CLASS

Spring Tutorials

This project is a collection of small and focused tutorials each covering a single and well defined area of development. Most of the tutorial projects are focused on the Spring Framework (and Spring Security).
In additional to Spring, the following technologies are in focus: core Java, Jackson, HttpClient, Guava.

Working with the code in Eclipse

Any IDE can be used to work with the projects, but if you're using Eclipse, consider the following.

  • import the included formatter in Eclipse: https://github.com/eugenp/tutorials/tree/master/eclipse

CI - Jenkins

This tutorials project is being built >> HERE