Commits

Anonymous committed 638a5b6

Added AbstractPropertySetTest that contains quite a few unit tests; Updated build.xml to exclude abstract classes in junit; Added MemoryPropertySetTest, SerialablePropertySetTest to test suite. Fixed null pointer in SerializablePropertySet when calling remove()

git-svn-id: http://svn.opensymphony.com/svn/propertyset/trunk@137bf3cbcdd-1c1a-0410-9a68-d6f521e3fa7b

Comments (0)

Files changed (3)

       <batchtest todir="${dist}/docs/junit">
         <fileset dir="${src.test}">
           <include name="**/*Test.java"/>
+            <exclude name="**/Abstract*"/>
           <exclude name="**/Base*Test.java"/>
         </fileset>
       </batchtest>

src/java/com/opensymphony/module/propertyset/memory/SerializablePropertySet.java

     }
 
     public void remove() throws PropertyException {
-        super.remove();
         serialMap.clear();
     }
 

src/test/com/opensymphony/module/propertyset/memory/MemoryBasePropertySetTest.java

-/*
- * Copyright (c) 2002-2003 by OpenSymphony
- * All rights reserved.
- */
-package com.opensymphony.module.propertyset.memory;
-
-import com.opensymphony.module.propertyset.BasePropertySetTest;
-
-
-/**
- * This test case is functional in that it attempts to validate the entire
- * lifecycle of a workflow.  This is also a good resource for beginners
- * to OSWorkflow.
- *
- * @author Eric Pugh (epugh@upstate.com)
- */
-public class MemoryBasePropertySetTest extends BasePropertySetTest {
-    //~ Constructors ///////////////////////////////////////////////////////////
-
-    public MemoryBasePropertySetTest(String s) {
-        super(s);
-    }
-
-    //~ Methods ////////////////////////////////////////////////////////////////
-
-    public String getType() {
-        return "memory";
-    }
-}