public class DocumentElementTest extends Object
DocumentElement
class.Constructor and Description |
---|
DocumentElementTest() |
public void testAccept()
DocumentElement.accept(com.allanbank.mongodb.bson.Visitor)
.public void testAcceptWithSizeAware()
DocumentElement.accept(com.allanbank.mongodb.bson.Visitor)
.public void testAsDocumentReference()
DocumentElement.asDocumentReference()
.public void testCompareTo()
DocumentElement.compareTo(Element)
.public void testConstructEmptyDocument()
DocumentElement.DocumentElement(String, java.util.List)
.public void testConstructEmptyDocumentCollection()
DocumentElement.DocumentElement(String, Collection)
.public void testConstructEmptyDocumentCollectionEmpty()
DocumentElement.DocumentElement(String, java.util.List)
.public void testConstructEmptyDocumentList()
DocumentElement.DocumentElement(String, java.util.List)
.public void testConstructEmptyDocumentListEmpty()
DocumentElement.DocumentElement(String, java.util.List)
.public void testConstructor()
DocumentElement.DocumentElement(String, java.util.List)
.public void testConstructorWithCollection()
DocumentElement.DocumentElement(String, java.util.Collection)
.public void testContains()
DocumentElement.contains(String)
.public void testEqualsHashCode()
DocumentElement.equals(Object)
.public void testFindFirstWithBadPatternPathMatchingSubelement()
DocumentElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindFirstWithBadPatternPathNotMatchingSubelement()
DocumentElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindFirstWithEmptyPathMatchingType()
DocumentElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindFirstWithEmptyPathNonMatchingType()
DocumentElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindFirstWithPathMatchingNonFirstSubelement()
ArrayElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindFirstWithPathMatchingNonLastSubelement()
DocumentElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindFirstWithPathMatchingNonLastSubelementBadRegex()
DocumentElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindFirstWithPathMatchingSubelement()
DocumentElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindFirstWithPathNotMatchingSubelement()
DocumentElement.findFirst(java.lang.Class<E>, java.lang.String...)
.public void testFindWithBadPatternPathMatchingSubelement()
DocumentElement.find(java.lang.Class<E>, java.lang.String...)
.public void testFindWithBadPatternPathNotMatchingSubelement()
DocumentElement.find(java.lang.Class<E>, java.lang.String...)
.public void testFindWithEmptyPathMatchingType()
DocumentElement.find(java.lang.Class<E>, java.lang.String...)
.public void testFindWithEmptyPathNonMatchingType()
DocumentElement.find(java.lang.Class<E>, java.lang.String...)
.public void testFindWithPathMatchingSubelement()
DocumentElement.find(java.lang.Class<E>, java.lang.String...)
.public void testFindWithPathNotMatchingSubelement()
DocumentElement.find(java.lang.Class<E>, java.lang.String...)
.public void testGet()
DocumentElement.get(String)
.public void testGetElements()
DocumentElement.getElements()
.public void testGetWithType()
DocumentElement.get(Class,String)
.public void testIsDocumentReference()
DocumentElement.isDocumentReference()
.public void testIterator()
DocumentElement.iterator()
.public void testToString()
AbstractElement.toString()
.public void testValueAsObject()
DocumentElement.getValueAsObject()
.public void testValueAsString()
AbstractElement.getValueAsString()
.public void testWithName()
DocumentElement.withName(String)
.public void testWithNameWhenSameName()
DocumentElement.withName(String)
.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.