Commit Graph

2839 Commits

Author SHA1 Message Date
Sandeep Kumar 2310cf8717 BAEL 298 | Intro to Selenium with JUnit / TestNg 2016-09-19 21:26:15 +05:30
Nancy Bosecker ae907114c7 Added equals()/hashcode() (#646) 2016-08-30 07:48:11 +02:00
slavisa-baeldung e67584d9a7 Merge pull request #640 from christian-raedel/craedel-autovalue-tutorial/build-fix
Craedel autovalue tutorial/build fix
2016-08-29 18:47:31 +02:00
zinch84 b4e0135927 Create ArrayList demo (#643) 2016-08-28 07:47:47 +02:00
Álvaro Fernández González e3184522c6 Code for Spring Persistence (Hibernate and JPA) with a JNDI datasource article (#632)
* 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.
2016-08-27 12:15:13 +02:00
Christian Raedel 7e07b0ebd3 Merge remote-tracking branch 'upstream/master' into craedel-autovalue-tutorial/build-fix 2016-08-26 21:04:59 +02:00
Slavisa Baeldung 03f1602d1b Merge branch 'pr/630-hystrix-christian'
Conflicts:
	pom.xml
2016-08-26 09:10:20 +02:00
Slavisa Baeldung 5b4c8129c7 BAEL-169 - Sources for Spring Cloud Hystrix article 2016-08-26 09:06:50 +02:00
Christian Raedel b6709ede52 Disabled usage of incremetal compilation in pom.xml 2016-08-26 03:35:23 +02:00
Alex Theedom 6ca37e314a Merge remote-tracking branch 'origin/master' 2016-08-25 22:08:09 +01:00
Alex Theedom 393106be61 Remove nulls 2016-08-25 22:07:52 +01:00
eugenp d9ca600cea skipping the gatling module as part of the standard build 2016-08-25 12:03:45 +03:00
Sergey Petunin 743f6c8806 Added example for Supplier lazy generation, corrected the reduce example (#638) 2016-08-25 10:30:40 +02:00
Grzegorz Piwowarek 9ae8b346d9 Refactor FunctionInterfacesTest 2016-08-25 08:24:32 +02:00
Sergey Petunin ac0cc708b1 Source code for the article Guide to Java 8 Functional Interfaces (#637) 2016-08-25 07:24:18 +02:00
Alex Theedom 0e1d0b4092 Merge pull request #634 from egimaben/master
fixed failing tests
2016-08-24 21:00:20 +01:00
egimaben e71fcf4ef7 fixed failing tests 2016-08-24 18:11:18 +03:00
Alex Theedom 7c0056270a Merge remote-tracking branch 'origin/master' 2016-08-24 07:33:25 +01:00
Alex Theedom 50a754105b Ignore tests 2016-08-24 07:32:51 +01:00
Alex Vargas fdbe1bdfb8 Example of article "WebAppConfiguration in Spring Tests" (#633)
* An example of a test using a WebAppConfiguration annotation

* Giving the test the appropriate formatting

* A example of a test that uses WebAppConfiguration without the need of a MockMvc object
2016-08-24 06:25:35 +02:00
slavisa-baeldung 19ee1fefd7 BAEL-150 - adding to pom.xml 2016-08-23 23:51:02 +02:00
slavisa-baeldung 14a4de6e4e Merge branch 'pr/553-lukasz-deltaspike'
Conflicts:
	pom.xml
2016-08-23 23:49:57 +02:00
slavisa-baeldung 9dc17848a5 BAEL-150 - deltaspike, minor changes 2016-08-23 23:46:27 +02:00
Alex Theedom 683f1768b7 Amend test to execute service in thread 2016-08-23 21:59:44 +01:00
Alex Theedom 50afba45f7 Merge pull request #628 from egimaben/master
added project code for sockets
2016-08-23 20:06:14 +01:00
Alex Theedom 43965e2db3 Change name of CommandProperties variable 2016-08-23 18:04:26 +01:00
pared 09a32798eb Commit id plugin (#631)
* initial

* working

* added injection test

* [COMMIT-ID-PLUGIN] Add default value for testcheck

* pivovarit review refactor

* pivovarit review refactor

* add logback, log level: INFO

* return result in map

* remove config

* remove unnecessary commit id plugin section
2016-08-23 18:11:54 +02:00
eugenp 5801c10455 logback work 2016-08-23 13:38:36 +03:00
eugenp 6f00a28f3e logging cleanup work 2016-08-23 13:14:12 +03:00
slavisa-baeldung 4d95e20cfc Merge pull request #615 from christian-raedel/craedel-spring-cloud-eureka
Craedel spring cloud eureka
2016-08-23 09:35:56 +02:00
slavisa-baeldung b98e03b72b Merge pull request #616 from christian-raedel/craedel-shell-commands
Craedel shell commands
2016-08-23 09:06:58 +02:00
Grzegorz Piwowarek d8493fef63 Refactor UserInterceptor examples 2016-08-23 07:38:30 +02:00
maibin dca46bcee3 Changing Spring MVC Model Parameters (#629)
* 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)
2016-08-23 07:33:53 +02:00
Christian Rädel 647d35cafb Small formatting fixes. 2016-08-23 02:51:49 +02:00
Christian Raedel 33fc42103a Merge remote-tracking branch 'upstream/master' into craedel-spring-cloud-hystrix 2016-08-22 23:45:39 +02:00
Christian Raedel f28343cd54 Added application configurations 2016-08-22 23:45:32 +02:00
Alex Theedom dec6d5f74e Minor changes after review 2016-08-22 20:31:30 +01:00
Alex Theedom 36c62e87e8 add .gitignore 2016-08-22 19:37:45 +01:00
Alex Theedom dfd8b0c4cc Amend the test method names to include a when and remove unused throws 2016-08-22 19:31:23 +01:00
Alex Theedom 4f7cb84630 Amend the test method names to include a when, remove unused throws and change equals test to assert Integer 2016-08-22 19:16:11 +01:00
Christian Raedel da1bdf90bf Added Feign Client 2016-08-22 19:57:11 +02:00
Alex Theedom 539fe75116 Amendments to the test method names 2016-08-22 18:54:32 +01:00
Alex Theedom db5c839a78 Minor changes after review 2016-08-22 18:44:34 +01:00
Alex Theedom a34bd465d4 Merge pull request #624 from sivabalachandran/master
Created config with different service group name to avoid unit tests from failing when ran as a whole.
2016-08-22 18:29:53 +01:00
Alex Theedom 638e666e4d Merge pull request #618 from jesus-dayo/master
added code to mapstruct tutorial
2016-08-22 18:29:14 +01:00
Alex Theedom f99f6d962f Merge pull request #623 from eugenp/grzegorz_random_list_element
Add code examples for Random List Element mini-article
2016-08-22 18:27:47 +01:00
Alex Theedom f1516e0188 Merge pull request #622 from eugenp/grzegorz_string_to_int
Add code examples for String to int mini-article
2016-08-22 18:27:33 +01:00
Alex Theedom ecacc8d50a Merge pull request #621 from eugenp/grzegorz_char_to_string
Add code examples for Char to String mini-article
2016-08-22 18:27:25 +01:00
egimaben 88342a96fa added project code for sockets 2016-08-22 20:24:47 +03:00
pared eece33c816 Commit id plugin (#627)
* initial

* working

* added injection test

* [COMMIT-ID-PLUGIN] Add default value for testcheck

* pivovarit review refactor

* pivovarit review refactor

* add logback, log level: INFO

* return result in map

* remove config
2016-08-22 19:16:20 +02:00