public class RegularExpressionElementTest extends Object
RegularExpressionElement
class.Modifier and Type | Field and Description |
---|---|
static String |
OPTIONS_1
A sample scope document.
|
static String |
OPTIONS_2
A sample scope document.
|
Constructor and Description |
---|
RegularExpressionElementTest() |
public static final String OPTIONS_1
public static final String OPTIONS_2
public void testAccept()
RegularExpressionElement.accept(com.allanbank.mongodb.bson.Visitor)
.public void testCompareTo()
RegularExpressionElement.compareTo(Element)
.public void testEqualsObject()
RegularExpressionElement.equals(java.lang.Object)
.public void testGetPattern()
RegularExpressionElement.getPattern()
.public void testGetScope()
RegularExpressionElement.getOptions()
public void testOptionsAsIntWithNullPattern()
RegularExpressionElement.optionsAsInt(Pattern)
.public void testRegularExpressionElement()
public void testRegularExpressionElementWithBadOption()
public void testRegularExpressionElementWithPattern()
RegularExpressionElement.RegularExpressionElement(String, Pattern)
.public void testThrowsOnNullName()
public void testThrowsOnNullValue()
public void testThrowsOnNullValue2()
public void testToString()
AbstractElement.toString()
.public void testValueAsObject()
RegularExpressionElement.getValueAsObject()
.public void testValueAsString()
AbstractElement.getValueAsString()
.public void testWithName()
RegularExpressionElement.withName(String)
.public void testWithNameWhenSameName()
RegularExpressionElement.withName(String)
.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.