incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r448311 [23/25] - in /incubator/graffito/trunk: ./ api/ api/src/java/org/apache/portals/graffito/context/ api/src/java/org/apache/portals/graffito/exception/ api/src/java/org/apache/portals/graffito/services/core/ api/src/java/org/apache/po...
Date Wed, 20 Sep 2006 19:37:21 GMT
Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/auto/AllTests.java
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/auto/AllTests.java?view=diff&rev=448311&r1=448310&r2=448311
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/auto/AllTests.java (original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/auto/AllTests.java Wed Sep 20 12:37:05 2006
@@ -1,45 +1,45 @@
-/* ========================================================================
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed 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.portals.graffito.jcr.persistence.auto;
-
-import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- * Package level tests.
- * 
- * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
- */
-public class AllTests {
-
-    public static Test suite() {
-        return new RepositoryLifecycleTestSetup(buildSuite());
-    }
-
-    public static Test buildSuite() {
-        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.persistence.auto");
-        //$JUnit-BEGIN$
-        suite.addTestSuite(PersistenceManagerAutoTest.class);
-
-        //$JUnit-END$
-
-        return suite;
-    }
-}
+/* ========================================================================
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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.portals.graffito.jcr.persistence.auto;
+
+import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+
+/**
+ * Package level tests.
+ * 
+ * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
+ */
+public class AllTests {
+
+    public static Test suite() {
+        return new RepositoryLifecycleTestSetup(buildSuite());
+    }
+
+    public static Test buildSuite() {
+        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.persistence.auto");
+        //$JUnit-BEGIN$
+        suite.addTestSuite(PersistenceManagerAutoTest.class);
+
+        //$JUnit-END$
+
+        return suite;
+    }
+}

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/auto/AllTests.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/auto/PersistenceManagerAutoTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/basic/AllTests.java
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/basic/AllTests.java?view=diff&rev=448311&r1=448310&r2=448311
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/basic/AllTests.java (original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/basic/AllTests.java Wed Sep 20 12:37:05 2006
@@ -1,46 +1,46 @@
-/* ========================================================================
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed 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.portals.graffito.jcr.persistence.basic;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
-
-
-/**
- * Package level tests.
- * 
- * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
- */
-public class AllTests {
-
-    public static Test suite() {
-        return new RepositoryLifecycleTestSetup(buildSuite());
-    }
-
-    public static Test buildSuite() {
-        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.persistence.basic");
-        //$JUnit-BEGIN$
-        suite.addTestSuite(PersistenceManagerRemoveTest.class);
-        suite.addTestSuite(PersistenceManagerSameNameSiblingTest.class);
-        suite.addTestSuite(PersistenceManagerTest.class);
-        //$JUnit-END$
-
-        return suite;
-    }
-}
+/* ========================================================================
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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.portals.graffito.jcr.persistence.basic;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
+
+
+/**
+ * Package level tests.
+ * 
+ * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
+ */
+public class AllTests {
+
+    public static Test suite() {
+        return new RepositoryLifecycleTestSetup(buildSuite());
+    }
+
+    public static Test buildSuite() {
+        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.persistence.basic");
+        //$JUnit-BEGIN$
+        suite.addTestSuite(PersistenceManagerRemoveTest.class);
+        suite.addTestSuite(PersistenceManagerSameNameSiblingTest.class);
+        suite.addTestSuite(PersistenceManagerTest.class);
+        //$JUnit-END$
+
+        return suite;
+    }
+}

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/basic/AllTests.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/basic/PersistenceManagerRemoveTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/basic/PersistenceManagerSameNameSiblingTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/basic/PersistenceManagerTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/beanconverter/AllTests.java
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/beanconverter/AllTests.java?view=diff&rev=448311&r1=448310&r2=448311
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/beanconverter/AllTests.java (original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/beanconverter/AllTests.java Wed Sep 20 12:37:05 2006
@@ -1,44 +1,44 @@
-/* ========================================================================
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed 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.portals.graffito.jcr.persistence.beanconverter;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
-
-
-/**
- * Package level tests.
- * 
- * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
- */
-public class AllTests {
-
-    public static Test suite() {
-        return new RepositoryLifecycleTestSetup(buildSuite());
-    }
-
-    public static Test buildSuite() {
-        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.persistence.beanconverter");
-        //$JUnit-BEGIN$
-        suite.addTestSuite(BeanDescriptorTest.class);
-        //$JUnit-END$
-
-        return suite;
-    }
-}
+/* ========================================================================
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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.portals.graffito.jcr.persistence.beanconverter;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
+
+
+/**
+ * Package level tests.
+ * 
+ * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
+ */
+public class AllTests {
+
+    public static Test suite() {
+        return new RepositoryLifecycleTestSetup(buildSuite());
+    }
+
+    public static Test buildSuite() {
+        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.persistence.beanconverter");
+        //$JUnit-BEGIN$
+        suite.addTestSuite(BeanDescriptorTest.class);
+        //$JUnit-END$
+
+        return suite;
+    }
+}

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/beanconverter/AllTests.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/beanconverter/BeanDescriptorTest.java
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/beanconverter/BeanDescriptorTest.java?view=diff&rev=448311&r1=448310&r2=448311
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/beanconverter/BeanDescriptorTest.java (original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/beanconverter/BeanDescriptorTest.java Wed Sep 20 12:37:05 2006
@@ -1,192 +1,192 @@
-/*
- * Copyright 2000-2004 The Apache Software Foundation.
- * 
- * Licensed 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.portals.graffito.jcr.persistence.beanconverter;
-
-
-
-import java.util.List;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
-import org.apache.portals.graffito.jcr.TestBase;
-import org.apache.portals.graffito.jcr.mapper.model.BeanDescriptor;
-import org.apache.portals.graffito.jcr.persistence.objectconverter.ObjectConverter;
-import org.apache.portals.graffito.jcr.persistence.objectconverter.impl.ObjectConverterImpl;
-import org.apache.portals.graffito.jcr.testmodel.B;
-import org.apache.portals.graffito.jcr.testmodel.D;
-import org.apache.portals.graffito.jcr.testmodel.DFull;
-import org.apache.portals.graffito.jcr.testmodel.E;
-
-/**
- * ObjectConverter test for bean-descriptor with inner bean inlined and inner bean with
- * custom converter.
- * 
- * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
- */
-public class BeanDescriptorTest extends TestBase {
-    private ObjectConverter objectConverter;
-    
-    public BeanDescriptorTest(String testname) {
-        super(testname);
-    }
-
-    public static Test suite() {
-
-        // All methods starting with "test" will be executed in the test suite.
-        return new RepositoryLifecycleTestSetup(new TestSuite(BeanDescriptorTest.class));
-    }
-    
-    
-    /**
-     * @see org.apache.portals.graffito.jcr.TestBase#setUp()
-     */
-    protected void setUp() throws Exception {
-        super.setUp();
-        this.objectConverter = new ObjectConverterImpl(this.mapper, this.converterProvider);
-
-        clean();
-    }
-
-    
-    /**
-     * @see org.apache.portals.graffito.jcr.TestBase#tearDown()
-     */
-    public void tearDown() throws Exception {
-        clean();
-        super.tearDown();
-    }
-
-    private void clean() throws Exception {
-        if(getSession().itemExists("/someD")) {
-            getSession().getItem("/someD").remove();
-            getSession().save();
-        }
-    }
-    
-    public void testInlined() throws Exception {
-        System.out.println("inlined");
-        
-        B expB = new B();
-        expB.setB1("b1value");
-        expB.setB2("b2value");
-        D expD = new D();
-        expD.setPath("/someD");
-        expD.setD1("d1value");
-        expD.setB1(expB);
-        
-       persistenceManager.insert( expD);
-       persistenceManager.save();
-        
-        D actD = (D) persistenceManager.getObject( "/someD");
-        
-        assertEquals(expD.getD1(), actD.getD1());
-        assertEquals(expB.getB1(), actD.getB1().getB1());
-        assertEquals(expB.getB2(), actD.getB1().getB2());
-        
-        DFull actDFull = (DFull) persistenceManager.getObject( DFull.class,  "/someD");
-        
-        assertEquals(expD.getD1(), actDFull.getD1());
-        assertEquals(expB.getB1(), actDFull.getB1());
-        assertEquals(expB.getB2(), actDFull.getB2());
-        
-        expB.setB1("updatedvalue1");
-        
-        persistenceManager.update( expD);
-        getSession().save();
-        
-        actD = (D) persistenceManager.getObject( "/someD");
-        
-        assertEquals(expD.getD1(), actD.getD1());
-        assertEquals(expB.getB1(), actD.getB1().getB1());
-        assertEquals(expB.getB2(), actD.getB1().getB2());
-        
-        actDFull = (DFull) persistenceManager.getObject( DFull.class,  "/someD");
-        
-        assertEquals(expD.getD1(), actDFull.getD1());
-        assertEquals(expB.getB1(), actDFull.getB1());
-        assertEquals(expB.getB2(), actDFull.getB2());
-        
-            
-        expD.setB1(null);
-        persistenceManager.update( expD);
-        getSession().save();
-        
-        actD = (D) persistenceManager.getObject(  "/someD");
-        
-        assertEquals(expD.getD1(), actD.getD1());
-        assertNull("b1 was not  removed", actD.getB1());
-        
-        actDFull = (DFull) persistenceManager.getObject( DFull.class,  "/someD");
-        
-        assertEquals(expD.getD1(), actDFull.getD1());
-        assertNull("b1 was not  removed", actDFull.getB1());
-        assertNull("b2 wan not remove", actDFull.getB2());
-
-    }
-    
-    
-    public void testBeanDescriptorConverter() throws Exception 
-    {
-        
-        B expB = new B();
-        expB.setB1("b1value");
-        expB.setB2("b2value");
-        E expE = new E();
-        expE.setPath("/someD");
-        expE.setD1("d1value");
-        expE.setB1(expB);
-        
-        
-        persistenceManager.insert( expE);
-        persistenceManager.save();
-       
-        E actE = (E) persistenceManager.getObject( "/someD");
-       
-        assertEquals(expE.getD1(), actE.getD1());
-        
-        expE.setD1("updatedvalueD1");
-        expB.setB1("updatedvalue1");
-        
-        persistenceManager.update( expE);
-        persistenceManager.save();
-               
-        actE = (E) persistenceManager.getObject(  "/someD");
-        
-        assertEquals(expE.getD1(), actE.getD1());
-                        
-        expE.setB1(null);
-        persistenceManager.update( expE);
-        persistenceManager.save();
-        
-        actE = (E) persistenceManager.getObject(  "/someD");
-        
-        assertEquals(expE.getD1(), actE.getD1());        
-        
-   
-        List messages = FakeBeanConverter.getLog();
-        assertEquals(6, messages.size());
-        assertEquals("insert at path /someD", messages.get(0));
-        assertEquals("get from path /someD", messages.get(1));
-        assertEquals("update at path /someD", messages.get(2));
-        assertEquals("get from path /someD", messages.get(3));
-        assertEquals("remove from path /someD", messages.get(4));
-        assertEquals("get from path /someD", messages.get(5));
-
-    }
-    
-}
+/*
+ * Copyright 2000-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.portals.graffito.jcr.persistence.beanconverter;
+
+
+
+import java.util.List;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
+import org.apache.portals.graffito.jcr.TestBase;
+import org.apache.portals.graffito.jcr.mapper.model.BeanDescriptor;
+import org.apache.portals.graffito.jcr.persistence.objectconverter.ObjectConverter;
+import org.apache.portals.graffito.jcr.persistence.objectconverter.impl.ObjectConverterImpl;
+import org.apache.portals.graffito.jcr.testmodel.B;
+import org.apache.portals.graffito.jcr.testmodel.D;
+import org.apache.portals.graffito.jcr.testmodel.DFull;
+import org.apache.portals.graffito.jcr.testmodel.E;
+
+/**
+ * ObjectConverter test for bean-descriptor with inner bean inlined and inner bean with
+ * custom converter.
+ * 
+ * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
+ */
+public class BeanDescriptorTest extends TestBase {
+    private ObjectConverter objectConverter;
+    
+    public BeanDescriptorTest(String testname) {
+        super(testname);
+    }
+
+    public static Test suite() {
+
+        // All methods starting with "test" will be executed in the test suite.
+        return new RepositoryLifecycleTestSetup(new TestSuite(BeanDescriptorTest.class));
+    }
+    
+    
+    /**
+     * @see org.apache.portals.graffito.jcr.TestBase#setUp()
+     */
+    protected void setUp() throws Exception {
+        super.setUp();
+        this.objectConverter = new ObjectConverterImpl(this.mapper, this.converterProvider);
+
+        clean();
+    }
+
+    
+    /**
+     * @see org.apache.portals.graffito.jcr.TestBase#tearDown()
+     */
+    public void tearDown() throws Exception {
+        clean();
+        super.tearDown();
+    }
+
+    private void clean() throws Exception {
+        if(getSession().itemExists("/someD")) {
+            getSession().getItem("/someD").remove();
+            getSession().save();
+        }
+    }
+    
+    public void testInlined() throws Exception {
+        System.out.println("inlined");
+        
+        B expB = new B();
+        expB.setB1("b1value");
+        expB.setB2("b2value");
+        D expD = new D();
+        expD.setPath("/someD");
+        expD.setD1("d1value");
+        expD.setB1(expB);
+        
+       persistenceManager.insert( expD);
+       persistenceManager.save();
+        
+        D actD = (D) persistenceManager.getObject( "/someD");
+        
+        assertEquals(expD.getD1(), actD.getD1());
+        assertEquals(expB.getB1(), actD.getB1().getB1());
+        assertEquals(expB.getB2(), actD.getB1().getB2());
+        
+        DFull actDFull = (DFull) persistenceManager.getObject( DFull.class,  "/someD");
+        
+        assertEquals(expD.getD1(), actDFull.getD1());
+        assertEquals(expB.getB1(), actDFull.getB1());
+        assertEquals(expB.getB2(), actDFull.getB2());
+        
+        expB.setB1("updatedvalue1");
+        
+        persistenceManager.update( expD);
+        getSession().save();
+        
+        actD = (D) persistenceManager.getObject( "/someD");
+        
+        assertEquals(expD.getD1(), actD.getD1());
+        assertEquals(expB.getB1(), actD.getB1().getB1());
+        assertEquals(expB.getB2(), actD.getB1().getB2());
+        
+        actDFull = (DFull) persistenceManager.getObject( DFull.class,  "/someD");
+        
+        assertEquals(expD.getD1(), actDFull.getD1());
+        assertEquals(expB.getB1(), actDFull.getB1());
+        assertEquals(expB.getB2(), actDFull.getB2());
+        
+            
+        expD.setB1(null);
+        persistenceManager.update( expD);
+        getSession().save();
+        
+        actD = (D) persistenceManager.getObject(  "/someD");
+        
+        assertEquals(expD.getD1(), actD.getD1());
+        assertNull("b1 was not  removed", actD.getB1());
+        
+        actDFull = (DFull) persistenceManager.getObject( DFull.class,  "/someD");
+        
+        assertEquals(expD.getD1(), actDFull.getD1());
+        assertNull("b1 was not  removed", actDFull.getB1());
+        assertNull("b2 wan not remove", actDFull.getB2());
+
+    }
+    
+    
+    public void testBeanDescriptorConverter() throws Exception 
+    {
+        
+        B expB = new B();
+        expB.setB1("b1value");
+        expB.setB2("b2value");
+        E expE = new E();
+        expE.setPath("/someD");
+        expE.setD1("d1value");
+        expE.setB1(expB);
+        
+        
+        persistenceManager.insert( expE);
+        persistenceManager.save();
+       
+        E actE = (E) persistenceManager.getObject( "/someD");
+       
+        assertEquals(expE.getD1(), actE.getD1());
+        
+        expE.setD1("updatedvalueD1");
+        expB.setB1("updatedvalue1");
+        
+        persistenceManager.update( expE);
+        persistenceManager.save();
+               
+        actE = (E) persistenceManager.getObject(  "/someD");
+        
+        assertEquals(expE.getD1(), actE.getD1());
+                        
+        expE.setB1(null);
+        persistenceManager.update( expE);
+        persistenceManager.save();
+        
+        actE = (E) persistenceManager.getObject(  "/someD");
+        
+        assertEquals(expE.getD1(), actE.getD1());        
+        
+   
+        List messages = FakeBeanConverter.getLog();
+        assertEquals(6, messages.size());
+        assertEquals("insert at path /someD", messages.get(0));
+        assertEquals("get from path /someD", messages.get(1));
+        assertEquals("update at path /someD", messages.get(2));
+        assertEquals("get from path /someD", messages.get(3));
+        assertEquals("remove from path /someD", messages.get(4));
+        assertEquals("get from path /someD", messages.get(5));
+
+    }
+    
+}

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/beanconverter/BeanDescriptorTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/beanconverter/FakeBeanConverter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/collectionconverter/AllTests.java
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/collectionconverter/AllTests.java?view=diff&rev=448311&r1=448310&r2=448311
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/collectionconverter/AllTests.java (original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/collectionconverter/AllTests.java Wed Sep 20 12:37:05 2006
@@ -1,47 +1,47 @@
-/* ========================================================================
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed 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.portals.graffito.jcr.persistence.collectionconverter;
-
-import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- * Package level tests.
- * 
- * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
- */
-public class AllTests {
-
-    public static Test suite() {
-        return new RepositoryLifecycleTestSetup(buildSuite());
-    }
-
-    public static Test buildSuite() {
-        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.persistence.collectionconverter");
-        //$JUnit-BEGIN$
-        suite.addTestSuite(DefaultCollectionConverterImplTest.class);
-        suite.addTestSuite(HashMapTest.class);
-        suite.addTestSuite(MultiValueCollectionConverterImplTest.class);
-        suite.addTestSuite(NTCollectionConverterImplTest.class);
-        //$JUnit-END$
-
-        return suite;
-    }
-}
+/* ========================================================================
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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.portals.graffito.jcr.persistence.collectionconverter;
+
+import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+
+/**
+ * Package level tests.
+ * 
+ * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
+ */
+public class AllTests {
+
+    public static Test suite() {
+        return new RepositoryLifecycleTestSetup(buildSuite());
+    }
+
+    public static Test buildSuite() {
+        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.persistence.collectionconverter");
+        //$JUnit-BEGIN$
+        suite.addTestSuite(DefaultCollectionConverterImplTest.class);
+        suite.addTestSuite(HashMapTest.class);
+        suite.addTestSuite(MultiValueCollectionConverterImplTest.class);
+        suite.addTestSuite(NTCollectionConverterImplTest.class);
+        //$JUnit-END$
+
+        return suite;
+    }
+}

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/collectionconverter/AllTests.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/collectionconverter/DefaultCollectionConverterImplTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/collectionconverter/HashMapTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/collectionconverter/MultiValueCollectionConverterImplTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/collectionconverter/NTCollectionConverterImplTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/inheritance/AllTests.java
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/inheritance/AllTests.java?view=diff&rev=448311&r1=448310&r2=448311
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/inheritance/AllTests.java (original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/inheritance/AllTests.java Wed Sep 20 12:37:05 2006
@@ -1,45 +1,45 @@
-/* ========================================================================
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed 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.portals.graffito.jcr.persistence.inheritance;
-
-import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- * Package level tests.
- * 
- * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
- */
-public class AllTests {
-
-    public static Test suite() {
-        return new RepositoryLifecycleTestSetup(buildSuite());
-    }
-
-    public static Test buildSuite() {
-        TestSuite suite= new TestSuite("Test for  org.apache.portals.graffito.jcr.persistence.inheritance");
-        //$JUnit-BEGIN$
-        suite.addTestSuite(PersistenceManagerInheritanceConcreteClassTest.class);
-        suite.addTestSuite(PersistenceManagerInheritanceHierarchyTest.class);        
-        //$JUnit-END$
-
-        return suite;
-    }
-}
+/* ========================================================================
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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.portals.graffito.jcr.persistence.inheritance;
+
+import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+
+/**
+ * Package level tests.
+ * 
+ * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
+ */
+public class AllTests {
+
+    public static Test suite() {
+        return new RepositoryLifecycleTestSetup(buildSuite());
+    }
+
+    public static Test buildSuite() {
+        TestSuite suite= new TestSuite("Test for  org.apache.portals.graffito.jcr.persistence.inheritance");
+        //$JUnit-BEGIN$
+        suite.addTestSuite(PersistenceManagerInheritanceConcreteClassTest.class);
+        suite.addTestSuite(PersistenceManagerInheritanceHierarchyTest.class);        
+        //$JUnit-END$
+
+        return suite;
+    }
+}

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/inheritance/AllTests.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/inheritance/PersistenceManagerInheritanceConcreteClassTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/inheritance/PersistenceManagerInheritanceHierarchyTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/interfaces/AllTests.java
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/interfaces/AllTests.java?view=diff&rev=448311&r1=448310&r2=448311
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/interfaces/AllTests.java (original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/interfaces/AllTests.java Wed Sep 20 12:37:05 2006
@@ -1,45 +1,45 @@
-/* ========================================================================
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed 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.portals.graffito.jcr.persistence.interfaces;
-
-import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- * Package level tests.
- * 
- * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
- */
-public class AllTests {
-
-    public static Test suite() {
-        return new RepositoryLifecycleTestSetup(buildSuite());
-    }
-
-    public static Test buildSuite() {
-        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.persistence.interfaces");
-        //$JUnit-BEGIN$
-        suite.addTestSuite(PersistenceManagerInterfaceConcreteClassTest.class);
-        suite.addTestSuite(PersistenceManagerInterfaceHierarchyTest.class);        
-        //$JUnit-END$
-
-        return suite;
-    }
-}
+/* ========================================================================
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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.portals.graffito.jcr.persistence.interfaces;
+
+import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+
+/**
+ * Package level tests.
+ * 
+ * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
+ */
+public class AllTests {
+
+    public static Test suite() {
+        return new RepositoryLifecycleTestSetup(buildSuite());
+    }
+
+    public static Test buildSuite() {
+        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.persistence.interfaces");
+        //$JUnit-BEGIN$
+        suite.addTestSuite(PersistenceManagerInterfaceConcreteClassTest.class);
+        suite.addTestSuite(PersistenceManagerInterfaceHierarchyTest.class);        
+        //$JUnit-END$
+
+        return suite;
+    }
+}

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/interfaces/AllTests.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/interfaces/PersistenceManagerInterfaceConcreteClassTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/interfaces/PersistenceManagerInterfaceHierarchyTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/proxy/AllTests.java
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/proxy/AllTests.java?view=diff&rev=448311&r1=448310&r2=448311
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/proxy/AllTests.java (original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/proxy/AllTests.java Wed Sep 20 12:37:05 2006
@@ -1,45 +1,45 @@
-/* ========================================================================
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed 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.portals.graffito.jcr.persistence.proxy;
-
-import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- * Package level tests.
- * 
- * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
- */
-public class AllTests {
-
-    public static Test suite() {
-        return new RepositoryLifecycleTestSetup(buildSuite());
-    }
-
-    public static Test buildSuite() {
-        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.persistence.proxy");
-        //$JUnit-BEGIN$
-        suite.addTestSuite(ProxyTest.class);
-        
-        //$JUnit-END$
-
-        return suite;
-    }
-}
+/* ========================================================================
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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.portals.graffito.jcr.persistence.proxy;
+
+import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+
+/**
+ * Package level tests.
+ * 
+ * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
+ */
+public class AllTests {
+
+    public static Test suite() {
+        return new RepositoryLifecycleTestSetup(buildSuite());
+    }
+
+    public static Test buildSuite() {
+        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.persistence.proxy");
+        //$JUnit-BEGIN$
+        suite.addTestSuite(ProxyTest.class);
+        
+        //$JUnit-END$
+
+        return suite;
+    }
+}

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/proxy/AllTests.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/proxy/ProxyTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/query/AllTests.java
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/query/AllTests.java?view=diff&rev=448311&r1=448310&r2=448311
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/query/AllTests.java (original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/query/AllTests.java Wed Sep 20 12:37:05 2006
@@ -1,49 +1,49 @@
-/* ========================================================================
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed 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.portals.graffito.jcr.persistence.query;
-
-import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- * Package level tests.
- * 
- * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
- */
-public class AllTests {
-
-    public static Test suite() {
-        return new RepositoryLifecycleTestSetup(buildSuite());
-    }
-
-    public static Test buildSuite() {
-        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.persistence.query");
-        //$JUnit-BEGIN$
-        suite.addTestSuite(PersistenceManagerAtomicQueryTest.class);
-        suite.addTestSuite(PersistenceManagerIteratorQueryTest.class);
-        suite.addTestSuite(PersistenceManagerMultiValueQueryTest.class);
-        suite.addTestSuite(PersistenceManagerScopeQueryTest.class);
-        suite.addTestSuite(PersistenceManagerSimpleQueryTest.class);
-        
-        //$JUnit-END$
-
-        return suite;
-    }
-}
+/* ========================================================================
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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.portals.graffito.jcr.persistence.query;
+
+import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+
+/**
+ * Package level tests.
+ * 
+ * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
+ */
+public class AllTests {
+
+    public static Test suite() {
+        return new RepositoryLifecycleTestSetup(buildSuite());
+    }
+
+    public static Test buildSuite() {
+        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.persistence.query");
+        //$JUnit-BEGIN$
+        suite.addTestSuite(PersistenceManagerAtomicQueryTest.class);
+        suite.addTestSuite(PersistenceManagerIteratorQueryTest.class);
+        suite.addTestSuite(PersistenceManagerMultiValueQueryTest.class);
+        suite.addTestSuite(PersistenceManagerScopeQueryTest.class);
+        suite.addTestSuite(PersistenceManagerSimpleQueryTest.class);
+        
+        //$JUnit-END$
+
+        return suite;
+    }
+}

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/query/AllTests.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/query/PersistenceManagerAtomicQueryTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/query/PersistenceManagerIteratorQueryTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/query/PersistenceManagerMultiValueQueryTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/query/PersistenceManagerScopeQueryTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/query/PersistenceManagerSimpleQueryTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/version/AllTests.java
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/version/AllTests.java?view=diff&rev=448311&r1=448310&r2=448311
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/version/AllTests.java (original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/version/AllTests.java Wed Sep 20 12:37:05 2006
@@ -1,46 +1,46 @@
-/* ========================================================================
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed 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.portals.graffito.jcr.persistence.version;
-
-import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- * Package level tests.
- * 
- * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
- */
-public class AllTests {
-
-    public static Test suite() {
-        return new RepositoryLifecycleTestSetup(buildSuite());
-    }
-
-    public static Test buildSuite() {
-        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.persistence.version");
-        //$JUnit-BEGIN$
-        suite.addTestSuite(PersistenceManagerBasicVersionningTest.class);
-       
-        
-        //$JUnit-END$
-
-        return suite;
-    }
-}
+/* ========================================================================
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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.portals.graffito.jcr.persistence.version;
+
+import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+
+/**
+ * Package level tests.
+ * 
+ * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
+ */
+public class AllTests {
+
+    public static Test suite() {
+        return new RepositoryLifecycleTestSetup(buildSuite());
+    }
+
+    public static Test buildSuite() {
+        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.persistence.version");
+        //$JUnit-BEGIN$
+        suite.addTestSuite(PersistenceManagerBasicVersionningTest.class);
+       
+        
+        //$JUnit-END$
+
+        return suite;
+    }
+}

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/version/AllTests.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/persistence/version/PersistenceManagerBasicVersionningTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/querymanager/AllTests.java
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/querymanager/AllTests.java?view=diff&rev=448311&r1=448310&r2=448311
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/querymanager/AllTests.java (original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/querymanager/AllTests.java Wed Sep 20 12:37:05 2006
@@ -1,46 +1,46 @@
-/* ========================================================================
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed 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.portals.graffito.jcr.querymanager;
-
-import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- * Package level tests.
- * 
- * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
- */
-public class AllTests {
-
-    public static Test suite() {
-        return new RepositoryLifecycleTestSetup(buildSuite());
-    }
-
-    public static Test buildSuite() {
-        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.querymanager");
-        //$JUnit-BEGIN$
-        suite.addTestSuite(QueryManagerTest.class);
-       
-        
-        //$JUnit-END$
-
-        return suite;
-    }
-}
+/* ========================================================================
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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.portals.graffito.jcr.querymanager;
+
+import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+
+/**
+ * Package level tests.
+ * 
+ * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
+ */
+public class AllTests {
+
+    public static Test suite() {
+        return new RepositoryLifecycleTestSetup(buildSuite());
+    }
+
+    public static Test buildSuite() {
+        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.querymanager");
+        //$JUnit-BEGIN$
+        suite.addTestSuite(QueryManagerTest.class);
+       
+        
+        //$JUnit-END$
+
+        return suite;
+    }
+}

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/querymanager/AllTests.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/querymanager/QueryManagerTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/repository/AllTests.java
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/repository/AllTests.java?view=diff&rev=448311&r1=448310&r2=448311
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/repository/AllTests.java (original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/repository/AllTests.java Wed Sep 20 12:37:05 2006
@@ -1,46 +1,46 @@
-/* ========================================================================
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed 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.portals.graffito.jcr.repository;
-
-import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-
-/**
- * Package level tests.
- * 
- * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
- */
-public class AllTests {
-
-    public static Test suite() {
-        return new RepositoryLifecycleTestSetup(buildSuite());
-    }
-
-    public static Test buildSuite() {
-        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.repository");
-        //$JUnit-BEGIN$
-        suite.addTestSuite(RepositoryUtilTest.class);
-       
-        
-        //$JUnit-END$
-
-        return suite;
-    }
-}
+/* ========================================================================
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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.portals.graffito.jcr.repository;
+
+import org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+
+/**
+ * Package level tests.
+ * 
+ * @author <a href='mailto:the_mindstorm[at]evolva[dot]ro'>Alexandru Popescu</a>
+ */
+public class AllTests {
+
+    public static Test suite() {
+        return new RepositoryLifecycleTestSetup(buildSuite());
+    }
+
+    public static Test buildSuite() {
+        TestSuite suite= new TestSuite("Test for org.apache.portals.graffito.jcr.repository");
+        //$JUnit-BEGIN$
+        suite.addTestSuite(RepositoryUtilTest.class);
+       
+        
+        //$JUnit-END$
+
+        return suite;
+    }
+}

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/repository/AllTests.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/repository/RepositoryUtilTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/A.java
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/A.java?view=diff&rev=448311&r1=448310&r2=448311
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/A.java (original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/A.java Wed Sep 20 12:37:05 2006
@@ -1,131 +1,131 @@
-/*
- * Copyright 2000-2004 The Apache Software Foundation.
- * 
- * Licensed 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.portals.graffito.jcr.testmodel;
-
-import java.util.ArrayList;
-import java.util.Collection;
-
-/**
- *
- * @author <a href="mailto:christophe.lombart@sword-technologies.com">Lombart Christophe </a>
- * @version $Id: Exp $
- */
-public class A
-{
-	private String path; 
-    private String a1;
-    private String a2;
-    private B b;
-    private B emptyB;
-    private Collection collection;
-    private Collection emptyCollection; 
-    
-    
-    
-    public String getPath() {
-		return path;
-	}
-	public void setPath(String path) {
-		this.path = path;
-	}
-	/**
-     * @return Returns the a1.
-     */
-    public String getA1()
-    {
-        return a1;
-    }
-    /**
-     * @param a1 The a1 to set.
-     */
-    public void setA1(String a1)
-    {
-        this.a1 = a1;
-    }
-    /**
-     * @return Returns the a2.
-     */
-    public String getA2()
-    {
-        return a2;
-    }
-    /**
-     * @param a2 The a2 to set.
-     */
-    public void setA2(String a2)
-    {
-        this.a2 = a2;
-    }
-    /**
-     * @return Returns the b.
-     */
-    public B getB()
-    {
-        return b;
-    }
-    /**
-     * @param b The b to set.
-     */
-    public void setB(B b)
-    {
-        this.b = b;
-    }
-    
-        
-    /**
-     * @return Returns the collection.
-     */
-    public Collection getCollection()
-    {
-        return collection;
-    }
-    
-    /**
-     * @param collection The collection to set.
-     */
-    public void setCollection(Collection collection)
-    {
-        this.collection = collection;
-    }
-    
-    public void addC(C c)
-    {
-       if (collection == null )
-       {
-           collection = new ArrayList();
-       }
-       
-       collection.add(c);   
-    }
-    public Collection getEmptyCollection()
-    {
-        return emptyCollection;
-    }
-    public void setEmptyCollection(Collection emptyCollection)
-    {
-        this.emptyCollection = emptyCollection;
-    }
-    public B getEmptyB()
-    {
-        return emptyB;
-    }
-    public void setEmptyB(B emptyB)
-    {
-        this.emptyB = emptyB;
-    }
-    
-    
-}
+/*
+ * Copyright 2000-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.portals.graffito.jcr.testmodel;
+
+import java.util.ArrayList;
+import java.util.Collection;
+
+/**
+ *
+ * @author <a href="mailto:christophe.lombart@sword-technologies.com">Lombart Christophe </a>
+ * @version $Id: Exp $
+ */
+public class A
+{
+	private String path; 
+    private String a1;
+    private String a2;
+    private B b;
+    private B emptyB;
+    private Collection collection;
+    private Collection emptyCollection; 
+    
+    
+    
+    public String getPath() {
+		return path;
+	}
+	public void setPath(String path) {
+		this.path = path;
+	}
+	/**
+     * @return Returns the a1.
+     */
+    public String getA1()
+    {
+        return a1;
+    }
+    /**
+     * @param a1 The a1 to set.
+     */
+    public void setA1(String a1)
+    {
+        this.a1 = a1;
+    }
+    /**
+     * @return Returns the a2.
+     */
+    public String getA2()
+    {
+        return a2;
+    }
+    /**
+     * @param a2 The a2 to set.
+     */
+    public void setA2(String a2)
+    {
+        this.a2 = a2;
+    }
+    /**
+     * @return Returns the b.
+     */
+    public B getB()
+    {
+        return b;
+    }
+    /**
+     * @param b The b to set.
+     */
+    public void setB(B b)
+    {
+        this.b = b;
+    }
+    
+        
+    /**
+     * @return Returns the collection.
+     */
+    public Collection getCollection()
+    {
+        return collection;
+    }
+    
+    /**
+     * @param collection The collection to set.
+     */
+    public void setCollection(Collection collection)
+    {
+        this.collection = collection;
+    }
+    
+    public void addC(C c)
+    {
+       if (collection == null )
+       {
+           collection = new ArrayList();
+       }
+       
+       collection.add(c);   
+    }
+    public Collection getEmptyCollection()
+    {
+        return emptyCollection;
+    }
+    public void setEmptyCollection(Collection emptyCollection)
+    {
+        this.emptyCollection = emptyCollection;
+    }
+    public B getEmptyB()
+    {
+        return emptyB;
+    }
+    public void setEmptyB(B emptyB)
+    {
+        this.emptyB = emptyB;
+    }
+    
+    
+}

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/A.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/Atomic.java
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/Atomic.java?view=diff&rev=448311&r1=448310&r2=448311
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/Atomic.java (original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/Atomic.java Wed Sep 20 12:37:05 2006
@@ -1,163 +1,163 @@
-/*
- * Copyright 2000-2004 The Apache Software Foundation.
- * 
- * Licensed 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.portals.graffito.jcr.testmodel;
-
-import java.io.InputStream;
-import java.sql.Timestamp;
-import java.util.ArrayList;
-import java.util.Calendar;
-import java.util.Collection;
-import java.util.Date;
-
-/**
- *
- * Simple object used to test atomic type
- * @author <a href="mailto:christophe.lombart@sword-technologies.com">Lombart Christophe </a>
- * @version $Id: Exp $
- */
-public class Atomic
-{
-	private String path;
-    private String string;
-    private Boolean booleanObject;
-    private boolean booleanPrimitive;
-    private Integer integerObject;
-    private int intPrimitive;
-    private byte[] byteArray;
-    private Calendar calendar;
-    private Date date;
-    private Double doubleObject;
-    private double doublePrimitive;
-    private InputStream inputStream;
-    private Timestamp timestamp;
-    private Collection multiValue;
-    
-    
-    
-    public String getPath() {
-		return path;
-	}
-	public void setPath(String path) {
-		this.path = path;
-	}
-	public Boolean getBooleanObject()
-    {
-        return booleanObject;
-    }
-    public void setBooleanObject(Boolean booleanObject)
-    {
-        this.booleanObject = booleanObject;
-    }
-    public boolean isBooleanPrimitive()
-    {
-        return booleanPrimitive;
-    }
-    public void setBooleanPrimitive(boolean booleanPrimitive)
-    {
-        this.booleanPrimitive = booleanPrimitive;
-    }
-    public Integer getIntegerObject()
-    {
-        return integerObject;
-    }
-    public void setIntegerObject(Integer integerObject)
-    {
-        this.integerObject = integerObject;
-    }
-    public int getIntPrimitive()
-    {
-        return intPrimitive;
-    }
-    public void setIntPrimitive(int intPrimitive)
-    {
-        this.intPrimitive = intPrimitive;
-    }
-    public String getString()
-    {
-        return string;
-    }
-    public void setString(String string)
-    {
-        this.string = string;
-    }
-    public byte[] getByteArray()
-    {
-        return byteArray;
-    }
-    public void setByteArray(byte[] byteArray)
-    {
-        this.byteArray = byteArray;
-    }
-    public Calendar getCalendar()
-    {
-        return calendar;
-    }
-    public void setCalendar(Calendar calandar)
-    {
-        this.calendar = calandar;
-    }
-    public Date getDate()
-    {
-        return date;
-    }
-    public void setDate(Date date)
-    {
-        this.date = date;
-    }
-    public Double getDoubleObject()
-    {
-        return doubleObject;
-    }
-    public void setDoubleObject(Double doubleObject)
-    {
-        this.doubleObject = doubleObject;
-    }
-    public double getDoublePrimitive()
-    {
-        return doublePrimitive;
-    }
-    public void setDoublePrimitive(double doublePrimitive)
-    {
-        this.doublePrimitive = doublePrimitive;
-    }
-    public InputStream getInputStream()
-    {
-        return inputStream;
-    }
-    public void setInputStream(InputStream inputStream)
-    {
-        this.inputStream = inputStream;
-    }
-    public Timestamp getTimestamp()
-    {
-        return timestamp;
-    }
-    public void setTimestamp(Timestamp timestamp)
-    {
-        this.timestamp = timestamp;
-    }
-    
-	public Collection getMultiValue()
-	{
-		return multiValue;
-	}
-	public void setMultiValue(Collection multiValue)
-	{
-		this.multiValue = multiValue;
-	}
-    
-    
-}
+/*
+ * Copyright 2000-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.portals.graffito.jcr.testmodel;
+
+import java.io.InputStream;
+import java.sql.Timestamp;
+import java.util.ArrayList;
+import java.util.Calendar;
+import java.util.Collection;
+import java.util.Date;
+
+/**
+ *
+ * Simple object used to test atomic type
+ * @author <a href="mailto:christophe.lombart@sword-technologies.com">Lombart Christophe </a>
+ * @version $Id: Exp $
+ */
+public class Atomic
+{
+	private String path;
+    private String string;
+    private Boolean booleanObject;
+    private boolean booleanPrimitive;
+    private Integer integerObject;
+    private int intPrimitive;
+    private byte[] byteArray;
+    private Calendar calendar;
+    private Date date;
+    private Double doubleObject;
+    private double doublePrimitive;
+    private InputStream inputStream;
+    private Timestamp timestamp;
+    private Collection multiValue;
+    
+    
+    
+    public String getPath() {
+		return path;
+	}
+	public void setPath(String path) {
+		this.path = path;
+	}
+	public Boolean getBooleanObject()
+    {
+        return booleanObject;
+    }
+    public void setBooleanObject(Boolean booleanObject)
+    {
+        this.booleanObject = booleanObject;
+    }
+    public boolean isBooleanPrimitive()
+    {
+        return booleanPrimitive;
+    }
+    public void setBooleanPrimitive(boolean booleanPrimitive)
+    {
+        this.booleanPrimitive = booleanPrimitive;
+    }
+    public Integer getIntegerObject()
+    {
+        return integerObject;
+    }
+    public void setIntegerObject(Integer integerObject)
+    {
+        this.integerObject = integerObject;
+    }
+    public int getIntPrimitive()
+    {
+        return intPrimitive;
+    }
+    public void setIntPrimitive(int intPrimitive)
+    {
+        this.intPrimitive = intPrimitive;
+    }
+    public String getString()
+    {
+        return string;
+    }
+    public void setString(String string)
+    {
+        this.string = string;
+    }
+    public byte[] getByteArray()
+    {
+        return byteArray;
+    }
+    public void setByteArray(byte[] byteArray)
+    {
+        this.byteArray = byteArray;
+    }
+    public Calendar getCalendar()
+    {
+        return calendar;
+    }
+    public void setCalendar(Calendar calandar)
+    {
+        this.calendar = calandar;
+    }
+    public Date getDate()
+    {
+        return date;
+    }
+    public void setDate(Date date)
+    {
+        this.date = date;
+    }
+    public Double getDoubleObject()
+    {
+        return doubleObject;
+    }
+    public void setDoubleObject(Double doubleObject)
+    {
+        this.doubleObject = doubleObject;
+    }
+    public double getDoublePrimitive()
+    {
+        return doublePrimitive;
+    }
+    public void setDoublePrimitive(double doublePrimitive)
+    {
+        this.doublePrimitive = doublePrimitive;
+    }
+    public InputStream getInputStream()
+    {
+        return inputStream;
+    }
+    public void setInputStream(InputStream inputStream)
+    {
+        this.inputStream = inputStream;
+    }
+    public Timestamp getTimestamp()
+    {
+        return timestamp;
+    }
+    public void setTimestamp(Timestamp timestamp)
+    {
+        this.timestamp = timestamp;
+    }
+    
+	public Collection getMultiValue()
+	{
+		return multiValue;
+	}
+	public void setMultiValue(Collection multiValue)
+	{
+		this.multiValue = multiValue;
+	}
+    
+    
+}

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/Atomic.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/B.java
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/B.java?view=diff&rev=448311&r1=448310&r2=448311
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/B.java (original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/B.java Wed Sep 20 12:37:05 2006
@@ -1,57 +1,57 @@
-/*
- * Copyright 2000-2004 The Apache Software Foundation.
- * 
- * Licensed 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.portals.graffito.jcr.testmodel;
-
-/**
- *
- * @author <a href="mailto:christophe.lombart@sword-technologies.com">Lombart Christophe </a>
- * @version $Id: Exp $
- */
-public class B
-{
-     private String b1;
-     private String b2;
-     
-     
-    /**
-     * @return Returns the b1.
-     */
-    public String getB1()
-    {
-        return b1;
-    }
-    /**
-     * @param b1 The b1 to set.
-     */
-    public void setB1(String b1)
-    {
-        this.b1 = b1;
-    }
-    /**
-     * @return Returns the b2.
-     */
-    public String getB2()
-    {
-        return b2;
-    }
-    /**
-     * @param b2 The b2 to set.
-     */
-    public void setB2(String b2)
-    {
-        this.b2 = b2;
-    }
-}
+/*
+ * Copyright 2000-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.portals.graffito.jcr.testmodel;
+
+/**
+ *
+ * @author <a href="mailto:christophe.lombart@sword-technologies.com">Lombart Christophe </a>
+ * @version $Id: Exp $
+ */
+public class B
+{
+     private String b1;
+     private String b2;
+     
+     
+    /**
+     * @return Returns the b1.
+     */
+    public String getB1()
+    {
+        return b1;
+    }
+    /**
+     * @param b1 The b1 to set.
+     */
+    public void setB1(String b1)
+    {
+        this.b1 = b1;
+    }
+    /**
+     * @return Returns the b2.
+     */
+    public String getB2()
+    {
+        return b2;
+    }
+    /**
+     * @param b2 The b2 to set.
+     */
+    public void setB2(String b2)
+    {
+        this.b2 = b2;
+    }
+}

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/B.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/C.java
URL: http://svn.apache.org/viewvc/incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/C.java?view=diff&rev=448311&r1=448310&r2=448311
==============================================================================
--- incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/C.java (original)
+++ incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/C.java Wed Sep 20 12:37:05 2006
@@ -1,56 +1,56 @@
-/*
- * Copyright 2000-2004 The Apache Software Foundation.
- * 
- * Licensed 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.portals.graffito.jcr.testmodel;
-
-/**
- *
- * @author <a href="mailto:christophe.lombart@sword-technologies.com">Lombart Christophe </a>
- * @version $Id: Exp $
- */
-public class C
-{
-     private String id;
-     private String name;
-     
-    /**
-     * @return Returns the id.
-     */
-    public String getId()
-    {
-        return id;
-    }
-    /**
-     * @param id The id to set.
-     */
-    public void setId(String id)
-    {
-        this.id = id;
-    }
-    /**
-     * @return Returns the name.
-     */
-    public String getName()
-    {
-        return name;
-    }
-    /**
-     * @param name The name to set.
-     */
-    public void setName(String name)
-    {
-        this.name = name;
-    }
-}
+/*
+ * Copyright 2000-2004 The Apache Software Foundation.
+ * 
+ * Licensed 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.portals.graffito.jcr.testmodel;
+
+/**
+ *
+ * @author <a href="mailto:christophe.lombart@sword-technologies.com">Lombart Christophe </a>
+ * @version $Id: Exp $
+ */
+public class C
+{
+     private String id;
+     private String name;
+     
+    /**
+     * @return Returns the id.
+     */
+    public String getId()
+    {
+        return id;
+    }
+    /**
+     * @param id The id to set.
+     */
+    public void setId(String id)
+    {
+        this.id = id;
+    }
+    /**
+     * @return Returns the name.
+     */
+    public String getName()
+    {
+        return name;
+    }
+    /**
+     * @param name The name to set.
+     */
+    public void setName(String name)
+    {
+        this.name = name;
+    }
+}

Propchange: incubator/graffito/trunk/jcr/jcr-mapping/src/test/org/apache/portals/graffito/jcr/testmodel/C.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message