A B C F G I M R S W 

A

addType(Type) - Method in class com.google.gson.graph.GraphAdapterBuilder
 
addType(Type, InstanceCreator<?>) - Method in class com.google.gson.graph.GraphAdapterBuilder
 
assertThat(T, Matcher<? super T>) - Static method in class com.shazam.shazamcrest.MatcherAssert
 
assertThat(String, T, Matcher<? super T>) - Static method in class com.shazam.shazamcrest.MatcherAssert
Checks if the object matches the condition defined by the matcher provided.

B

BeanFinder - Class in com.shazam.shazamcrest
Returns the object corresponding to the path specified
BeanFinder() - Constructor for class com.shazam.shazamcrest.BeanFinder
 

C

com.google.gson.graph - package com.google.gson.graph
 
com.shazam.shazamcrest - package com.shazam.shazamcrest
 
com.shazam.shazamcrest.matcher - package com.shazam.shazamcrest.matcher
 
ComparisonDescription - Class in com.shazam.shazamcrest
StringDescription which holds the mismatch message along with the actual and expected Json representation.
ComparisonDescription() - Constructor for class com.shazam.shazamcrest.ComparisonDescription
 
CustomisableMatcher<T> - Interface in com.shazam.shazamcrest.matcher
Matcher implementation where fields and object types can be skipped from the comparison, or matched with custom matchers.
CyclicReferenceDetector - Class in com.shazam.shazamcrest
Detects classes with fields that have circular reference and returns a set of those classes.
CyclicReferenceDetector() - Constructor for class com.shazam.shazamcrest.CyclicReferenceDetector
 

F

FieldsIgnorer - Class in com.shazam.shazamcrest
Responsible for traversing the Json tree and ignore the specified set of field paths.
FieldsIgnorer() - Constructor for class com.shazam.shazamcrest.FieldsIgnorer
 
findBeanAt(String, Object) - Static method in class com.shazam.shazamcrest.BeanFinder
 
findPaths(Gson, Object, Set<String>) - Static method in class com.shazam.shazamcrest.FieldsIgnorer
 

G

getActual() - Method in class com.shazam.shazamcrest.ComparisonDescription
 
getClassesWithCircularReferences(Object) - Static method in class com.shazam.shazamcrest.CyclicReferenceDetector
Returns a set of classes that have circular reference.
getDifferencesMessage() - Method in class com.shazam.shazamcrest.ComparisonDescription
 
getExpected() - Method in class com.shazam.shazamcrest.ComparisonDescription
 
GraphAdapterBuilder - Class in com.google.gson.graph
Writes a graph of objects as a list of named nodes.
GraphAdapterBuilder() - Constructor for class com.google.gson.graph.GraphAdapterBuilder
 

I

ignoring(String) - Method in interface com.shazam.shazamcrest.matcher.CustomisableMatcher
Specify the path of the field to be skipped from the matcher comparison.
ignoring(Class<?>) - Method in interface com.shazam.shazamcrest.matcher.CustomisableMatcher
Specify the object type of the fields to be skipped from the matcher comparison.
ignoring(Matcher<String>) - Method in interface com.shazam.shazamcrest.matcher.CustomisableMatcher
Specify the pattern of field names to ignore.
isComparisonFailure() - Method in class com.shazam.shazamcrest.ComparisonDescription
 

M

MARKER - Static variable in class com.shazam.shazamcrest.FieldsIgnorer
 
MatcherAssert - Class in com.shazam.shazamcrest
Modified version of MatcherAssert.
MatcherAssert() - Constructor for class com.shazam.shazamcrest.MatcherAssert
 
Matchers - Class in com.shazam.shazamcrest.matcher
Entry point for the matchers available in Shazamcrest.
Matchers() - Constructor for class com.shazam.shazamcrest.matcher.Matchers
 

R

registerOn(GsonBuilder) - Method in class com.google.gson.graph.GraphAdapterBuilder
 

S

sameBeanAs(T) - Static method in class com.shazam.shazamcrest.matcher.Matchers
Returns a NullMatcher in case the expectation is null, a IsEqualMatcher if it's a primitive, String or Enum or a DiagnosingCustomisableMatcher otherwise.
setActual(String) - Method in class com.shazam.shazamcrest.ComparisonDescription
 
setComparisonFailure(boolean) - Method in class com.shazam.shazamcrest.ComparisonDescription
 
setDifferencesMessage(String) - Method in class com.shazam.shazamcrest.ComparisonDescription
 
setExpected(String) - Method in class com.shazam.shazamcrest.ComparisonDescription
 

W

with(String, Matcher<V>) - Method in interface com.shazam.shazamcrest.matcher.CustomisableMatcher
Specify the path of the field to be matched with a specific matcher.
A B C F G I M R S W 

Copyright © 2015. All Rights Reserved.