You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2004/10/10 06:12:30 UTC
svn commit: rev 54214 - incubator/directory/eve/trunk/backend/tools/src/test/org/apache/eve/tools/schema
Author: akarasulu
Date: Sat Oct 9 21:12:29 2004
New Revision: 54214
Modified:
incubator/directory/eve/trunk/backend/tools/src/test/org/apache/eve/tools/schema/AttributeTypeParserTest.java
Log:
testing to see comments are parsed out
Modified: incubator/directory/eve/trunk/backend/tools/src/test/org/apache/eve/tools/schema/AttributeTypeParserTest.java
==============================================================================
--- incubator/directory/eve/trunk/backend/tools/src/test/org/apache/eve/tools/schema/AttributeTypeParserTest.java (original)
+++ incubator/directory/eve/trunk/backend/tools/src/test/org/apache/eve/tools/schema/AttributeTypeParserTest.java Sat Oct 9 21:12:29 2004
@@ -16,6 +16,7 @@
*/
package org.apache.eve.tools.schema;
+
import junit.framework.TestCase;
import java.io.ByteArrayInputStream;
@@ -23,6 +24,7 @@
import org.apache.ldap.common.schema.AttributeType;
import org.apache.eve.schema.DefaultOidRegistry;
+
/**
* Tests the parser for AttributeTypes.
*
@@ -33,7 +35,8 @@
{
public void testParser() throws Exception
{
- String attributeTypeData = "attributetype ( 2.5.4.2 NAME 'knowledgeInformation'\n" +
+ String attributeTypeData = "# adding a comment \n" +
+ "attributetype ( 2.5.4.2 NAME 'knowledgeInformation'\n" +
" DESC 'RFC2256: knowledge information'\n" +
" EQUALITY caseIgnoreMatch\n" +
" SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )";