You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by mc...@apache.org on 2008/02/08 23:23:44 UTC
svn commit: r620015 - in /db/jdo/trunk/tck2: ./ src/conf/
src/java/org/apache/jdo/tck/api/persistencemanagerfactory/config/
Author: mcaisse
Date: Fri Feb 8 14:23:43 2008
New Revision: 620015
URL: http://svn.apache.org/viewvc?rev=620015&view=rev
Log:
JDO-576 TCK tests of jdoconfig.xml
Added:
db/jdo/trunk/tck2/src/conf/iut-jdoconfig.xml (with props)
db/jdo/trunk/tck2/src/conf/jdori-jdoconfig.xml (with props)
db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/config/
db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/config/Jdoconfig.java (with props)
Modified:
db/jdo/trunk/tck2/maven.xml
db/jdo/trunk/tck2/src/conf/jdori-pmf.properties
db/jdo/trunk/tck2/src/conf/runonce.conf
Modified: db/jdo/trunk/tck2/maven.xml
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/maven.xml?rev=620015&r1=620014&r2=620015&view=diff
==============================================================================
--- db/jdo/trunk/tck2/maven.xml (original)
+++ db/jdo/trunk/tck2/maven.xml Fri Feb 8 14:23:43 2008
@@ -262,6 +262,7 @@
<goal name="runtck.iut" prereqs="setProps">
<mkdir dir="${jdo.tck.log.directory.database}"/>
+ <j:set var="jdo.tck.jdoconfig" value="iut-jdoconfig.xml"/>
<attainGoal name="privateRuntck.iut"/>
</goal>
@@ -309,6 +310,7 @@
<goal name="runtck.jdori" prereqs="setProps">
<mkdir dir="${jdo.tck.log.directory.database}"/>
+ <j:set var="jdo.tck.jdoconfig" value="jdori-jdoconfig.xml"/>
<attainGoal name="privateRuntck.jdori"/>
</goal>
@@ -780,10 +782,9 @@
<include name="log4j.properties"/>
<include name="jndi.properties"/>
</fileset>
- <fileset dir="${basedir}/src/java">
- <include name="**/*.xml"/>
- </fileset>
</copy>
+ <copy tofile="${jdo.tck.testclasses.dir}/META-INF/jdoconfig.xml"
+ file="${basedir}/src/conf/${jdo.tck.jdoconfig}"/>
</goal>
<!-- ==================== -->
Added: db/jdo/trunk/tck2/src/conf/iut-jdoconfig.xml
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/conf/iut-jdoconfig.xml?rev=620015&view=auto
==============================================================================
--- db/jdo/trunk/tck2/src/conf/iut-jdoconfig.xml (added)
+++ db/jdo/trunk/tck2/src/conf/iut-jdoconfig.xml Fri Feb 8 14:23:43 2008
@@ -0,0 +1,141 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+-->
+
+<jdoconfig
+ xmlns="http://java.sun.com/xml/ns/jdo/jdoconfig"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="http://java.sun.com/xml/ns/jdo/jdoconfig">
+
+ <!--
+ -->
+ <persistence-manager-factory
+ class="org.jpox.PersistenceManagerFactoryImpl"
+ connection-driver-name="org.apache.derby.jdbc.EmbeddedDriver"
+ connection-url="jdbc:derby:jdotckdb"
+ connection-user-name="tckuser"
+ connection-password="tckuser"
+ optimistic="false"
+ restore-values="false"
+ retain-values="false"
+ mapping="derby"
+ >
+ <property name="javax.jdo.mapping.Schema" value="applicationidentity0"/>
+ <property name="javax.jdo.option.Mapping" value="standard"/>
+ <property name="jdo.tck.mapping" value="0"/>
+ <property name="org.jpox.metadata.validate" value="false"/>
+ <property name="org.jpox.validateTables" value="false"/>
+ <property name="org.jpox.validateConstraints" value="false"/>
+ <property name="org.jpox.autoCreateSchema" value="false"/>
+ <property name="org.jpox.autoCreateTables" value="false"/>
+ <property name="org.jpox.autoCreateConstraints" value="false"/>
+ <property name="org.jpox.autoCreateColumns" value="false"/>
+ <property name="org.jpox.rdbms.CheckExistTablesOrViews" value="false"/>
+ <property name="org.jpox.autoStartMechanism" value="None"/>
+ <property name="org.jpox.connectionPoolingType" value="C3P0"/>
+ <property name="org.jpox.implementationCreatorName" value="asm"/>
+ </persistence-manager-factory>
+
+ <persistence-manager-factory
+ name="namedPMF0"
+ class="org.jpox.PersistenceManagerFactoryImpl"
+ connection-driver-name="org.apache.derby.jdbc.EmbeddedDriver"
+ connection-url="jdbc:derby:jdotckdb"
+ connection-user-name="tckuser"
+ connection-password="tckuser"
+ optimistic="false"
+ restore-values="false"
+ retain-values="false"
+ >
+
+ <property name="javax.jdo.mapping.Schema" value="applicationidentity0"/>
+ <property name="javax.jdo.option.Mapping" value="standard"/>
+ <property name="org.jpox.metadata.validate" value="false"/>
+ <property name="org.jpox.validateTables" value="false"/>
+ <property name="org.jpox.validateConstraints" value="false"/>
+ <property name="org.jpox.autoCreateSchema" value="false"/>
+ <property name="org.jpox.autoCreateTables" value="false"/>
+ <property name="org.jpox.autoCreateConstraints" value="false"/>
+ <property name="org.jpox.autoCreateColumns" value="false"/>
+ <property name="org.jpox.rdbms.CheckExistTablesOrViews" value="false"/>
+ <property name="org.jpox.autoStartMechanism" value="None"/>
+ <property name="org.jpox.connectionPoolingType" value="C3P0"/>
+ <property name="org.jpox.implementationCreatorName" value="asm"/>
+ </persistence-manager-factory>
+
+ <persistence-manager-factory
+ name=" namedPMF1 "
+ class="org.jpox.PersistenceManagerFactoryImpl"
+ connection-driver-name="org.apache.derby.jdbc.EmbeddedDriver"
+ connection-url="jdbc:derby:jdotckdb"
+ connection-user-name="tckuser"
+ connection-password="tckuser"
+ optimistic="false"
+ restore-values="true"
+ retain-values="false"
+ >
+
+ <property name="javax.jdo.mapping.Schema" value="applicationidentity0"/>
+ <property name="javax.jdo.option.Mapping" value="standard"/>
+ <property name="org.jpox.metadata.validate" value="false"/>
+ <property name="org.jpox.validateTables" value="false"/>
+ <property name="org.jpox.validateConstraints" value="false"/>
+ <property name="org.jpox.autoCreateSchema" value="false"/>
+ <property name="org.jpox.autoCreateTables" value="false"/>
+ <property name="org.jpox.autoCreateConstraints" value="false"/>
+ <property name="org.jpox.autoCreateColumns" value="false"/>
+ <property name="org.jpox.rdbms.CheckExistTablesOrViews" value="false"/>
+ <property name="org.jpox.autoStartMechanism" value="None"/>
+ <property name="org.jpox.connectionPoolingType" value="C3P0"/>
+ <property name="org.jpox.implementationCreatorName" value="asm"/>
+ </persistence-manager-factory>
+
+ <persistence-manager-factory
+ name="pmfTestInstanceLifecycleListener"
+ class="org.jpox.PersistenceManagerFactoryImpl"
+ connection-driver-name="org.apache.derby.jdbc.EmbeddedDriver"
+ connection-url="jdbc:derby:jdotckdb"
+ connection-user-name="tckuser"
+ connection-password="tckuser"
+ optimistic="false"
+ restore-values="false"
+ retain-values="false"
+ >
+
+ <property name="javax.jdo.mapping.Schema" value="applicationidentity0"/>
+ <property name="javax.jdo.option.Mapping" value="standard"/>
+ <property name="org.jpox.metadata.validate" value="false"/>
+ <property name="org.jpox.validateTables" value="false"/>
+ <property name="org.jpox.validateConstraints" value="false"/>
+ <property name="org.jpox.autoCreateSchema" value="false"/>
+ <property name="org.jpox.autoCreateTables" value="false"/>
+ <property name="org.jpox.autoCreateConstraints" value="false"/>
+ <property name="org.jpox.autoCreateColumns" value="false"/>
+ <property name="org.jpox.rdbms.CheckExistTablesOrViews" value="false"/>
+ <property name="org.jpox.autoStartMechanism" value="None"/>
+ <property name="org.jpox.connectionPoolingType" value="C3P0"/>
+ <property name="org.jpox.implementationCreatorName" value="asm"/>
+
+ <instance-lifecycle-listener
+ listener="listener.listener0"
+ classes="classes.classes0"
+ />
+
+ </persistence-manager-factory>
+
+</jdoconfig>
+
Propchange: db/jdo/trunk/tck2/src/conf/iut-jdoconfig.xml
------------------------------------------------------------------------------
svn:eol-style = LF
Added: db/jdo/trunk/tck2/src/conf/jdori-jdoconfig.xml
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/conf/jdori-jdoconfig.xml?rev=620015&view=auto
==============================================================================
--- db/jdo/trunk/tck2/src/conf/jdori-jdoconfig.xml (added)
+++ db/jdo/trunk/tck2/src/conf/jdori-jdoconfig.xml Fri Feb 8 14:23:43 2008
@@ -0,0 +1,141 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+-->
+<jdoconfig
+ xmlns="http://java.sun.com/xml/ns/jdo/jdoconfig"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="http://java.sun.com/xml/ns/jdo/jdoconfig">
+
+ <!--
+ Default unnamed pmf
+ -->
+ <persistence-manager-factory
+ class="org.jpox.PersistenceManagerFactoryImpl"
+ connection-driver-name="org.apache.derby.jdbc.EmbeddedDriver"
+ connection-url="jdbc:derby:jdotckdb"
+ connection-user-name="tckuser"
+ connection-password="tckuser"
+ optimistic="false"
+ restore-values="false"
+ retain-values="false"
+ mapping="derby"
+ >
+ <property name="javax.jdo.mapping.Schema" value="applicationidentity0"/>
+ <property name="javax.jdo.option.Mapping" value="standard"/>
+ <property name="jdo.tck.mapping" value="0"/>
+ <property name="org.jpox.metadata.validate" value="false"/>
+ <property name="org.jpox.validateTables" value="false"/>
+ <property name="org.jpox.validateConstraints" value="false"/>
+ <property name="org.jpox.autoCreateSchema" value="false"/>
+ <property name="org.jpox.autoCreateTables" value="false"/>
+ <property name="org.jpox.autoCreateConstraints" value="false"/>
+ <property name="org.jpox.autoCreateColumns" value="false"/>
+ <property name="org.jpox.rdbms.CheckExistTablesOrViews" value="false"/>
+ <property name="org.jpox.autoStartMechanism" value="None"/>
+ <property name="org.jpox.connectionPoolingType" value="C3P0"/>
+ <property name="org.jpox.implementationCreatorName" value="asm"/>
+ </persistence-manager-factory>
+
+ <persistence-manager-factory
+ name="namedPMF0"
+ class="org.jpox.PersistenceManagerFactoryImpl"
+ connection-driver-name="org.apache.derby.jdbc.EmbeddedDriver"
+ connection-url="jdbc:derby:jdotckdb"
+ connection-user-name="tckuser"
+ connection-password="tckuser"
+ optimistic="false"
+ restore-values="false"
+ retain-values="false"
+ >
+
+ <property name="javax.jdo.mapping.Schema" value="applicationidentity0"/>
+ <property name="javax.jdo.option.Mapping" value="standard"/>
+ <property name="org.jpox.metadata.validate" value="false"/>
+ <property name="org.jpox.validateTables" value="false"/>
+ <property name="org.jpox.validateConstraints" value="false"/>
+ <property name="org.jpox.autoCreateSchema" value="false"/>
+ <property name="org.jpox.autoCreateTables" value="false"/>
+ <property name="org.jpox.autoCreateConstraints" value="false"/>
+ <property name="org.jpox.autoCreateColumns" value="false"/>
+ <property name="org.jpox.rdbms.CheckExistTablesOrViews" value="false"/>
+ <property name="org.jpox.autoStartMechanism" value="None"/>
+ <property name="org.jpox.connectionPoolingType" value="C3P0"/>
+ <property name="org.jpox.implementationCreatorName" value="asm"/>
+ </persistence-manager-factory>
+
+ <persistence-manager-factory
+ name=" namedPMF1 "
+ class="org.jpox.PersistenceManagerFactoryImpl"
+ connection-driver-name="org.apache.derby.jdbc.EmbeddedDriver"
+ connection-url="jdbc:derby:jdotckdb"
+ connection-user-name="tckuser"
+ connection-password="tckuser"
+ optimistic="false"
+ restore-values="true"
+ retain-values="false"
+ >
+
+ <property name="javax.jdo.mapping.Schema" value="applicationidentity0"/>
+ <property name="javax.jdo.option.Mapping" value="standard"/>
+ <property name="org.jpox.metadata.validate" value="false"/>
+ <property name="org.jpox.validateTables" value="false"/>
+ <property name="org.jpox.validateConstraints" value="false"/>
+ <property name="org.jpox.autoCreateSchema" value="false"/>
+ <property name="org.jpox.autoCreateTables" value="false"/>
+ <property name="org.jpox.autoCreateConstraints" value="false"/>
+ <property name="org.jpox.autoCreateColumns" value="false"/>
+ <property name="org.jpox.rdbms.CheckExistTablesOrViews" value="false"/>
+ <property name="org.jpox.autoStartMechanism" value="None"/>
+ <property name="org.jpox.connectionPoolingType" value="C3P0"/>
+ <property name="org.jpox.implementationCreatorName" value="asm"/>
+ </persistence-manager-factory>
+
+ <persistence-manager-factory
+ name="pmfTestInstanceLifecycleListener"
+ class="org.jpox.PersistenceManagerFactoryImpl"
+ connection-driver-name="org.apache.derby.jdbc.EmbeddedDriver"
+ connection-url="jdbc:derby:jdotckdb"
+ connection-user-name="tckuser"
+ connection-password="tckuser"
+ optimistic="false"
+ restore-values="false"
+ retain-values="false"
+ >
+
+ <property name="javax.jdo.mapping.Schema" value="applicationidentity0"/>
+ <property name="javax.jdo.option.Mapping" value="standard"/>
+ <property name="org.jpox.metadata.validate" value="false"/>
+ <property name="org.jpox.validateTables" value="false"/>
+ <property name="org.jpox.validateConstraints" value="false"/>
+ <property name="org.jpox.autoCreateSchema" value="false"/>
+ <property name="org.jpox.autoCreateTables" value="false"/>
+ <property name="org.jpox.autoCreateConstraints" value="false"/>
+ <property name="org.jpox.autoCreateColumns" value="false"/>
+ <property name="org.jpox.rdbms.CheckExistTablesOrViews" value="false"/>
+ <property name="org.jpox.autoStartMechanism" value="None"/>
+ <property name="org.jpox.connectionPoolingType" value="C3P0"/>
+ <property name="org.jpox.implementationCreatorName" value="asm"/>
+
+ <instance-lifecycle-listener
+ listener="listener.listener0"
+ classes="classes.classes0"
+ />
+
+ </persistence-manager-factory>
+
+</jdoconfig>
+
Propchange: db/jdo/trunk/tck2/src/conf/jdori-jdoconfig.xml
------------------------------------------------------------------------------
svn:eol-style = LF
Modified: db/jdo/trunk/tck2/src/conf/jdori-pmf.properties
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/conf/jdori-pmf.properties?rev=620015&r1=620014&r2=620015&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/conf/jdori-pmf.properties (original)
+++ db/jdo/trunk/tck2/src/conf/jdori-pmf.properties Fri Feb 8 14:23:43 2008
@@ -26,7 +26,6 @@
javax.jdo.option.Optimistic=false
javax.jdo.option.RetainValues=false
javax.jdo.option.RestoreValues=false
-javax.jdo.option.Mapping=derby
org.jpox.metadata.validate=false
org.jpox.validateTables=false
Modified: db/jdo/trunk/tck2/src/conf/runonce.conf
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/conf/runonce.conf?rev=620015&r1=620014&r2=620015&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/conf/runonce.conf (original)
+++ db/jdo/trunk/tck2/src/conf/runonce.conf Fri Feb 8 14:23:43 2008
@@ -21,4 +21,5 @@
# The runOnce flag must only be set in this configuration and no others
runOnce = true
jdo.tck.classes = \
-org.apache.jdo.tck.api.SignatureTest
+org.apache.jdo.tck.api.SignatureTest \
+org.apache.jdo.tck.api.persistencemanagerfactory.config.Jdoconfig
\ No newline at end of file
Added: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/config/Jdoconfig.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/config/Jdoconfig.java?rev=620015&view=auto
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/config/Jdoconfig.java (added)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/config/Jdoconfig.java Fri Feb 8 14:23:43 2008
@@ -0,0 +1,135 @@
+/*
+ * 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.jdo.tck.api.persistencemanagerfactory.config;
+
+import javax.jdo.JDOHelper;
+import javax.jdo.PersistenceManager;
+import javax.jdo.PersistenceManagerFactory;
+import javax.jdo.Transaction;
+import org.apache.jdo.tck.JDO_Test;
+import org.apache.jdo.tck.pc.mylib.PCPoint;
+import org.apache.jdo.tck.util.BatchTestRunner;
+
+/**
+ *<B>Title:</B>Close of PersistenceManagerFactory
+ *<BR>
+ *<B>Keywords:</B> persistencemanagerfactory, jdoconfig.xml
+ *<BR>
+ *<B>Assertion IDs:</B> A11.1.2-1
+ *<BR>
+ *<B>Assertion Description: </B>
+ * Users can access a PersistenceManagerFactory by creating a jdoconfig.xml file
+ * and making it available on the class path as META-INF/jdoconfig.xml.
+ */
+public class Jdoconfig extends JDO_Test {
+
+ /** Creates a new instance of Jdoconfig */
+ public Jdoconfig() {
+ }
+ /** */
+ private static final String ASSERTION_FAILED =
+ "Assertion A11.1.2-1 failed: ";
+ private static final String ANONYMOUS_PMF_NAME = "";
+ // Do not use superclass pmf, pm
+ private PersistenceManagerFactory pmf = null;
+ private PersistenceManager pm = null;
+
+ /**
+ * The <code>main</code> is called when the class
+ * is directly executed from the command line.
+ * @param args The arguments passed to the program.
+ */
+ public static void main(String[] args) {
+ BatchTestRunner.run(Jdoconfig.class);
+ }
+
+ /** */
+ public void testGetPMFNoArgs() {
+ pmf = JDOHelper.getPersistenceManagerFactory();
+ runTest(ANONYMOUS_PMF_NAME);
+ }
+
+ /** */
+ public void testGetPMFEmptyString() {
+ String name = "";
+ pmf = JDOHelper.getPersistenceManagerFactory(name);
+ runTest(ANONYMOUS_PMF_NAME);
+ }
+
+ /** */
+ public void testGetPMFNull() {
+ String name = null;
+ pmf = JDOHelper.getPersistenceManagerFactory(name);
+ runTest(ANONYMOUS_PMF_NAME);
+ }
+
+ /** */
+ public void testGetPMFStringSpace() {
+ String name = " ";
+ pmf = JDOHelper.getPersistenceManagerFactory(name);
+ runTest(ANONYMOUS_PMF_NAME);
+ }
+
+ /** */
+ public void testGetPMFNamed() {
+ String name = "namedPMF0";
+ pmf = JDOHelper.getPersistenceManagerFactory(name);
+ assertEquals("Incorrect value for RestoreValues",
+ pmf.getRestoreValues(), false);
+ runTest(name);
+ }
+
+ /** */
+ public void testGetPMFNamedSpaces() {
+ String name = "namedPMF1";
+ pmf = JDOHelper.getPersistenceManagerFactory(" \t" + name + " \n");
+ assertEquals("Incorrect value for RestoreValues",
+ pmf.getRestoreValues(), true);
+ runTest(name);
+ }
+
+ /** */
+ public void runTest(String name) {
+ assertEquals("Incorrect PMF name", pmf.getName(), name);
+
+ // check pmf.isClosed() before and after pmf.close()
+ if (pmf.isClosed()) {
+ fail(ASSERTION_FAILED,
+ "PMF.isClosed() returned true on an open pmf");
+ }
+ makePersistent();
+
+ pmf.close();
+
+ if (!pmf.isClosed()) {
+ fail(ASSERTION_FAILED,
+ "PMF.isClosed() returned false on a closed pmf");
+ }
+ // have next invocation of getPMF() get a new pmf
+ pmf = null;
+ }
+
+ protected void makePersistent() {
+ addTearDownClass(PCPoint.class);
+ pm = pmf.getPersistenceManager();
+ Transaction tx = pm.currentTransaction();
+ tx.begin();
+ PCPoint comp = new PCPoint(1, 2);
+ pm.makePersistent(comp);
+ tx.commit();
+ }
+}
Propchange: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/api/persistencemanagerfactory/config/Jdoconfig.java
------------------------------------------------------------------------------
svn:eol-style = LF