org.alfresco.cmis
Class PropertyFilterTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.cmis.PropertyFilterTest
All Implemented Interfaces:
junit.framework.Test

public class PropertyFilterTest
extends junit.framework.TestCase

http://docs.oasis-open.org/cmis/CMIS/v1.0/os/cmis-spec-v1.0.htm 2.1.2.1 Property All properties MUST supply a String queryName attribute which is used for query and filter operations on object-types. This is an opaque String with limitations. This string SHOULD NOT contain any characters that negatively interact with the BNF grammar. The string MUST NOT contain: whitespace “ “, comma “,” double quotes ‘”’ single quotes “’” backslash “\” the period “.” character or, the open “(“ or close “)” parenthesis characters.


Constructor Summary
PropertyFilterTest()
           
 
Method Summary
 void testInvalidFilters()
           
 void testValidFilters()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyFilterTest

public PropertyFilterTest()
Method Detail

testValidFilters

public void testValidFilters()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidFilters

public void testInvalidFilters()
                        throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.