Groovy Documentation

org.linkedin.glu.groovy.utils.test
[Groovy] Class GluGroovyTestUtils

java.lang.Object
  org.linkedin.glu.groovy.utils.test.GluGroovyTestUtils

class GluGroovyTestUtils

Authors:
yan@pongasoft.com


Method Summary
static void assertEqualsIgnoreType(java.lang.Object testCase, java.lang.String message = null, java.util.Map map1, java.util.Map map2)

The main issue when comparing 2 maps is that if the type of the map is different then the 2 maps are different even if their content is the same... this method simply compares the content of the maps.

static void assertEqualsIgnoreType(java.lang.Object testCase, java.lang.String message = null, java.util.List list1, java.util.List list2)

The main issue when comparing 2 lists is that if the type of the list is different then the 2 lists are different even if their content is the same... this method simply compares the content of the lists

static void assertEqualsIgnoreType(java.lang.Object testCase, java.lang.String message = null, java.util.Set set1, java.util.Set set2)

The main issue when comparing 2 sets is that if the type of the list is different then the 2 sets are different even if their content is the same... this method simply compares the content of the sets

static void assertEqualsIgnoreType(java.lang.Object testCase, java.lang.String message = null, java.util.Collection c1, java.util.Collection c2)

The main issue when comparing 2 collections is that if the type of the collection is different then the 2 collections are different even if their content is the same... this method simply compares the content of the collections

static void assertEqualsIgnoreType(java.lang.Object testCase, java.lang.String message = null, java.lang.Object o1, java.lang.Object o2)

This method is being used for recursing purposes

static void checkAndFail(java.lang.Object testCase, java.lang.String message, java.lang.Object o1, java.lang.Object o2, groovy.lang.Closure closure)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

assertEqualsIgnoreType

static void assertEqualsIgnoreType(java.lang.Object testCase, java.lang.String message = null, java.util.Map map1, java.util.Map map2)
The main issue when comparing 2 maps is that if the type of the map is different then the 2 maps are different even if their content is the same... this method simply compares the content of the maps.


assertEqualsIgnoreType

static void assertEqualsIgnoreType(java.lang.Object testCase, java.lang.String message = null, java.util.List list1, java.util.List list2)
The main issue when comparing 2 lists is that if the type of the list is different then the 2 lists are different even if their content is the same... this method simply compares the content of the lists


assertEqualsIgnoreType

static void assertEqualsIgnoreType(java.lang.Object testCase, java.lang.String message = null, java.util.Set set1, java.util.Set set2)
The main issue when comparing 2 sets is that if the type of the list is different then the 2 sets are different even if their content is the same... this method simply compares the content of the sets


assertEqualsIgnoreType

static void assertEqualsIgnoreType(java.lang.Object testCase, java.lang.String message = null, java.util.Collection c1, java.util.Collection c2)
The main issue when comparing 2 collections is that if the type of the collection is different then the 2 collections are different even if their content is the same... this method simply compares the content of the collections


assertEqualsIgnoreType

static void assertEqualsIgnoreType(java.lang.Object testCase, java.lang.String message = null, java.lang.Object o1, java.lang.Object o2)
This method is being used for recursing purposes


checkAndFail

static void checkAndFail(java.lang.Object testCase, java.lang.String message, java.lang.Object o1, java.lang.Object o2, groovy.lang.Closure closure)


 

Groovy Documentation