chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sklev...@apache.org
Subject svn commit: r942068 [1/2] - in /incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit: ./ src/test/java/org/apache/chemistry/opencmis/fit/runtime/ src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ src/test/j...
Date Fri, 07 May 2010 13:27:44 GMT
Author: sklevenz
Date: Fri May  7 13:27:43 2010
New Revision: 942068

URL: http://svn.apache.org/viewvc?rev=942068&view=rev
Log:
FIT Improvements:
 - enable testing of the web services stack
 - refactorting

Added:
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyAclCapabilityIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyContentStreamIT.java   (contents, props changed)
      - copied, changed from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyContentStreamIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyDiscoverIT.java   (contents, props changed)
      - copied, changed from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyDiscoverIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyNavigationIT.java   (contents, props changed)
      - copied, changed from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyNavigationIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyObjectIT.java   (contents, props changed)
      - copied, changed from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyObjectIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyRepositoryInfoIT.java   (contents, props changed)
      - copied, changed from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyRepositoryInfoIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlySessionIT.java   (contents, props changed)
      - copied, changed from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlySessionIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyTypeIT.java   (contents, props changed)
      - copied, changed from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyTypeIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectIT.java   (contents, props changed)
      - copied, changed from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/WriteObjectIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectRelationIT.java   (contents, props changed)
      - copied, changed from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/WriteObjectRelationIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectVersionIT.java   (contents, props changed)
      - copied, changed from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/WriteObjectVersionIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyAclCapabilityAtomPubIT.java   (contents, props changed)
      - copied, changed from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyAclCapabilityIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyContentStreamAtomPubIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyDiscoverAtomPubIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyNavigationAtomPubIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyObjectAtomPubIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyRepositoryInfoAtomPubIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlySessionAtomPubIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyTypeAtomPubIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/WriteObjectAtomPubIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/WriteObjectRelationAtomPubIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/WriteObjectVersionAtomPubIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/misc/
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/misc/AbstractReadOnlyCreateSessionIT.java   (contents, props changed)
      - copied, changed from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyCreateSessionIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/misc/ReadOnlyCreateSessionAtomPubIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/misc/ReadOnlyCreateSessionWebServicesIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/webservices/
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/webservices/ReadOnlyAclCapabilityWebServicesIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/webservices/ReadOnlyContentStreamWebServicesIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/webservices/ReadOnlyDiscoverWebServicesIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/webservices/ReadOnlyNavigationWebServicesIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/webservices/ReadOnlyObjectWebServicesIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/webservices/ReadOnlyRepositoryInfoWebServicesIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/webservices/ReadOnlySessionWebServicesIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/webservices/ReadOnlyTypeWebServicesIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/webservices/WriteObjectRelationWebServicesIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/webservices/WriteObjectVersionWebServicesIT.java   (with props)
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/webservices/WriteObjectWebServicesIT.java   (with props)
Removed:
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/FixtureSessionParameter.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyAclCapabilityIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyContentStreamIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyCreateSessionIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyDiscoverIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyNavigationIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyObjectIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyRepositoryInfoIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlySessionIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyTypeIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/WriteObjectIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/WriteObjectRelationIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/WriteObjectVersionIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/suite/
Modified:
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/pom.xml
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractSessionTest.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/Fixture.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/FixtureSetup.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/sample/AbstractSampleIT.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/resources/inmemory.ws.properties

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/pom.xml
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/pom.xml?rev=942068&r1=942067&r2=942068&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/pom.xml (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/pom.xml Fri May  7 13:27:43 2010
@@ -1,188 +1,166 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-    <!--
-        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.
-    -->
+	<!--
+		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.
+	-->
 
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
-    <modelVersion>4.0.0</modelVersion>
+	<modelVersion>4.0.0</modelVersion>
 
-    <parent>
-        <groupId>org.apache.chemistry.opencmis</groupId>
-        <artifactId>chemistry-opencmis</artifactId>
-        <version>0.1-incubating-SNAPSHOT</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <artifactId>chemistry-opencmis-test-fit</artifactId>
-    <name>OpenCMIS Full Integration Tests</name>
-    <packaging>war</packaging>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-war-plugin</artifactId>
-                <configuration>
-                    <overlays>
-                        <overlay>
-                        </overlay>
-                        <overlay>
-                            <groupId>${project.groupId}</groupId>
-                            <artifactId>chemistry-opencmis-server-inmemory</artifactId>
-                        </overlay>
-                    </overlays>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>failsafe-maven-plugin</artifactId>
-                <version>2.4.3-alpha-1</version>
-                <configuration>
-                    <outputName>integration-test</outputName>
-                    <encoding>UTF-8</encoding>
-                    <forkMode>once</forkMode>
-                    <forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
-                    <argLine>-Xmx128m</argLine>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>integration-test</id>
-                        <goals>
-                            <goal>integration-test</goal>
-                        </goals>
-                    </execution>
-                    <execution>
-                        <id>verify</id>
-                        <goals>
-                            <goal>verify</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.mortbay.jetty</groupId>
-                <artifactId>maven-jetty-plugin</artifactId>
-                <version>6.1.22</version>
-                <configuration>
-                    <scanIntervalSeconds>10</scanIntervalSeconds>
-                    <stopPort>19966</stopPort>
-                    <stopKey>foo</stopKey>
-                    <connectors>
-                        <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
-                            <port>19080</port>
-                            <host>0.0.0.0</host>
-                        </connector>
-                    </connectors>
-                    <webAppConfig>
-                        <contextPath>/opencmis</contextPath>
-                    </webAppConfig>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>start-jetty</id>
-                        <phase>pre-integration-test</phase>
-                        <goals>
-                            <goal>run-war</goal>
-                        </goals>
-                        <configuration>
-                            <scanIntervalSeconds>0</scanIntervalSeconds>
-                            <daemon>true</daemon>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>stop-jetty</id>
-                        <phase>post-integration-test</phase>
-                        <goals>
-                            <goal>stop</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-    <reporting>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-report-plugin</artifactId>
-                <reportSets>
-                    <reportSet>
-                        <id>integration-tests</id>
-                        <reports>
-                            <report>report-only</report>
-                        </reports>
-                        <configuration>
-                            <outputName>failsafe-report</outputName>
-                            <reportsDirectories>
-                                <reportsDirectory>${basedir}/target/failsafe-reports</reportsDirectory>
-                            </reportsDirectories>
-                        </configuration>
-                    </reportSet>
-                </reportSets>
-            </plugin>
-        </plugins>
-    </reporting>
-
-    <dependencies>
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>chemistry-opencmis-commons-api</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>chemistry-opencmis-client-api</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>chemistry-opencmis-client-impl</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>chemistry-opencmis-client-bindings</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>chemistry-opencmis-server-inmemory</artifactId>
-            <version>${project.version}</version>
-            <type>war</type>
-        </dependency>
-    </dependencies>
-    <profiles>
-        <profile>
-            <!--
-                call mvn test -Dorg.apache.chemistry.opencmis.fit.runtime.config.path=myServer.properties to run test
-                using profile parameters
-            -->
-            <activation>
-                <property>
-                    <name>org.apache.chemistry.opencmis.fit.runtime.config.path</name>
-                </property>
-            </activation>
-            <build>
-                <pluginManagement>
-                    <plugins>
-                        <plugin>
-                            <groupId>org.apache.maven.plugins</groupId>
-                            <artifactId>maven-surefire-plugin</artifactId>
-                            <configuration>
-                                <argLine>-Dorg.apache.chemistry.opencmis.fit.runtime.config.path=${org.apache.chemistry.opencmis.fit.runtime.config.path}</argLine>
-                            </configuration>
-                        </plugin>
-                    </plugins>
-                </pluginManagement>
-            </build>
-        </profile>
-    </profiles>
+	<parent>
+		<groupId>org.apache.chemistry.opencmis</groupId>
+		<artifactId>chemistry-opencmis</artifactId>
+		<version>0.1-incubating-SNAPSHOT</version>
+		<relativePath>../../pom.xml</relativePath>
+	</parent>
+
+	<artifactId>chemistry-opencmis-test-fit</artifactId>
+	<name>OpenCMIS Full Integration Tests</name>
+	<packaging>war</packaging>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-war-plugin</artifactId>
+				<configuration>
+					<overlays>
+						<overlay>
+						</overlay>
+						<overlay>
+							<groupId>${project.groupId}</groupId>
+							<artifactId>chemistry-opencmis-server-inmemory</artifactId>
+						</overlay>
+					</overlays>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>failsafe-maven-plugin</artifactId>
+				<version>2.4.3-alpha-1</version>
+				<configuration>
+					<outputName>integration-test</outputName>
+					<encoding>UTF-8</encoding>
+					<forkMode>once</forkMode>
+					<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
+					<argLine>-Xmx128m</argLine>
+				</configuration>
+				<executions>
+					<execution>
+						<id>integration-test</id>
+						<goals>
+							<goal>integration-test</goal>
+						</goals>
+					</execution>
+					<execution>
+						<id>verify</id>
+						<goals>
+							<goal>verify</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.mortbay.jetty</groupId>
+				<artifactId>maven-jetty-plugin</artifactId>
+				<version>6.1.22</version>
+				<configuration>
+					<scanIntervalSeconds>10</scanIntervalSeconds>
+					<stopPort>19966</stopPort>
+					<stopKey>foo</stopKey>
+					<connectors>
+						<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
+							<port>19080</port>
+							<host>0.0.0.0</host>
+						</connector>
+					</connectors>
+					<webAppConfig>
+						<contextPath>/opencmis</contextPath>
+					</webAppConfig>
+				</configuration>
+				<executions>
+					<execution>
+						<id>start-jetty</id>
+						<phase>pre-integration-test</phase>
+						<goals>
+							<goal>run-war</goal>
+						</goals>
+						<configuration>
+							<scanIntervalSeconds>0</scanIntervalSeconds>
+							<daemon>true</daemon>
+						</configuration>
+					</execution>
+					<execution>
+						<id>stop-jetty</id>
+						<phase>post-integration-test</phase>
+						<goals>
+							<goal>stop</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
+
+	<reporting>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-surefire-report-plugin</artifactId>
+				<reportSets>
+					<reportSet>
+						<id>integration-tests</id>
+						<reports>
+							<report>report-only</report>
+						</reports>
+						<configuration>
+							<outputName>failsafe-report</outputName>
+							<reportsDirectories>
+								<reportsDirectory>${basedir}/target/failsafe-reports</reportsDirectory>
+							</reportsDirectories>
+						</configuration>
+					</reportSet>
+				</reportSets>
+			</plugin>
+		</plugins>
+	</reporting>
+
+	<dependencies>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>chemistry-opencmis-commons-api</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>chemistry-opencmis-client-api</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>chemistry-opencmis-client-impl</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>chemistry-opencmis-client-bindings</artifactId>
+			<version>${project.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>${project.groupId}</groupId>
+			<artifactId>chemistry-opencmis-server-inmemory</artifactId>
+			<version>${project.version}</version>
+			<type>war</type>
+		</dependency>
+	</dependencies>
 </project>

Added: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyAclCapabilityIT.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyAclCapabilityIT.java?rev=942068&view=auto
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyAclCapabilityIT.java (added)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyAclCapabilityIT.java Fri May  7 13:27:43 2010
@@ -0,0 +1,75 @@
+/*
+ * 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.chemistry.opencmis.fit.runtime;
+
+import java.util.List;
+
+import org.apache.chemistry.opencmis.commons.api.AclCapabilities;
+import org.apache.chemistry.opencmis.commons.api.PermissionMapping;
+import org.apache.chemistry.opencmis.commons.api.RepositoryCapabilities;
+import org.apache.chemistry.opencmis.commons.api.RepositoryInfo;
+import org.apache.chemistry.opencmis.commons.enums.AclPropagation;
+import org.apache.chemistry.opencmis.commons.enums.CapabilityAcl;
+import org.junit.Assert;
+import org.junit.Assume;
+import org.junit.Before;
+import org.junit.Test;
+
+public abstract class AbstractReadOnlyAclCapabilityIT extends AbstractSessionTest {
+
+    private AclCapabilities aclCapabilities = null;
+
+    @Before
+    public void setup() throws Exception {
+        RepositoryInfo r = this.session.getRepositoryInfo();
+        // capabilities
+        RepositoryCapabilities repcap = r.getCapabilities();
+        CapabilityAcl capacl = repcap.getAclCapability();
+
+        if (capacl != CapabilityAcl.NONE) {
+            // acl capabilities
+            this.aclCapabilities = r.getAclCapabilities();
+        }
+
+        Assume.assumeNotNull(this.aclCapabilities);
+    }
+
+    @Test
+    public void repositoryCapabilitiesAclPropagation() {
+        AclPropagation aclprop = this.aclCapabilities.getAclPropagation();
+        switch (aclprop) {
+        case OBJECTONLY:
+            break;
+        case PROPAGATE:
+            break;
+        case REPOSITORYDETERMINED:
+            break;
+        default:
+            Assert.fail("enumeration not supported");
+        }
+    }
+
+    @Test
+    public void repositoryCapabilitiesAclPermissionMapping() {
+        PermissionMapping apm = this.aclCapabilities.getPermissionMapping()
+                .get(PermissionMapping.CAN_ADD_POLICY_OBJECT);
+        List<String> aclps = apm.getPermissions();
+        Assert.assertNotNull(aclps);
+    }
+}

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyAclCapabilityIT.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Copied: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyContentStreamIT.java (from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyContentStreamIT.java)
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyContentStreamIT.java?p2=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyContentStreamIT.java&p1=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyContentStreamIT.java&r1=942017&r2=942068&rev=942068&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyContentStreamIT.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyContentStreamIT.java Fri May  7 13:27:43 2010
@@ -28,7 +28,7 @@ import org.apache.chemistry.opencmis.cli
 import org.apache.chemistry.opencmis.commons.api.ContentStream;
 import org.junit.Test;
 
-public class ReadOnlyContentStreamIT extends AbstractSessionTest {
+public abstract class AbstractReadOnlyContentStreamIT extends AbstractSessionTest {
 
     @Test
     public void readContentStream() throws IOException {

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyContentStreamIT.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Copied: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyDiscoverIT.java (from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyDiscoverIT.java)
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyDiscoverIT.java?p2=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyDiscoverIT.java&p1=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyDiscoverIT.java&r1=942017&r2=942068&rev=942068&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyDiscoverIT.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyDiscoverIT.java Fri May  7 13:27:43 2010
@@ -22,14 +22,10 @@ import org.apache.chemistry.opencmis.cli
 import org.apache.chemistry.opencmis.client.api.QueryResult;
 import org.apache.chemistry.opencmis.commons.enums.CapabilityChanges;
 import org.apache.chemistry.opencmis.commons.enums.CapabilityQuery;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.junit.Assert;
 import org.junit.Test;
 
-public class ReadOnlyDiscoverIT extends AbstractSessionTest {
-
-    private static Log log = LogFactory.getLog(ReadOnlyDiscoverIT.class);
+public abstract class AbstractReadOnlyDiscoverIT extends AbstractSessionTest {
 
     @Test
     public void query() {
@@ -37,7 +33,7 @@ public class ReadOnlyDiscoverIT extends 
 
         switch (query) {
         case NONE:
-            ReadOnlyDiscoverIT.log.info("queries not supported");
+            this.log.info("queries not supported");
             break;
         default:
             ItemIterable<QueryResult> resultSet = this.session.query(FixtureData.QUERY.toString(), false);
@@ -51,16 +47,18 @@ public class ReadOnlyDiscoverIT extends 
         }
 
     }
+
     @Test
     public void querySkip() {
         CapabilityQuery query = this.session.getRepositoryInfo().getCapabilities().getQueryCapability();
 
         switch (query) {
         case NONE:
-            ReadOnlyDiscoverIT.log.info("queries not supported");
+            this.log.info("queries not supported");
             break;
         default:
-            ItemIterable<QueryResult> resultSet = this.session.query(FixtureData.QUERY.toString(), false).skipTo(2).getPage(2);
+            ItemIterable<QueryResult> resultSet = this.session.query(FixtureData.QUERY.toString(), false).skipTo(2)
+                    .getPage(2);
             Assert.assertNotNull(resultSet);
             // Assert.assertFalse(resultSet.isEmpty());
             for (QueryResult o : resultSet) {
@@ -78,7 +76,7 @@ public class ReadOnlyDiscoverIT extends 
 
         switch (changes) {
         case NONE:
-            ReadOnlyDiscoverIT.log.info("changes not supported");
+            this.log.info("changes not supported");
             break;
         default:
             break;

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyDiscoverIT.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Copied: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyNavigationIT.java (from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyNavigationIT.java)
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyNavigationIT.java?p2=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyNavigationIT.java&p1=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyNavigationIT.java&r1=942017&r2=942068&rev=942068&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyNavigationIT.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyNavigationIT.java Fri May  7 13:27:43 2010
@@ -29,7 +29,7 @@ import org.apache.chemistry.opencmis.cli
 import org.apache.chemistry.opencmis.client.api.Tree;
 import org.junit.Test;
 
-public class ReadOnlyNavigationIT extends AbstractSessionTest {
+public abstract class AbstractReadOnlyNavigationIT extends AbstractSessionTest {
 
     @Test
     public void navigateChildrenSkip() {

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyNavigationIT.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Copied: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyObjectIT.java (from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyObjectIT.java)
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyObjectIT.java?p2=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyObjectIT.java&p1=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyObjectIT.java&r1=942017&r2=942068&rev=942068&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyObjectIT.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyObjectIT.java Fri May  7 13:27:43 2010
@@ -38,7 +38,7 @@ import org.junit.Test;
 /**
  * Readonly tests on files and documents
  */
-public class ReadOnlyObjectIT extends AbstractSessionTest {
+public abstract class AbstractReadOnlyObjectIT extends AbstractSessionTest {
 
     @Test
     public void verifyRoot() {
@@ -67,9 +67,9 @@ public class ReadOnlyObjectIT extends Ab
         Assert.assertEquals(ObjectType.FOLDER_BASETYPE_ID, folder.getBaseType().getId());
 
         Assert.assertNotNull(folder.getCreatedBy());
-        Assert.assertEquals(Fixture.getParamter().get(SessionParameter.USER), folder.getCreatedBy());
+        Assert.assertEquals(this.fixture.getParamter().get(SessionParameter.USER), folder.getCreatedBy());
         Assert.assertNotNull(folder.getLastModifiedBy());
-        Assert.assertEquals(Fixture.getParamter().get(SessionParameter.USER), folder.getLastModifiedBy());
+        Assert.assertEquals(this.fixture.getParamter().get(SessionParameter.USER), folder.getLastModifiedBy());
         Assert.assertNotNull(folder.getLastModificationDate());
         Assert.assertNotNull(folder.getCreationDate());
 
@@ -95,9 +95,9 @@ public class ReadOnlyObjectIT extends Ab
         Assert.assertNotNull("document not found: " + path, document);
 
         Assert.assertNotNull(document.getCreatedBy());
-        Assert.assertEquals(Fixture.getParamter().get(SessionParameter.USER), document.getCreatedBy());
+        Assert.assertEquals(this.fixture.getParamter().get(SessionParameter.USER), document.getCreatedBy());
         Assert.assertNotNull(document.getLastModifiedBy());
-        Assert.assertEquals(Fixture.getParamter().get(SessionParameter.USER), document.getLastModifiedBy());
+        Assert.assertEquals(this.fixture.getParamter().get(SessionParameter.USER), document.getLastModifiedBy());
         Assert.assertNotNull(document.getLastModificationDate());
         Assert.assertNotNull(document.getCreationDate());
     }

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyObjectIT.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Copied: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyRepositoryInfoIT.java (from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyRepositoryInfoIT.java)
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyRepositoryInfoIT.java?p2=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyRepositoryInfoIT.java&p1=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyRepositoryInfoIT.java&r1=942017&r2=942068&rev=942068&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyRepositoryInfoIT.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyRepositoryInfoIT.java Fri May  7 13:27:43 2010
@@ -33,7 +33,7 @@ import org.junit.Test;
 /**
  * Testing folder and files.
  */
-public class ReadOnlyRepositoryInfoIT extends AbstractSessionTest {
+public abstract class AbstractReadOnlyRepositoryInfoIT extends AbstractSessionTest {
 
     @Test
     public void changesIncomplete() {

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyRepositoryInfoIT.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Copied: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlySessionIT.java (from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlySessionIT.java)
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlySessionIT.java?p2=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlySessionIT.java&p1=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlySessionIT.java&r1=942017&r2=942068&rev=942068&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlySessionIT.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlySessionIT.java Fri May  7 13:27:43 2010
@@ -26,7 +26,7 @@ import org.junit.Test;
 /**
  * Testing session
  */
-public class ReadOnlySessionIT extends AbstractSessionTest {
+public abstract class AbstractReadOnlySessionIT extends AbstractSessionTest {
 
     @Test
     public void testSession() {

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlySessionIT.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Copied: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyTypeIT.java (from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyTypeIT.java)
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyTypeIT.java?p2=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyTypeIT.java&p1=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyTypeIT.java&r1=942017&r2=942068&rev=942068&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyTypeIT.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyTypeIT.java Fri May  7 13:27:43 2010
@@ -24,15 +24,15 @@ import junit.framework.Assert;
 
 import org.apache.chemistry.opencmis.client.api.DocumentType;
 import org.apache.chemistry.opencmis.client.api.FolderType;
-import org.apache.chemistry.opencmis.client.api.ObjectType;
 import org.apache.chemistry.opencmis.client.api.ItemIterable;
+import org.apache.chemistry.opencmis.client.api.ObjectType;
 import org.apache.chemistry.opencmis.client.api.PolicyType;
 import org.apache.chemistry.opencmis.client.api.RelationshipType;
-import org.apache.chemistry.opencmis.client.api.Tree; //import org.apache.chemistry.opencmis.client.api.util.PagingList;
+import org.apache.chemistry.opencmis.client.api.Tree;
 import org.apache.chemistry.opencmis.commons.exceptions.CmisObjectNotFoundException;
 import org.junit.Test;
 
-public class ReadOnlyTypeIT extends AbstractSessionTest {
+public abstract class AbstractReadOnlyTypeIT extends AbstractSessionTest {
 
     @Test
     public void readOptionalBaseTypePolicy() {
@@ -100,7 +100,7 @@ public class ReadOnlyTypeIT extends Abst
         ItemIterable<ObjectType> pc = this.session.getTypeChildren(otd.getId(), true);
         Assert.assertNotNull(pc);
 
-        ItemIterable<ObjectType> pcc = pc.skipTo(2).getPage(2); 
+        ItemIterable<ObjectType> pcc = pc.skipTo(2).getPage(2);
         for (ObjectType ot1 : pcc) {
             ObjectType ot2 = this.session.getTypeDefinition(ot1.getId());
             Assert.assertEquals(ot1.getId(), ot2.getId());
@@ -129,7 +129,7 @@ public class ReadOnlyTypeIT extends Abst
         ItemIterable<ObjectType> pc = this.session.getTypeChildren(otd.getId(), true);
         Assert.assertNotNull(pc);
 
-        ItemIterable<ObjectType> pcc = pc.skipTo(0).getPage(2); 
+        ItemIterable<ObjectType> pcc = pc.skipTo(0).getPage(2);
         for (ObjectType ot1 : pcc) {
             ObjectType ot2 = this.session.getTypeDefinition(ot1.getId());
             Assert.assertEquals(ot1, ot2);

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractReadOnlyTypeIT.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractSessionTest.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractSessionTest.java?rev=942068&r1=942067&r2=942068&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractSessionTest.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractSessionTest.java Fri May  7 13:27:43 2010
@@ -51,12 +51,20 @@ public abstract class AbstractSessionTes
             super.failed(e, method);
             AbstractSessionTest.this.log.error(method.getName(), e);
         }
+
+        @Override
+        public void starting(FrameworkMethod method) {
+            super.starting(method);
+
+            AbstractSessionTest.this.fixture.logTestClassContext(AbstractSessionTest.this.getClass(), method);
+        }
     };
 
     @BeforeClass
     public static void classSetup() {
         AbstractSessionTest.initializeLogging();
         Fixture.logHeader();
+
     }
 
     /**
@@ -77,16 +85,28 @@ public abstract class AbstractSessionTes
      */
     protected Session session = null;
 
+    /**
+     * Test Fixture
+     */
+    protected Fixture fixture = null;
+
+    public AbstractSessionTest() {
+        this.fixture = new Fixture();
+        this.initFixture(this.fixture);
+        this.fixture.init();
+    }
+
     @Before
     public void setUp() throws Exception {
-        SessionFactory factory = Fixture.getSessionFactory();
-        this.session = factory.createSession(Fixture.getParamter());
-        Fixture.setUpTestData(this.session);
+        SessionFactory factory = this.fixture.getSessionFactory();
+        this.session = factory.createSession(this.fixture.getParamter());
+        this.fixture.setUpTestData(this.session);
     }
 
     @After
     public void tearDown() throws Exception {
-        Fixture.teardownTestData(this.session);
+        this.fixture.teardownTestData(this.session);
     }
 
+    public abstract void initFixture(Fixture fixture);
 }

Copied: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectIT.java (from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/WriteObjectIT.java)
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectIT.java?p2=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectIT.java&p1=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/WriteObjectIT.java&r1=942017&r2=942068&rev=942068&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/WriteObjectIT.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectIT.java Fri May  7 13:27:43 2010
@@ -37,11 +37,11 @@ import org.apache.chemistry.opencmis.com
 import org.apache.chemistry.opencmis.commons.exceptions.CmisNotSupportedException;
 import org.junit.Test;
 
-public class WriteObjectIT extends AbstractSessionTest {
+public abstract class AbstractWriteObjectIT extends AbstractSessionTest {
 
     @Test
     public void createFolder() {
-        ObjectId parentId = this.session.createObjectId(Fixture.getTestRootId());
+        ObjectId parentId = this.session.createObjectId(this.fixture.getTestRootId());
         String folderName = UUID.randomUUID().toString();
         String typeId = FixtureData.FOLDER_TYPE_ID.value();
 
@@ -55,7 +55,7 @@ public class WriteObjectIT extends Abstr
 
     @Test
     public void createDocument() throws IOException {
-        ObjectId parentId = this.session.createObjectId(Fixture.getTestRootId());
+        ObjectId parentId = this.session.createObjectId(this.fixture.getTestRootId());
         String folderName = UUID.randomUUID().toString();
         String typeId = FixtureData.DOCUMENT_TYPE_ID.value();
 
@@ -96,7 +96,7 @@ public class WriteObjectIT extends Abstr
             assertNotNull("Document not found: " + path, srcDocument);
             String srcContent = this.getContentAsString(srcDocument.getContentStream());
 
-            ObjectId parentFolder = session.createObjectId(Fixture.getTestRootId());
+            ObjectId parentFolder = session.createObjectId(this.fixture.getTestRootId());
             String name = UUID.randomUUID().toString();
 
             Map<String, Object> properties = new HashMap<String, Object>();

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectIT.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Copied: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectRelationIT.java (from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/WriteObjectRelationIT.java)
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectRelationIT.java?p2=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectRelationIT.java&p1=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/WriteObjectRelationIT.java&r1=942017&r2=942068&rev=942068&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/WriteObjectRelationIT.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectRelationIT.java Fri May  7 13:27:43 2010
@@ -25,9 +25,9 @@ import java.util.HashMap;
 import java.util.Map;
 
 import org.apache.chemistry.opencmis.client.api.Document;
+import org.apache.chemistry.opencmis.client.api.ItemIterable;
 import org.apache.chemistry.opencmis.client.api.ObjectId;
 import org.apache.chemistry.opencmis.client.api.ObjectType;
-import org.apache.chemistry.opencmis.client.api.ItemIterable;
 import org.apache.chemistry.opencmis.client.api.Relationship;
 import org.apache.chemistry.opencmis.commons.PropertyIds;
 import org.apache.chemistry.opencmis.commons.enums.RelationshipDirection;
@@ -36,7 +36,7 @@ import org.junit.Test;
 
 // relations not yet supported
 @Ignore
-public class WriteObjectRelationIT extends AbstractSessionTest {
+public abstract class AbstractWriteObjectRelationIT extends AbstractSessionTest {
 
     @Test
     public void createAndLoopRelations() {

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectRelationIT.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Copied: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectVersionIT.java (from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/WriteObjectVersionIT.java)
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectVersionIT.java?p2=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectVersionIT.java&p1=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/WriteObjectVersionIT.java&r1=942017&r2=942068&rev=942068&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/WriteObjectVersionIT.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectVersionIT.java Fri May  7 13:27:43 2010
@@ -24,12 +24,12 @@ import static org.junit.Assert.assertNot
 import org.apache.chemistry.opencmis.client.api.Document;
 import org.apache.chemistry.opencmis.client.api.DocumentType;
 import org.apache.chemistry.opencmis.client.api.Folder;
-import org.apache.chemistry.opencmis.client.api.ObjectId;
 import org.apache.chemistry.opencmis.client.api.ItemIterable;
+import org.apache.chemistry.opencmis.client.api.ObjectId;
 import org.junit.Before;
 import org.junit.Test;
 
-public class WriteObjectVersionIT extends AbstractSessionTest {
+public abstract class AbstractWriteObjectVersionIT extends AbstractSessionTest {
 
     private ObjectId checkdOutId = null;
 

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/AbstractWriteObjectVersionIT.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/Fixture.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/Fixture.java?rev=942068&r1=942067&r2=942068&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/Fixture.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/Fixture.java Fri May  7 13:27:43 2010
@@ -18,9 +18,6 @@
  */
 package org.apache.chemistry.opencmis.fit.runtime;
 
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
 import java.io.InputStream;
 import java.util.Hashtable;
 import java.util.Map;
@@ -34,6 +31,7 @@ import org.apache.chemistry.opencmis.cli
 import org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.junit.runners.model.FrameworkMethod;
 
 /**
  * Definition of unit environment for running test cases. Default implementation
@@ -43,9 +41,11 @@ import org.apache.commons.logging.LogFac
  */
 public class Fixture {
 
-    private static String CONNECTION_PATH = Fixture.CONNECTION_ATOM_PATH;
+    private String connectionPath = Fixture.CONNECTION_ATOM_PATH;
     private static final String CONNECTION_ATOM_PATH = "/inmemory.atom.properties";
     private static final String CONNECTION_WS_PATH = "/inmemory.ws.properties";
+    public static final String SESSION_FACTORY = "org.apache.chemistry.opencmis.fit.runtime.session.factory";
+    public static final String TEST_ROOT_FOLDER_ID = "org.apache.chemistry.opencmis.fit.runtime.root.folder.id";
 
     private static Log log = LogFactory.getLog(Fixture.class);
 
@@ -57,12 +57,12 @@ public class Fixture {
     /*
      * test data setup
      */
-    private static FixtureSetup testData = new FixtureSetup();
+    private FixtureSetup testData = new FixtureSetup(this);
 
     /**
      * @return session parameter
      */
-    public static Map<String, String> getParamter() {
+    public Map<String, String> getParamter() {
         return parameter;
     }
 
@@ -71,62 +71,51 @@ public class Fixture {
      * 
      * @param paramter
      */
-    public static void setParamter(Map<String, String> paramter) {
+    public void setParamter(Map<String, String> paramter) {
         FixtureData.changeValues(paramter);
-        Fixture.parameter = paramter;
+        this.parameter = paramter;
     }
 
     /**
      * session parameter.
      */
-    private static Map<String, String> parameter = null;
+    private Map<String, String> parameter = null;
 
     /**
      * Overwriting default session factory.
      * 
      * @param factory
      */
-    public static void setSessionFactory(SessionFactory factory) {
-        Fixture.factory = factory;
+    public void setSessionFactory(SessionFactory factory) {
+        this.factory = factory;
     }
 
     /**
      * @return factory
      */
-    public static SessionFactory getSessionFactory() {
-        return Fixture.factory;
+    public SessionFactory getSessionFactory() {
+        return this.factory;
     }
 
     /**
      * factory
      */
-    private static SessionFactory factory = null;
+    private SessionFactory factory = null;
 
-    static {
-        // Mock as default
-        Fixture.init();
+    public Fixture() {
     }
 
-    public static void init() {
+    public void init() {
         /* get optional path from system properties */
-        String pathname = System.getProperty(FixtureSessionParameter.CONFIG_PATH);
-        pathname = (pathname != null) ? pathname.trim() : null;
         Properties properties = null;
         Map<String, String> sessionParameter = null;
         SessionFactory factory = null;
         String factoryClassName = null;
         try {
-            if (pathname != null && !"".equalsIgnoreCase(pathname)) {
-                // read from file
-                properties = new Properties();
-                FileInputStream in = new FileInputStream(new File(pathname));
-                properties.load(in);
-            } else {
-                // get default settings
-                InputStream in = Fixture.class.getResourceAsStream(Fixture.CONNECTION_PATH);
-                properties = new Properties();
-                properties.load(in);
-            }
+            // get settings
+            InputStream in = Fixture.class.getResourceAsStream(this.connectionPath);
+            properties = new Properties();
+            properties.load(in);
 
             /* convert to map, filter empty values */
             sessionParameter = new Hashtable<String, String>();
@@ -137,10 +126,10 @@ public class Fixture {
                     sessionParameter.put(key, value);
                 }
             }
-            Fixture.setParamter(sessionParameter);
+            this.setParamter(sessionParameter);
 
             /* load factory class */
-            factoryClassName = sessionParameter.get(FixtureSessionParameter.SESSION_FACTORY);
+            factoryClassName = sessionParameter.get(Fixture.SESSION_FACTORY);
             if (factoryClassName != null && !"".equalsIgnoreCase(factoryClassName)) {
                 Class<?> clazz = Class.forName(factoryClassName);
                 factory = (SessionFactory) clazz.newInstance();
@@ -148,54 +137,57 @@ public class Fixture {
                 /* default */
                 factory = SessionFactoryImpl.newInstance();
             }
-            Fixture.setSessionFactory(factory);
-        } catch (IOException e) {
-            Fixture.log.error(pathname, e);
-            throw new CmisRuntimeException(pathname, e);
+            this.setSessionFactory(factory);
         } catch (Exception e) {
             Fixture.log.error(factoryClassName, e);
             throw new CmisRuntimeException(factoryClassName, e);
         }
     }
 
-    public static void setUpTestData(Session session) {
-        Fixture.testData.setup();
+    public void setUpTestData(Session session) {
+        this.testData.setup();
     }
 
-    public static void teardownTestData(Session session) {
-        Fixture.testData.teardown();
+    public void teardownTestData(Session session) {
+        this.testData.teardown();
     }
 
-    private static boolean isLogged = false;
+    private static boolean isHeaderLogged = false;
 
     public static void logHeader() {
-        if (!Fixture.isLogged) {
+        if (!Fixture.isHeaderLogged) {
             /*
              * log header only once
              */
             Fixture.log.info("---------------------------------------------------------------");
-            Fixture.log.info("--- OpenCMIS FIT Test Suite (1) --------------------------------");
-            Fixture.log.info("---------------------------------------------------------------");
-            Fixture.log.info("config path (prop): " + System.getProperty(FixtureSessionParameter.CONFIG_PATH));
-            Fixture.log.info("session factory:    " + Fixture.getSessionFactory().getClass());
-            Fixture.log.info("session parameter:  " + Fixture.getParamter());
-
+            Fixture.log.info("--- OpenCMIS FIT Test Suite -----------------------------------");
             Fixture.log.info("---------------------------------------------------------------");
 
-            Fixture.isLogged = true;
+            Fixture.isHeaderLogged = true;
         }
     }
 
-    public static void enableAtomPub() {
-        Fixture.CONNECTION_PATH = Fixture.CONNECTION_ATOM_PATH;
+    public <T> void logTestClassContext(Class<T> c, FrameworkMethod method) {
+        Log l = LogFactory.getLog(c);
+        l.info("---------------------------------------------------------------");
+        l.info("test class:         " + c.getName());
+        l.info("test method:        " + method.getName());
+        l.info("session factory:    " + this.getSessionFactory().getClass());
+        l.info("test root id:       " + this.getTestRootId());
+//        l.info("session parameter:  " + this.getParamter());
+        l.info("---------------------------------------------------------------");
+    }
+
+    public void enableAtomPub() {
+        this.connectionPath = Fixture.CONNECTION_ATOM_PATH;
     }
 
-    public static void enableWebServices() {
-        Fixture.CONNECTION_PATH = Fixture.CONNECTION_WS_PATH;
+    public void enableWebServices() {
+        this.connectionPath = Fixture.CONNECTION_WS_PATH;
     }
 
-    public static String getTestRootId() {
-        return Fixture.testData.getTestRootId();
+    public String getTestRootId() {
+        return this.testData.getTestRootId();
     }
 
 }

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/FixtureSetup.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/FixtureSetup.java?rev=942068&r1=942067&r2=942068&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/FixtureSetup.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/FixtureSetup.java Fri May  7 13:27:43 2010
@@ -38,6 +38,11 @@ public class FixtureSetup {
     private String rootFolderId = null; // root
     private String testRootFolderId = null; // test root
     private String repositoryId = null;
+    private Fixture fixture = null;
+
+    public FixtureSetup(Fixture fixture) {
+        this.fixture = fixture;
+    }
 
     public void teardown() {
         this.binding.getObjectService().deleteTree(this.repositoryId, this.testRootFolderId, true, UnfileObject.DELETE,
@@ -45,16 +50,16 @@ public class FixtureSetup {
     }
 
     public void setup() {
-        this.repositoryId = Fixture.getParamter().get(SessionParameter.REPOSITORY_ID);
+        this.repositoryId = this.fixture.getParamter().get(SessionParameter.REPOSITORY_ID);
         Assert.assertNotNull(this.repositoryId);
 
-        this.binding = CmisBindingFactory.newInstance().createCmisBinding(Fixture.getParamter());
+        this.binding = CmisBindingFactory.newInstance().createCmisBinding(this.fixture.getParamter());
         Assert.assertNotNull(this.binding);
 
         // root folder
-        if (Fixture.getParamter().containsKey(FixtureSessionParameter.TEST_ROOT_FOLDER_ID)) {
+        if (this.fixture.getParamter().containsKey(Fixture.TEST_ROOT_FOLDER_ID)) {
             // test root folder
-            this.rootFolderId = Fixture.getParamter().get(FixtureSessionParameter.TEST_ROOT_FOLDER_ID);
+            this.rootFolderId = this.fixture.getParamter().get(Fixture.TEST_ROOT_FOLDER_ID);
             Assert.assertNotNull(this.rootFolderId);
         } else {
             RepositoryInfo rid = this.binding.getRepositoryService().getRepositoryInfo(this.repositoryId, null);

Copied: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyAclCapabilityAtomPubIT.java (from r942017, incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyAclCapabilityIT.java)
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyAclCapabilityAtomPubIT.java?p2=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyAclCapabilityAtomPubIT.java&p1=incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyAclCapabilityIT.java&r1=942017&r2=942068&rev=942068&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/ReadOnlyAclCapabilityIT.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyAclCapabilityAtomPubIT.java Fri May  7 13:27:43 2010
@@ -16,60 +16,16 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.chemistry.opencmis.fit.runtime;
+package org.apache.chemistry.opencmis.fit.runtime.atom;
 
-import java.util.List;
+import org.apache.chemistry.opencmis.fit.runtime.AbstractReadOnlyAclCapabilityIT;
+import org.apache.chemistry.opencmis.fit.runtime.Fixture;
 
-import org.apache.chemistry.opencmis.commons.api.AclCapabilities;
-import org.apache.chemistry.opencmis.commons.api.PermissionMapping;
-import org.apache.chemistry.opencmis.commons.api.RepositoryCapabilities;
-import org.apache.chemistry.opencmis.commons.api.RepositoryInfo;
-import org.apache.chemistry.opencmis.commons.enums.AclPropagation;
-import org.apache.chemistry.opencmis.commons.enums.CapabilityAcl;
-import org.junit.Assert;
-import org.junit.Assume;
-import org.junit.Before;
-import org.junit.Test;
+public class ReadOnlyAclCapabilityAtomPubIT extends AbstractReadOnlyAclCapabilityIT {
 
-public class ReadOnlyAclCapabilityIT extends AbstractSessionTest {
-
-    private AclCapabilities aclCapabilities = null;
-
-    @Before
-    public void setup() throws Exception {
-        RepositoryInfo r = this.session.getRepositoryInfo();
-        // capabilities
-        RepositoryCapabilities repcap = r.getCapabilities();
-        CapabilityAcl capacl = repcap.getAclCapability();
-
-        if (capacl != CapabilityAcl.NONE) {
-            // acl capabilities
-            this.aclCapabilities = r.getAclCapabilities();
-        }
-
-        Assume.assumeNotNull(this.aclCapabilities);
+    @Override
+    public void initFixture(Fixture fixture) {
+        fixture.enableAtomPub();
     }
 
-    @Test
-    public void repositoryCapabilitiesAclPropagation() {
-        AclPropagation aclprop = this.aclCapabilities.getAclPropagation();
-        switch (aclprop) {
-        case OBJECTONLY:
-            break;
-        case PROPAGATE:
-            break;
-        case REPOSITORYDETERMINED:
-            break;
-        default:
-            Assert.fail("enumeration not supported");
-        }
-    }
-
-    @Test
-    public void repositoryCapabilitiesAclPermissionMapping() {
-        PermissionMapping apm = this.aclCapabilities.getPermissionMapping()
-                .get(PermissionMapping.CAN_ADD_POLICY_OBJECT);
-        List<String> aclps = apm.getPermissions();
-        Assert.assertNotNull(aclps);
-    }
 }

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyAclCapabilityAtomPubIT.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyContentStreamAtomPubIT.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyContentStreamAtomPubIT.java?rev=942068&view=auto
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyContentStreamAtomPubIT.java (added)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyContentStreamAtomPubIT.java Fri May  7 13:27:43 2010
@@ -0,0 +1,31 @@
+/*
+ * 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.chemistry.opencmis.fit.runtime.atom;
+
+import org.apache.chemistry.opencmis.fit.runtime.AbstractReadOnlyContentStreamIT;
+import org.apache.chemistry.opencmis.fit.runtime.Fixture;
+
+public class ReadOnlyContentStreamAtomPubIT extends AbstractReadOnlyContentStreamIT {
+
+    @Override
+    public void initFixture(Fixture fixture) {
+        fixture.enableAtomPub();
+    }
+
+}

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyContentStreamAtomPubIT.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyDiscoverAtomPubIT.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyDiscoverAtomPubIT.java?rev=942068&view=auto
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyDiscoverAtomPubIT.java (added)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyDiscoverAtomPubIT.java Fri May  7 13:27:43 2010
@@ -0,0 +1,31 @@
+/*
+ * 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.chemistry.opencmis.fit.runtime.atom;
+
+import org.apache.chemistry.opencmis.fit.runtime.AbstractReadOnlyDiscoverIT;
+import org.apache.chemistry.opencmis.fit.runtime.Fixture;
+
+public class ReadOnlyDiscoverAtomPubIT extends AbstractReadOnlyDiscoverIT {
+
+    @Override
+    public void initFixture(Fixture fixture) {
+        fixture.enableAtomPub();
+    }
+
+}

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyDiscoverAtomPubIT.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyNavigationAtomPubIT.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyNavigationAtomPubIT.java?rev=942068&view=auto
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyNavigationAtomPubIT.java (added)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyNavigationAtomPubIT.java Fri May  7 13:27:43 2010
@@ -0,0 +1,31 @@
+/*
+ * 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.chemistry.opencmis.fit.runtime.atom;
+
+import org.apache.chemistry.opencmis.fit.runtime.AbstractReadOnlyNavigationIT;
+import org.apache.chemistry.opencmis.fit.runtime.Fixture;
+
+public class ReadOnlyNavigationAtomPubIT extends AbstractReadOnlyNavigationIT {
+
+    @Override
+    public void initFixture(Fixture fixture) {
+        fixture.enableAtomPub();
+    }
+
+}

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyNavigationAtomPubIT.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyObjectAtomPubIT.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyObjectAtomPubIT.java?rev=942068&view=auto
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyObjectAtomPubIT.java (added)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyObjectAtomPubIT.java Fri May  7 13:27:43 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.chemistry.opencmis.fit.runtime.atom;
+
+import org.apache.chemistry.opencmis.fit.runtime.AbstractReadOnlyObjectIT;
+import org.apache.chemistry.opencmis.fit.runtime.Fixture;
+
+/**
+ * Readonly tests on files and documents
+ */
+public class ReadOnlyObjectAtomPubIT extends AbstractReadOnlyObjectIT {
+
+    @Override
+    public void initFixture(Fixture fixture) {
+        fixture.enableAtomPub();
+    }
+
+}

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyObjectAtomPubIT.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyRepositoryInfoAtomPubIT.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyRepositoryInfoAtomPubIT.java?rev=942068&view=auto
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyRepositoryInfoAtomPubIT.java (added)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyRepositoryInfoAtomPubIT.java Fri May  7 13:27:43 2010
@@ -0,0 +1,34 @@
+/*
+ * 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.chemistry.opencmis.fit.runtime.atom;
+
+import org.apache.chemistry.opencmis.fit.runtime.AbstractReadOnlyRepositoryInfoIT;
+import org.apache.chemistry.opencmis.fit.runtime.Fixture;
+
+/**
+ * Testing folder and files.
+ */
+public class ReadOnlyRepositoryInfoAtomPubIT extends AbstractReadOnlyRepositoryInfoIT {
+
+    @Override
+    public void initFixture(Fixture fixture) {
+        fixture.enableAtomPub();
+    }
+
+}

Propchange: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-fit/src/test/java/org/apache/chemistry/opencmis/fit/runtime/atom/ReadOnlyRepositoryInfoAtomPubIT.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message