directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From szoer...@apache.org
Subject svn commit: r750602 - in /directory/sandbox/szoerner/groovyldap: ./ src/test/ src/test/java/ src/test/java/org/ src/test/java/org/apache/ src/test/java/org/apache/directory/ src/test/java/org/apache/directory/groovyldap/
Date Thu, 05 Mar 2009 21:37:28 GMT
Author: szoerner
Date: Thu Mar  5 21:37:28 2009
New Revision: 750602

URL: http://svn.apache.org/viewvc?rev=750602&view=rev
Log:
Simple test according to DIRGROOVY-4

Added:
    directory/sandbox/szoerner/groovyldap/src/test/
    directory/sandbox/szoerner/groovyldap/src/test/java/
    directory/sandbox/szoerner/groovyldap/src/test/java/org/
    directory/sandbox/szoerner/groovyldap/src/test/java/org/apache/
    directory/sandbox/szoerner/groovyldap/src/test/java/org/apache/directory/
    directory/sandbox/szoerner/groovyldap/src/test/java/org/apache/directory/groovyldap/
    directory/sandbox/szoerner/groovyldap/src/test/java/org/apache/directory/groovyldap/SearchTest.java
Modified:
    directory/sandbox/szoerner/groovyldap/pom.xml

Modified: directory/sandbox/szoerner/groovyldap/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/szoerner/groovyldap/pom.xml?rev=750602&r1=750601&r2=750602&view=diff
==============================================================================
--- directory/sandbox/szoerner/groovyldap/pom.xml (original)
+++ directory/sandbox/szoerner/groovyldap/pom.xml Thu Mar  5 21:37:28 2009
@@ -47,6 +47,11 @@
         <groupId>groovy</groupId>
         <artifactId>groovy</artifactId>
         <version>1.0</version>
+      </dependency>
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>4.4</version>
       </dependency>  
     </dependencies>
   </dependencyManagement>

Added: directory/sandbox/szoerner/groovyldap/src/test/java/org/apache/directory/groovyldap/SearchTest.java
URL: http://svn.apache.org/viewvc/directory/sandbox/szoerner/groovyldap/src/test/java/org/apache/directory/groovyldap/SearchTest.java?rev=750602&view=auto
==============================================================================
--- directory/sandbox/szoerner/groovyldap/src/test/java/org/apache/directory/groovyldap/SearchTest.java
(added)
+++ directory/sandbox/szoerner/groovyldap/src/test/java/org/apache/directory/groovyldap/SearchTest.java
Thu Mar  5 21:37:28 2009
@@ -0,0 +1,43 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+
+package org.apache.directory.groovyldap;
+
+
+import org.junit.Assert;
+import org.junit.Test;
+
+
+public class SearchTest
+{
+
+    /**
+     * Check default values for a search
+     */
+    @Test
+    public void defaultConstructor()
+    {
+        Search search = new Search();
+
+        Assert.assertEquals( SearchScope.SUB, search.getScope() );
+
+    }
+
+}



Mime
View raw message