public class ArrayElementTest extends Object
ArrayElement
class.Constructor and Description |
---|
ArrayElementTest() |
public void testAccept()
ArrayElement.accept(com.allanbank.mongodb.bson.Visitor)
.public void testAcceptWithSizeAware()
ArrayElement.accept(com.allanbank.mongodb.bson.Visitor)
.public void testCompareTo()
ArrayElement.compareTo(Element)
.public void testConstructManuallyWithArray()
ArrayElement.ArrayElement(String, Element...)
.public void testConstructManuallyWithList()
ArrayElement.ArrayElement(String, Element...)
.public void testConstructors()
ArrayElement.ArrayElement(String, List)
.public void testEqualsHashCode()
ArrayElement.equals(java.lang.Object)
and
ArrayElement.hashCode()
public void testFindFirstWithBadPatternPathMatchingSubelement()
ArrayElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindFirstWithBadPatternPathNotMatchingSubelement()
ArrayElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindFirstWithEmptyPathMatchingType()
ArrayElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindFirstWithEmptyPathNonMatchingType()
ArrayElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindFirstWithPathMatchingNonFirstSubelement()
ArrayElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindFirstWithPathMatchingNonLastSubelement()
ArrayElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindFirstWithPathMatchingNonLastSubelementBadRegex()
ArrayElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindFirstWithPathMatchingSubelement()
ArrayElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindFirstWithPathNotMatchingSubelement()
ArrayElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindWithBadPatternPathMatchingSubelement()
ArrayElement.find(java.lang.Class<E>, java.lang.String...)
.public void testFindWithBadPatternPathNotMatchingSubelement()
ArrayElement.find(java.lang.Class<E>, java.lang.String...)
.public void testFindWithEmptyPathMatchingType()
ArrayElement.find(java.lang.Class<E>, java.lang.String...)
.public void testFindWithEmptyPathNonMatchingType()
ArrayElement.find(java.lang.Class<E>, java.lang.String...)
.public void testFindWithPathMatchingSubelement()
ArrayElement.find(java.lang.Class<E>, java.lang.String...)
.public void testFindWithPathNotMatchingSubelement()
ArrayElement.find(java.lang.Class<E>, java.lang.String...)
.public void testGetEntries()
ArrayElement.getEntries()
.public void testNameFor()
ArrayElement.nameFor(int)
.public void testThrowsOnNullName()
public void testToString()
AbstractElement.toString()
.public void testValueAsObject()
ArrayElement.getValueAsObject()
.public void testValueAsString()
AbstractElement.getValueAsString()
.public void testWithName()
ArrayElement.withName(String)
.public void testWithNameWhenSameName()
ArrayElement.withName(String)
.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.