ERXArrayUtilitiesTest Class Reference

Inherits er::erxtest::ERXTestCase.

Collaboration diagram for ERXArrayUtilitiesTest:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void _testDictionaryOfObjectsIndexedByKeyPathThrowOnCollision ()
void testAddObjectsFromArrayWithoutDuplicates ()
void testArrayByAddingObjectsFromArrayWithoutDuplicates ()
void testArrayByRemovingFirstObject ()
void testArrayBySelectingInstancesOfClass ()
void testArrayContainsAnyObjectFromArray ()
void testArrayContainsArray ()
void testArrayForKeysPath ()
void testArrayFromPropertyList ()
void testArrayGroupedByKeyPathWithNSArrayERXKey ()
void testArrayGroupedByKeyPathWithNSArrayERXKeyBooleanERXKey ()
void testArrayGroupedByKeyPathWithNSArrayERXKeyObjectERXKey ()
void testArrayGroupedByKeyPathWithNSArrayString ()
void testArrayGroupedByKeyPathWithNSArrayStringBooleanString ()
void testArrayGroupedByKeyPathWithNSArrayStringObjectString ()
void testArrayGroupedByToManyKeyPathERXKey ()
void testArrayGroupedByToManyKeyPathERXKeyObject ()
void testArrayGroupedByToManyKeyPathERXKeyObjectERXKey ()
void testArrayGroupedByToManyKeyPathString ()
void testArrayGroupedByToManyKeyPathStringObject ()
void testArrayGroupedByToManyKeyPathStringObjectString ()
void testArrayMinusArray ()
void testArrayMinusObject ()
void testArraysAreIdenticalSets ()
void testArrayWithObjectsAtIndexesSwapped ()
void testArrayWithObjectsSwapped ()
void testArrayWithoutDuplicateKeyValue ()
void testArrayWithoutDuplicates ()
void testbatchedArrayWithSize ()
void testdeepCloneNSArray ()
void testdeepCloneNSSet ()
void testDictionaryOfObjectsIndexedByKeyPath ()
void testDistinct ()
void testenumerationHasMatchWithQualifierEvaluation ()
void testfilteredArrayWithEntityFetchSpecification ()
void testfilteredArrayWithEntityFetchSpecificationWithNSDictionary ()
void testfilteredArrayWithFetchSpecificationNamedEntityNamed ()
void testfilteredArrayWithFetchSpecificationNamedEntityNamedBindings ()
void testfilteredArrayWithQualifierEvaluation ()
void testfilteredArrayWithQualifierEvaluationEnumeration ()
void testfilteredArrayWithQualifierEvaluationNSArray ()
void testfirstObject ()
void testfirstObjectWithValueForKeyPath ()
void testFlatten ()
void testFlattenBoolean ()
void testfriendlyDisplayForKeyPath ()
void testindexOfFirstObjectWithValueForKeyPath ()
void testInitialize ()
void testintersectingElements ()
void testiteratorHasMatchWithQualifierEvaluation ()
void testMedian ()
void testobjectArraysOfNSArraysToString ()
void testObjectLangArrayCastToStringArray ()
void testObjectLangArrayOfLangArrayToString ()
void testObjectLangArrayToString ()
void testobjectsWithValueForKeyPath ()
void testRemoveNullValues ()
void testRemoveNullValuesFromEnd ()
void testreverse ()
void testSafeAddObject ()
void testSetFromArray ()
void testShiftObjectLeft ()
void testShiftObjectRight ()
void testSortArrayWithKey ()
void testSortArrayWithKeyNSSelector ()
void testSortedArraySortedWithKey ()
void testSortedArraySortedWithKeyNSSelector ()
void testSortedArraySortedWithKeys ()
void testSortedArrayUsingComparator ()
void testSortedMutableArraySortedWithKey ()
void testSortSelectorWithKey ()
void testStdDev ()
void testSwapObjectsAtIndexesInArray ()
void testSwapObjectsInArray ()
void testSwapObjectWithObjectAtIndexInArray ()
void testToStringArray ()
void testvaluesForKeyPaths ()

Static Package Functions

 [static initializer]

Static Package Attributes

static NSMutableArray
< NSDictionary< String, String > > 
bobList1
static NSMutableArray
< NSDictionary< String, String > > 
bobList2
static NSMutableDictionary
< String, NSArray< String > > 
color1
static NSMutableDictionary
< String, NSArray< String > > 
color2
static NSMutableDictionary
< String, NSArray< String > > 
color3
static NSMutableDictionary
< String, NSArray< String > > 
color4
static NSMutableDictionary
< String, NSArray< String > > 
color5
static NSMutableDictionary
< String, NSArray< String > > 
color6
static NSMutableArray
< NSDictionary< String, String > > 
extraList1
static NSMutableArray
< NSDictionary< String, String > > 
frankList1
static NSMutableArray
< NSDictionary< String, String > > 
list1
static NSMutableDictionary
< String, NSArray
< NSDictionary< String, String > > > 
map1
static NSMutableDictionary
< String, NSArray
< NSDictionary< String, String > > > 
map2
static NSMutableDictionary
< String, NSArray
< NSDictionary< String, String > > > 
map3
static NSMutableDictionary
< String, NSArray
< NSDictionary< String, String > > > 
map4
static NSMutableDictionary
< String, NSArray
< NSDictionary< String, String > > > 
map5
static NSMutableDictionary
< String, NSArray
< NSDictionary< String, String > > > 
map6
static ERXKey< StringnullERXKey
static NSArray< NSDictionary
< String, String > > 
nullList
static String nullString
static NSMutableDictionary
< String, String
one
static NSMutableDictionary
< String, String
three
static NSMutableDictionary
< String, String
two


Detailed Description

Tests of the public API of the ERXArrayUtilities class.

This source file is automatically generated. The method names may be improved, and re-naming tests has no ill effect. Feel free to add tests or change tests to demonstrate what should be the "contracted" behavior of the class.

Author:
ray@ganymede.org, Ray Kiddy

Member Function Documentation

[static initializer] (  )  [static, package]

Reimplemented from ERXTestCase.

void _testDictionaryOfObjectsIndexedByKeyPathThrowOnCollision (  ) 

void testAddObjectsFromArrayWithoutDuplicates (  ) 

void testArrayByAddingObjectsFromArrayWithoutDuplicates (  ) 

void testArrayByRemovingFirstObject (  ) 

void testArrayBySelectingInstancesOfClass (  ) 

void testArrayContainsAnyObjectFromArray (  ) 

void testArrayContainsArray (  ) 

void testArrayForKeysPath (  ) 

void testArrayFromPropertyList (  ) 

void testArrayGroupedByKeyPathWithNSArrayERXKey (  ) 

void testArrayGroupedByKeyPathWithNSArrayERXKeyBooleanERXKey (  ) 

void testArrayGroupedByKeyPathWithNSArrayERXKeyObjectERXKey (  ) 

void testArrayGroupedByKeyPathWithNSArrayString (  ) 

void testArrayGroupedByKeyPathWithNSArrayStringBooleanString (  ) 

void testArrayGroupedByKeyPathWithNSArrayStringObjectString (  ) 

void testArrayGroupedByToManyKeyPathERXKey (  ) 

void testArrayGroupedByToManyKeyPathERXKeyObject (  ) 

void testArrayGroupedByToManyKeyPathERXKeyObjectERXKey (  ) 

void testArrayGroupedByToManyKeyPathString (  ) 

void testArrayGroupedByToManyKeyPathStringObject (  ) 

void testArrayGroupedByToManyKeyPathStringObjectString (  ) 

void testArrayMinusArray (  ) 

void testArrayMinusObject (  ) 

void testArraysAreIdenticalSets (  ) 

void testArrayWithObjectsAtIndexesSwapped (  ) 

void testArrayWithObjectsSwapped (  ) 

void testArrayWithoutDuplicateKeyValue (  ) 

void testArrayWithoutDuplicates (  ) 

void testbatchedArrayWithSize (  ) 

void testdeepCloneNSArray (  ) 

void testdeepCloneNSSet (  ) 

void testDictionaryOfObjectsIndexedByKeyPath (  ) 

void testDistinct (  ) 

void testenumerationHasMatchWithQualifierEvaluation (  ) 

void testfilteredArrayWithEntityFetchSpecification (  ) 

void testfilteredArrayWithEntityFetchSpecificationWithNSDictionary (  ) 

void testfilteredArrayWithFetchSpecificationNamedEntityNamed (  ) 

void testfilteredArrayWithFetchSpecificationNamedEntityNamedBindings (  ) 

void testfilteredArrayWithQualifierEvaluation (  ) 

void testfilteredArrayWithQualifierEvaluationEnumeration (  ) 

void testfilteredArrayWithQualifierEvaluationNSArray (  ) 

void testfirstObject (  ) 

void testfirstObjectWithValueForKeyPath (  ) 

void testFlatten (  ) 

void testFlattenBoolean (  ) 

void testfriendlyDisplayForKeyPath (  ) 

void testindexOfFirstObjectWithValueForKeyPath (  ) 

void testInitialize (  ) 

void testintersectingElements (  ) 

void testiteratorHasMatchWithQualifierEvaluation (  ) 

void testMedian (  ) 

void testobjectArraysOfNSArraysToString (  ) 

void testObjectLangArrayCastToStringArray (  ) 

void testObjectLangArrayOfLangArrayToString (  ) 

void testObjectLangArrayToString (  ) 

void testobjectsWithValueForKeyPath (  ) 

void testRemoveNullValues (  ) 

void testRemoveNullValuesFromEnd (  ) 

void testreverse (  ) 

void testSafeAddObject (  ) 

void testSetFromArray (  ) 

void testShiftObjectLeft (  ) 

void testShiftObjectRight (  ) 

void testSortArrayWithKey (  ) 

void testSortArrayWithKeyNSSelector (  ) 

void testSortedArraySortedWithKey (  ) 

void testSortedArraySortedWithKeyNSSelector (  ) 

void testSortedArraySortedWithKeys (  ) 

void testSortedArrayUsingComparator (  ) 

void testSortedMutableArraySortedWithKey (  ) 

void testSortSelectorWithKey (  ) 

void testStdDev (  ) 

void testSwapObjectsAtIndexesInArray (  ) 

void testSwapObjectsInArray (  ) 

void testSwapObjectWithObjectAtIndexInArray (  ) 

void testToStringArray (  ) 

void testvaluesForKeyPaths (  ) 


Member Data Documentation

NSMutableArray<NSDictionary<String,String> > bobList1 [static, package]

NSMutableArray<NSDictionary<String,String> > bobList2 [static, package]

NSMutableDictionary<String,NSArray<String> > color1 [static, package]

NSMutableDictionary<String,NSArray<String> > color2 [static, package]

NSMutableDictionary<String,NSArray<String> > color3 [static, package]

NSMutableDictionary<String,NSArray<String> > color4 [static, package]

NSMutableDictionary<String,NSArray<String> > color5 [static, package]

NSMutableDictionary<String,NSArray<String> > color6 [static, package]

NSMutableArray<NSDictionary<String,String> > extraList1 [static, package]

NSMutableArray<NSDictionary<String,String> > frankList1 [static, package]

NSMutableArray<NSDictionary<String,String> > list1 [static, package]

NSMutableDictionary<String,NSArray<NSDictionary<String,String> > > map1 [static, package]

NSMutableDictionary<String,NSArray<NSDictionary<String,String> > > map2 [static, package]

NSMutableDictionary<String,NSArray<NSDictionary<String,String> > > map3 [static, package]

NSMutableDictionary<String,NSArray<NSDictionary<String,String> > > map4 [static, package]

NSMutableDictionary<String,NSArray<NSDictionary<String,String> > > map5 [static, package]

NSMutableDictionary<String,NSArray<NSDictionary<String,String> > > map6 [static, package]

ERXKey<String> nullERXKey [static, package]

NSArray<NSDictionary<String,String> > nullList [static, package]

String nullString [static, package]

NSMutableDictionary<String,String> one [static, package]

NSMutableDictionary<String,String> three [static, package]

NSMutableDictionary<String,String> two [static, package]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:12 2012 for Project Wonder by  doxygen 1.5.8