Skip to content

houdini68/testing-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

112 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testing the Java ecosystem

This file is cached into your browser. Reload to get the latest changes.

Testing the APIs needed by a modern Java developer.

How many times are you in search of the usage of a class or a method of a well-known api? Javadoc is sometimes complicated and not easy to read. You want an example.

I have decided to document the classes/APIs that a modern developer has a great chance to meet at customer site.

Each time I visit a site (Stackoverflow) to get some help on programming, or I made some investigations on a specific topic I will try to create a test that will be documented here.

It is an Apache Maven project, and it was developed using Intellij Idea.

Rudy Vissers [Belgium]

Tested on JDK 8 - 101 tests

To be documented:guava-cache

Java lang

Java core

Collections

  • merge lists

Java Util

mapToBoolean

Lamda

Streams

Optional

Without Optional (don't do that!)

With Optional

Behavior Parameterization

functional interface:
functional interface:

Java nio

Design patterns

Non compliant code - IDE

Nonnull
ParametersAreNonnullByDefault
ParametersAreNullableByDefault

Guava

Passing behaviour

Joiner, Splitter

Collections

Misc

Apache lang3

AssertJ

Mockito

Joda

Migration from java.text.SimpleDateFormat (not thread-safe to org.joda.time.format.DateTimeFormatter thread-safe).

Jackson

Constructor injection

JSONObject

Spring (to move somewhere else)

Wiring of a bean. Java configuration.

Releases

No releases published

Packages

 
 
 

Contributors

Languages