Author: sebawagner
Date: Fri Oct  4 22:55:40 2013
New Revision: 1529342

URL: http://svn.apache.org/r1529342
Log:
Fixes: Javadoc generation to use all source locations (probably need to split 
it up in the future, for example the screensharing client has zero dependncies 
to the rest of the code)
Adds: A test for the broken JPQL query

Added:
    
openmeetings/trunk/singlewebapp/src/test/java/org/apache/openmeetings/test/labels/TestGetFieldValues.java
Modified:
    openmeetings/trunk/singlewebapp/build.xml

Modified: openmeetings/trunk/singlewebapp/build.xml
URL: 
http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/build.xml?rev=1529342&r1=1529341&r2=1529342&view=diff
==============================================================================
--- openmeetings/trunk/singlewebapp/build.xml (original)
+++ openmeetings/trunk/singlewebapp/build.xml Fri Oct  4 22:55:40 2013
@@ -380,7 +380,7 @@
                        <format property="TODAY_YEAR" pattern="yyyy" 
locale="en" />
                </tstamp>
            <javadoc packagenames="org.apache.openmeetings.remote.*"
-                  sourcepath="${src.base.dir}/main/java"
+                  
sourcepath="${src.base.dir}/axis/java:${src.base.dir}/db/java:${src.base.dir}/doc/java:${src.base.dir}/install/java:${src.base.dir}/main/java:${src.base.dir}/screenshare/java:${src.base.dir}/util/java:${src.base.dir}/web/java"
                   excludepackagenames="org.apache.openmeetings.test.*"
                   defaultexcludes="yes"
                   destdir="build/api"

Added: 
openmeetings/trunk/singlewebapp/src/test/java/org/apache/openmeetings/test/labels/TestGetFieldValues.java
URL: 
http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/src/test/java/org/apache/openmeetings/test/labels/TestGetFieldValues.java?rev=1529342&view=auto
==============================================================================
--- 
openmeetings/trunk/singlewebapp/src/test/java/org/apache/openmeetings/test/labels/TestGetFieldValues.java
 (added)
+++ 
openmeetings/trunk/singlewebapp/src/test/java/org/apache/openmeetings/test/labels/TestGetFieldValues.java
 Fri Oct  4 22:55:40 2013
@@ -0,0 +1,46 @@
+/*
+ * 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.openmeetings.test.labels;
+
+import static org.junit.Assert.assertTrue;
+
+import org.apache.openmeetings.db.dao.label.FieldValueDao;
+import org.apache.openmeetings.db.entity.label.Fieldvalues;
+import org.apache.openmeetings.test.AbstractOpenmeetingsSpringTest;
+import org.junit.Test;
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+ * 
+ * @author sebawagner
+ * 
+ */
+public class TestGetFieldValues extends AbstractOpenmeetingsSpringTest {
+       
+       @Autowired
+       private FieldValueDao fieldValueDao;
+
+       @Test
+       public void testCount() throws Exception {
+               Fieldvalues fv = fieldValueDao.get(1L, 1L);
+               
+               assertTrue("Fieldvalues should not be null", (fv != null));
+       }
+       
+}


Reply via email to