Commit Graph

111 Commits

Author SHA1 Message Date
anton-k11 9965605976 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	core-java-9/pom.xml
#	core-java-9/src/test/java/com/baeldung/java9/MultiResultionImageTest.java
2016-09-26 20:15:34 +03:00
Grzegorz Piwowarek 03ebc02556 Refactor Stream<Optional<?>> example 2016-09-24 11:33:47 +02:00
Álvaro Fernández González 043a6bddc8 Code for Optional stream filtering document (#696)
* 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.
2016-09-23 14:25:09 +02:00
anton-k11 be6939bd97 Removing comments, reformatting. 2016-09-22 00:04:53 +03:00
anton-k11 f1cfc706df Adding Optional 2 Stream and Set.of examples. 2016-09-20 18:26:06 +03:00
anton-k11 c68e1bfbc8 Java 9 new features (#660)
* initial push for core-java-9 tutorials

* Fixed Maven build with experimental java 9 Maven compiler plug-in. Minor
code changes

* Running maven build and changes to some of tests.

* Fixed maven build and modifications ot some tests

* Removing unnecessary files
2016-09-04 12:30:35 +02:00
anton-k11 7b6200728d Removing unnecessary files 2016-09-02 02:08:55 +03:00
anton-k 27f540c9bf Fixed maven build and modifications ot some tests 2016-09-02 01:48:15 +03:00
anton-k 3f204ebd59 Running maven build and changes to some of tests. 2016-09-02 01:43:49 +03:00
antonk 9cf6ea2253 Fixed Maven build with experimental java 9 Maven compiler plug-in. Minor
code changes
2016-08-27 10:42:13 +03:00
i032048 7c0af73604 initial push for core-java-9 tutorials 2016-07-28 18:03:48 +03:00