You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by ga...@apache.org on 2012/04/03 07:27:27 UTC

svn commit: r1308698 [15/15] - in /chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck: ./ css/ images/ images/logos/ xref/ xref/org/ xref/org/apache/ xref/org/apache/chemistry/ xref/org/apache/chemistry/op...

Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/VersioningSmokeTest.html
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/VersioningSmokeTest.html?rev=1308698&view=auto
==============================================================================
--- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/VersioningSmokeTest.html (added)
+++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/VersioningSmokeTest.html Tue Apr  3 05:27:23 2012
@@ -0,0 +1,161 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>VersioningSmokeTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="jxr_comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a name="3" href="#3">3</a>   <em class="jxr_comment"> * or more contributor license agreements.  See the NOTICE file</em>
+<a name="4" href="#4">4</a>   <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a name="5" href="#5">5</a>   <em class="jxr_comment"> * regarding copyright ownership.  The ASF licenses this file</em>
+<a name="6" href="#6">6</a>   <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a name="7" href="#7">7</a>   <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a name="8" href="#8">8</a>   <em class="jxr_comment"> * with the License.  You may obtain a copy of the License at</em>
+<a name="9" href="#9">9</a>   <em class="jxr_comment"> *</em>
+<a name="10" href="#10">10</a>  <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="11" href="#11">11</a>  <em class="jxr_comment"> *</em>
+<a name="12" href="#12">12</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a name="13" href="#13">13</a>  <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a name="14" href="#14">14</a>  <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a name="15" href="#15">15</a>  <em class="jxr_comment"> * KIND, either express or implied.  See the License for the</em>
+<a name="16" href="#16">16</a>  <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a name="17" href="#17">17</a>  <em class="jxr_comment"> * under the License.</em>
+<a name="18" href="#18">18</a>  <em class="jxr_comment"> */</em>
+<a name="19" href="#19">19</a>  <strong class="jxr_keyword">package</strong> org.apache.chemistry.opencmis.tck.tests.versioning;
+<a name="20" href="#20">20</a>  
+<a name="21" href="#21">21</a>  <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.apache.chemistry.opencmis.tck.CmisTestResultStatus.FAILURE;
+<a name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.apache.chemistry.opencmis.tck.CmisTestResultStatus.SKIPPED;
+<a name="23" href="#23">23</a>  <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.apache.chemistry.opencmis.tck.CmisTestResultStatus.WARNING;
+<a name="24" href="#24">24</a>  
+<a name="25" href="#25">25</a>  <strong class="jxr_keyword">import</strong> java.util.List;
+<a name="26" href="#26">26</a>  <strong class="jxr_keyword">import</strong> java.util.Map;
+<a name="27" href="#27">27</a>  
+<a name="28" href="#28">28</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.client.api.Document;
+<a name="29" href="#29">29</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.client.api.Folder;
+<a name="30" href="#30">30</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.client.api.ObjectId;
+<a name="31" href="#31">31</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.client.api.Session;
+<a name="32" href="#32">32</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.definitions.DocumentTypeDefinition;
+<a name="33" href="#33">33</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.tck.CmisTestResult;
+<a name="34" href="#34">34</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest;
+<a name="35" href="#35">35</a>  
+<a name="36" href="#36">36</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="37" href="#37">37</a>  <em class="jxr_javadoccomment"> * Checked out test.</em>
+<a name="38" href="#38">38</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="39" href="#39">39</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../../org/apache/chemistry/opencmis/tck/tests/versioning/VersioningSmokeTest.html">VersioningSmokeTest</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../../../org/apache/chemistry/opencmis/tck/impl/AbstractSessionTest.html">AbstractSessionTest</a> {
+<a name="40" href="#40">40</a>  
+<a name="41" href="#41">41</a>      @Override
+<a name="42" href="#42">42</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> init(Map&lt;String, String&gt; parameters) {
+<a name="43" href="#43">43</a>          <strong class="jxr_keyword">super</strong>.init(parameters);
+<a name="44" href="#44">44</a>          setName(<span class="jxr_string">"Versioning Smoke Test"</span>);
+<a name="45" href="#45">45</a>          setDescription(<span class="jxr_string">"Creates a document, checks it out, cancels the check out, checks it out again and finally checks it in."</span>);
+<a name="46" href="#46">46</a>      }
+<a name="47" href="#47">47</a>  
+<a name="48" href="#48">48</a>      @Override
+<a name="49" href="#49">49</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> run(Session session) {
+<a name="50" href="#50">50</a>          <a href="../../../../../../../org/apache/chemistry/opencmis/tck/CmisTestResult.html">CmisTestResult</a> f;
+<a name="51" href="#51">51</a>  
+<a name="52" href="#52">52</a>          <strong class="jxr_keyword">try</strong> {
+<a name="53" href="#53">53</a>              <em class="jxr_comment">// create folder and document</em>
+<a name="54" href="#54">54</a>              Folder testFolder = createTestFolder(session);
+<a name="55" href="#55">55</a>              Document doc = createDocument(session, testFolder, <span class="jxr_string">"versioningtest.txt"</span>, <span class="jxr_string">"versioning"</span>);
+<a name="56" href="#56">56</a>              DocumentTypeDefinition docType = (DocumentTypeDefinition) doc.getType();
+<a name="57" href="#57">57</a>  
+<a name="58" href="#58">58</a>              <strong class="jxr_keyword">if</strong> (!docType.isVersionable()) {
+<a name="59" href="#59">59</a>                  addResult(createResult(SKIPPED, <span class="jxr_string">"Test type is not versionable. Test skipped!"</span>));
+<a name="60" href="#60">60</a>                  doc.delete(<strong class="jxr_keyword">true</strong>);
+<a name="61" href="#61">61</a>                  <strong class="jxr_keyword">return</strong>;
+<a name="62" href="#62">62</a>              }
+<a name="63" href="#63">63</a>  
+<a name="64" href="#64">64</a>              <em class="jxr_comment">// check out</em>
+<a name="65" href="#65">65</a>              ObjectId pwcId = doc.checkOut();
+<a name="66" href="#66">66</a>              Document pwc = (Document) session.getObject(pwcId, SELECT_ALL_NO_CACHE_OC);
+<a name="67" href="#67">67</a>  
+<a name="68" href="#68">68</a>              addResult(checkObject(session, pwc, getAllProperties(pwc), <span class="jxr_string">"PWC spec compliance - test 1"</span>));
+<a name="69" href="#69">69</a>  
+<a name="70" href="#70">70</a>              checkCheckedOut(pwc);
+<a name="71" href="#71">71</a>  
+<a name="72" href="#72">72</a>              <em class="jxr_comment">// cancel checkout</em>
+<a name="73" href="#73">73</a>              pwc.cancelCheckOut();
+<a name="74" href="#74">74</a>  
+<a name="75" href="#75">75</a>              doc.refresh();
+<a name="76" href="#76">76</a>              checkCheckedIn(doc);
+<a name="77" href="#77">77</a>  
+<a name="78" href="#78">78</a>              <em class="jxr_comment">// check out again</em>
+<a name="79" href="#79">79</a>              pwcId = doc.checkOut();
+<a name="80" href="#80">80</a>              pwc = (Document) session.getObject(pwcId, SELECT_ALL_NO_CACHE_OC);
+<a name="81" href="#81">81</a>  
+<a name="82" href="#82">82</a>              addResult(checkObject(session, pwc, getAllProperties(pwc), <span class="jxr_string">"PWC spec compliance - test 2"</span>));
+<a name="83" href="#83">83</a>  
+<a name="84" href="#84">84</a>              checkCheckedOut(pwc);
+<a name="85" href="#85">85</a>  
+<a name="86" href="#86">86</a>              <em class="jxr_comment">// check in</em>
+<a name="87" href="#87">87</a>              ObjectId newVersionId = pwc.checkIn(<strong class="jxr_keyword">true</strong>, <strong class="jxr_keyword">null</strong>, <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"Test Version 2"</span>);
+<a name="88" href="#88">88</a>              Document newVersion = (Document) session.getObject(newVersionId, SELECT_ALL_NO_CACHE_OC);
+<a name="89" href="#89">89</a>  
+<a name="90" href="#90">90</a>              addResult(checkObject(session, newVersion, getAllProperties(newVersion), <span class="jxr_string">"New version compliance"</span>));
+<a name="91" href="#91">91</a>  
+<a name="92" href="#92">92</a>              checkCheckedIn(newVersion);
+<a name="93" href="#93">93</a>  
+<a name="94" href="#94">94</a>              <em class="jxr_comment">// check version history</em>
+<a name="95" href="#95">95</a>              List&lt;Document&gt; versions = newVersion.getAllVersions();
+<a name="96" href="#96">96</a>              f = createResult(FAILURE, <span class="jxr_string">"Version series should have 2 versions but has "</span> + versions.size() + <span class="jxr_string">"!"</span>);
+<a name="97" href="#97">97</a>              addResult(assertEquals(2, versions.size(), <strong class="jxr_keyword">null</strong>, f));
+<a name="98" href="#98">98</a>  
+<a name="99" href="#99">99</a>              <strong class="jxr_keyword">if</strong> (versions.size() &gt; 0) {
+<a name="100" href="#100">100</a>                 f = createResult(FAILURE,
+<a name="101" href="#101">101</a>                         <span class="jxr_string">"Version history order is incorrect! The first version should be the new version."</span>);
+<a name="102" href="#102">102</a>                 addResult(assertEquals(newVersion.getId(), versions.get(0).getId(), <strong class="jxr_keyword">null</strong>, f));
+<a name="103" href="#103">103</a>             }
+<a name="104" href="#104">104</a> 
+<a name="105" href="#105">105</a>             <strong class="jxr_keyword">if</strong> (versions.size() &gt; 1) {
+<a name="106" href="#106">106</a>                 f = createResult(FAILURE,
+<a name="107" href="#107">107</a>                         <span class="jxr_string">"Version history order is incorrect! The second version should be the origin document."</span>);
+<a name="108" href="#108">108</a>                 addResult(assertEquals(doc.getId(), versions.get(1).getId(), <strong class="jxr_keyword">null</strong>, f));
+<a name="109" href="#109">109</a>             }
+<a name="110" href="#110">110</a> 
+<a name="111" href="#111">111</a>             <em class="jxr_comment">// remove the document</em>
+<a name="112" href="#112">112</a>             deleteObject(doc);
+<a name="113" href="#113">113</a>         } <strong class="jxr_keyword">finally</strong> {
+<a name="114" href="#114">114</a>             deleteTestFolder();
+<a name="115" href="#115">115</a>         }
+<a name="116" href="#116">116</a>     }
+<a name="117" href="#117">117</a> 
+<a name="118" href="#118">118</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> checkCheckedOut(Document pwc) {
+<a name="119" href="#119">119</a>         <a href="../../../../../../../org/apache/chemistry/opencmis/tck/CmisTestResult.html">CmisTestResult</a> f;
+<a name="120" href="#120">120</a> 
+<a name="121" href="#121">121</a>         f = createResult(FAILURE, <span class="jxr_string">"Version series has a PWC but cmis:isVersionSeriesCheckedOut is not TRUE!"</span>);
+<a name="122" href="#122">122</a>         addResult(assertIsTrue(pwc.isVersionSeriesCheckedOut(), <strong class="jxr_keyword">null</strong>, f));
+<a name="123" href="#123">123</a> 
+<a name="124" href="#124">124</a>         <strong class="jxr_keyword">if</strong> (pwc.getVersionSeriesCheckedOutId() == <strong class="jxr_keyword">null</strong>) {
+<a name="125" href="#125">125</a>             addResult(createResult(WARNING, <span class="jxr_string">"cmis:versionSeriesCheckedOutId is not set!"</span>));
+<a name="126" href="#126">126</a>         } <strong class="jxr_keyword">else</strong> {
+<a name="127" href="#127">127</a>             f = createResult(FAILURE, <span class="jxr_string">"PWC id and cmis:versionSeriesCheckedOutId don't match!"</span>);
+<a name="128" href="#128">128</a>             addResult(assertEquals(pwc.getId(), pwc.getVersionSeriesCheckedOutId(), <strong class="jxr_keyword">null</strong>, f));
+<a name="129" href="#129">129</a>         }
+<a name="130" href="#130">130</a> 
+<a name="131" href="#131">131</a>         f = createResult(WARNING, <span class="jxr_string">"PWC does not have a value for cmis:versionSeriesCheckedOutBy!"</span>);
+<a name="132" href="#132">132</a>         addResult(assertStringNotEmpty(pwc.getVersionSeriesCheckedOutBy(), <strong class="jxr_keyword">null</strong>, f));
+<a name="133" href="#133">133</a>     }
+<a name="134" href="#134">134</a> 
+<a name="135" href="#135">135</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> checkCheckedIn(Document doc) {
+<a name="136" href="#136">136</a>         <a href="../../../../../../../org/apache/chemistry/opencmis/tck/CmisTestResult.html">CmisTestResult</a> f;
+<a name="137" href="#137">137</a> 
+<a name="138" href="#138">138</a>         f = createResult(FAILURE, <span class="jxr_string">"Version series is not checked out but cmis:isVersionSeriesCheckedOut is not FALSE!"</span>);
+<a name="139" href="#139">139</a>         addResult(assertIsFalse(doc.isVersionSeriesCheckedOut(), <strong class="jxr_keyword">null</strong>, f));
+<a name="140" href="#140">140</a> 
+<a name="141" href="#141">141</a>         f = createResult(FAILURE, <span class="jxr_string">"Version series is not checked out but cmis:versionSeriesCheckedOutId has a value!"</span>);
+<a name="142" href="#142">142</a>         addResult(assertNull(doc.getVersionSeriesCheckedOutId(), <strong class="jxr_keyword">null</strong>, f));
+<a name="143" href="#143">143</a> 
+<a name="144" href="#144">144</a>         f = createResult(FAILURE, <span class="jxr_string">"Version series is not checked out but cmis:versionSeriesCheckedOutBy has a value!"</span>);
+<a name="145" href="#145">145</a>         addResult(assertNull(doc.getVersionSeriesCheckedOutBy(), <strong class="jxr_keyword">null</strong>, f));
+<a name="146" href="#146">146</a>     }
+<a name="147" href="#147">147</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/VersioningStateCreateTest.html
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/VersioningStateCreateTest.html?rev=1308698&view=auto
==============================================================================
--- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/VersioningStateCreateTest.html (added)
+++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/VersioningStateCreateTest.html Tue Apr  3 05:27:23 2012
@@ -0,0 +1,170 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>VersioningStateCreateTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="jxr_comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a name="3" href="#3">3</a>   <em class="jxr_comment"> * or more contributor license agreements.  See the NOTICE file</em>
+<a name="4" href="#4">4</a>   <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a name="5" href="#5">5</a>   <em class="jxr_comment"> * regarding copyright ownership.  The ASF licenses this file</em>
+<a name="6" href="#6">6</a>   <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a name="7" href="#7">7</a>   <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a name="8" href="#8">8</a>   <em class="jxr_comment"> * with the License.  You may obtain a copy of the License at</em>
+<a name="9" href="#9">9</a>   <em class="jxr_comment"> *</em>
+<a name="10" href="#10">10</a>  <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="11" href="#11">11</a>  <em class="jxr_comment"> *</em>
+<a name="12" href="#12">12</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a name="13" href="#13">13</a>  <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a name="14" href="#14">14</a>  <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a name="15" href="#15">15</a>  <em class="jxr_comment"> * KIND, either express or implied.  See the License for the</em>
+<a name="16" href="#16">16</a>  <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a name="17" href="#17">17</a>  <em class="jxr_comment"> * under the License.</em>
+<a name="18" href="#18">18</a>  <em class="jxr_comment"> */</em>
+<a name="19" href="#19">19</a>  <strong class="jxr_keyword">package</strong> org.apache.chemistry.opencmis.tck.tests.versioning;
+<a name="20" href="#20">20</a>  
+<a name="21" href="#21">21</a>  <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.apache.chemistry.opencmis.tck.CmisTestResultStatus.FAILURE;
+<a name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.apache.chemistry.opencmis.tck.CmisTestResultStatus.SKIPPED;
+<a name="23" href="#23">23</a>  <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.apache.chemistry.opencmis.tck.CmisTestResultStatus.WARNING;
+<a name="24" href="#24">24</a>  
+<a name="25" href="#25">25</a>  <strong class="jxr_keyword">import</strong> java.io.ByteArrayInputStream;
+<a name="26" href="#26">26</a>  <strong class="jxr_keyword">import</strong> java.math.BigInteger;
+<a name="27" href="#27">27</a>  <strong class="jxr_keyword">import</strong> java.util.HashMap;
+<a name="28" href="#28">28</a>  <strong class="jxr_keyword">import</strong> java.util.List;
+<a name="29" href="#29">29</a>  <strong class="jxr_keyword">import</strong> java.util.Map;
+<a name="30" href="#30">30</a>  
+<a name="31" href="#31">31</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.client.api.Document;
+<a name="32" href="#32">32</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.client.api.Folder;
+<a name="33" href="#33">33</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.client.api.Session;
+<a name="34" href="#34">34</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.PropertyIds;
+<a name="35" href="#35">35</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.data.ContentStream;
+<a name="36" href="#36">36</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.definitions.DocumentTypeDefinition;
+<a name="37" href="#37">37</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.enums.VersioningState;
+<a name="38" href="#38">38</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.exceptions.CmisConstraintException;
+<a name="39" href="#39">39</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException;
+<a name="40" href="#40">40</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.commons.impl.dataobjects.ContentStreamImpl;
+<a name="41" href="#41">41</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.tck.CmisTestResult;
+<a name="42" href="#42">42</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest;
+<a name="43" href="#43">43</a>  
+<a name="44" href="#44">44</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../../org/apache/chemistry/opencmis/tck/tests/versioning/VersioningStateCreateTest.html">VersioningStateCreateTest</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../../../org/apache/chemistry/opencmis/tck/impl/AbstractSessionTest.html">AbstractSessionTest</a> {
+<a name="45" href="#45">45</a>  
+<a name="46" href="#46">46</a>      @Override
+<a name="47" href="#47">47</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> init(Map&lt;String, String&gt; parameters) {
+<a name="48" href="#48">48</a>          <strong class="jxr_keyword">super</strong>.init(parameters);
+<a name="49" href="#49">49</a>          setName(<span class="jxr_string">"Versioning State Create Test"</span>);
+<a name="50" href="#50">50</a>          setDescription(<span class="jxr_string">"Creates documents in different versioing states."</span>);
+<a name="51" href="#51">51</a>      }
+<a name="52" href="#52">52</a>  
+<a name="53" href="#53">53</a>      @Override
+<a name="54" href="#54">54</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> run(Session session) {
+<a name="55" href="#55">55</a>          <a href="../../../../../../../org/apache/chemistry/opencmis/tck/CmisTestResult.html">CmisTestResult</a> f;
+<a name="56" href="#56">56</a>  
+<a name="57" href="#57">57</a>          <strong class="jxr_keyword">try</strong> {
+<a name="58" href="#58">58</a>              <em class="jxr_comment">// create folder and document</em>
+<a name="59" href="#59">59</a>              Folder testFolder = createTestFolder(session);
+<a name="60" href="#60">60</a>  
+<a name="61" href="#61">61</a>              DocumentTypeDefinition docType = (DocumentTypeDefinition) session
+<a name="62" href="#62">62</a>                      .getTypeDefinition(getDocumentTestTypeId());
+<a name="63" href="#63">63</a>  
+<a name="64" href="#64">64</a>              <strong class="jxr_keyword">if</strong> (!docType.isVersionable()) {
+<a name="65" href="#65">65</a>                  addResult(createResult(SKIPPED, <span class="jxr_string">"Test type is not versionable. Test skipped!"</span>));
+<a name="66" href="#66">66</a>                  <strong class="jxr_keyword">return</strong>;
+<a name="67" href="#67">67</a>              }
+<a name="68" href="#68">68</a>  
+<a name="69" href="#69">69</a>              <em class="jxr_comment">// major version</em>
+<a name="70" href="#70">70</a>              Document docMajor = testFolder.createDocument(getProperties(<span class="jxr_string">"major.txt"</span>), getContentStream(),
+<a name="71" href="#71">71</a>                      VersioningState.MAJOR, <strong class="jxr_keyword">null</strong>, <strong class="jxr_keyword">null</strong>, <strong class="jxr_keyword">null</strong>, SELECT_ALL_NO_CACHE_OC);
+<a name="72" href="#72">72</a>              addResult(checkObject(session, docMajor, getAllProperties(docMajor), <span class="jxr_string">"Major version compliance"</span>));
+<a name="73" href="#73">73</a>  
+<a name="74" href="#74">74</a>              f = createResult(FAILURE, <span class="jxr_string">"Document should be major version."</span>);
+<a name="75" href="#75">75</a>              addResult(assertIsTrue(docMajor.isMajorVersion(), <strong class="jxr_keyword">null</strong>, f));
+<a name="76" href="#76">76</a>  
+<a name="77" href="#77">77</a>              List&lt;Document&gt; versions = docMajor.getAllVersions();
+<a name="78" href="#78">78</a>  
+<a name="79" href="#79">79</a>              f = createResult(FAILURE, <span class="jxr_string">"Version series should have one version but has "</span> + versions.size() + <span class="jxr_string">"."</span>);
+<a name="80" href="#80">80</a>              addResult(assertEquals(1, versions.size(), <strong class="jxr_keyword">null</strong>, f));
+<a name="81" href="#81">81</a>  
+<a name="82" href="#82">82</a>              deleteObject(docMajor);
+<a name="83" href="#83">83</a>  
+<a name="84" href="#84">84</a>              <em class="jxr_comment">// minor version</em>
+<a name="85" href="#85">85</a>              <strong class="jxr_keyword">try</strong> {
+<a name="86" href="#86">86</a>                  Document docMinor = testFolder.createDocument(getProperties(<span class="jxr_string">"minor.txt"</span>), getContentStream(),
+<a name="87" href="#87">87</a>                          VersioningState.MINOR, <strong class="jxr_keyword">null</strong>, <strong class="jxr_keyword">null</strong>, <strong class="jxr_keyword">null</strong>, SELECT_ALL_NO_CACHE_OC);
+<a name="88" href="#88">88</a>                  addResult(checkObject(session, docMinor, getAllProperties(docMinor), <span class="jxr_string">"Minor version compliance"</span>));
+<a name="89" href="#89">89</a>  
+<a name="90" href="#90">90</a>                  f = createResult(FAILURE, <span class="jxr_string">"Document should be minor version."</span>);
+<a name="91" href="#91">91</a>                  addResult(assertIsFalse(docMinor.isMajorVersion(), <strong class="jxr_keyword">null</strong>, f));
+<a name="92" href="#92">92</a>  
+<a name="93" href="#93">93</a>                  versions = docMinor.getAllVersions();
+<a name="94" href="#94">94</a>  
+<a name="95" href="#95">95</a>                  f = createResult(FAILURE, <span class="jxr_string">"Version series should have one version but has "</span> + versions.size() + <span class="jxr_string">"."</span>);
+<a name="96" href="#96">96</a>                  addResult(assertEquals(1, versions.size(), <strong class="jxr_keyword">null</strong>, f));
+<a name="97" href="#97">97</a>  
+<a name="98" href="#98">98</a>                  deleteObject(docMinor);
+<a name="99" href="#99">99</a>              } <strong class="jxr_keyword">catch</strong> (CmisConstraintException ce) {
+<a name="100" href="#100">100</a>                 addResult(createResult(WARNING, <span class="jxr_string">"Creating a minor version failed! "</span>
+<a name="101" href="#101">101</a>                         + <span class="jxr_string">"The repository might not support minor versions. Exception: "</span> + ce, ce, false));
+<a name="102" href="#102">102</a>             } <strong class="jxr_keyword">catch</strong> (CmisInvalidArgumentException iae) {
+<a name="103" href="#103">103</a>                 addResult(createResult(WARNING, <span class="jxr_string">"Creating a minor version failed! "</span>
+<a name="104" href="#104">104</a>                         + <span class="jxr_string">"The repository might not support minor versions.  Exception: "</span> + iae, iae, false));
+<a name="105" href="#105">105</a>             }
+<a name="106" href="#106">106</a> 
+<a name="107" href="#107">107</a>             <em class="jxr_comment">// checked out version</em>
+<a name="108" href="#108">108</a>             <strong class="jxr_keyword">try</strong> {
+<a name="109" href="#109">109</a>                 Document docCheckedOut = testFolder.createDocument(getProperties(<span class="jxr_string">"checkout.txt"</span>), getContentStream(),
+<a name="110" href="#110">110</a>                         VersioningState.CHECKEDOUT, <strong class="jxr_keyword">null</strong>, <strong class="jxr_keyword">null</strong>, <strong class="jxr_keyword">null</strong>, SELECT_ALL_NO_CACHE_OC);
+<a name="111" href="#111">111</a>                 addResult(checkObject(session, docCheckedOut, getAllProperties(docCheckedOut),
+<a name="112" href="#112">112</a>                         <span class="jxr_string">"Checked out version compliance"</span>));
+<a name="113" href="#113">113</a> 
+<a name="114" href="#114">114</a>                 f = createResult(FAILURE, <span class="jxr_string">"Version series should be checked out."</span>);
+<a name="115" href="#115">115</a>                 addResult(assertIsTrue(docCheckedOut.isVersionSeriesCheckedOut(), <strong class="jxr_keyword">null</strong>, f));
+<a name="116" href="#116">116</a> 
+<a name="117" href="#117">117</a>                 versions = docCheckedOut.getAllVersions();
+<a name="118" href="#118">118</a> 
+<a name="119" href="#119">119</a>                 f = createResult(FAILURE, <span class="jxr_string">"Version series should have one version but has "</span> + versions.size() + <span class="jxr_string">"."</span>);
+<a name="120" href="#120">120</a>                 addResult(assertEquals(1, versions.size(), <strong class="jxr_keyword">null</strong>, f));
+<a name="121" href="#121">121</a> 
+<a name="122" href="#122">122</a>                 docCheckedOut.cancelCheckOut();
+<a name="123" href="#123">123</a>             } <strong class="jxr_keyword">catch</strong> (CmisConstraintException ce) {
+<a name="124" href="#124">124</a>                 addResult(createResult(WARNING, <span class="jxr_string">"Creating a checked out version failed! "</span>
+<a name="125" href="#125">125</a>                         + <span class="jxr_string">"The repository might not support creating checked out versions. Exception: "</span> + ce, ce, false));
+<a name="126" href="#126">126</a>             } <strong class="jxr_keyword">catch</strong> (CmisInvalidArgumentException iae) {
+<a name="127" href="#127">127</a>                 addResult(createResult(WARNING, <span class="jxr_string">"Creating a checked out version failed! "</span>
+<a name="128" href="#128">128</a>                         + <span class="jxr_string">"The repository might not  support creating checked out versions.  Exception: "</span> + iae, iae,
+<a name="129" href="#129">129</a>                         false));
+<a name="130" href="#130">130</a>             }
+<a name="131" href="#131">131</a> 
+<a name="132" href="#132">132</a>         } <strong class="jxr_keyword">finally</strong> {
+<a name="133" href="#133">133</a>             deleteTestFolder();
+<a name="134" href="#134">134</a>         }
+<a name="135" href="#135">135</a>     }
+<a name="136" href="#136">136</a> 
+<a name="137" href="#137">137</a>     <strong class="jxr_keyword">private</strong> Map&lt;String, Object&gt; getProperties(String name) {
+<a name="138" href="#138">138</a>         Map&lt;String, Object&gt; properties = <strong class="jxr_keyword">new</strong> HashMap&lt;String, Object&gt;();
+<a name="139" href="#139">139</a>         properties.put(PropertyIds.NAME, name);
+<a name="140" href="#140">140</a>         properties.put(PropertyIds.OBJECT_TYPE_ID, getDocumentTestTypeId());
+<a name="141" href="#141">141</a> 
+<a name="142" href="#142">142</a>         <strong class="jxr_keyword">return</strong> properties;
+<a name="143" href="#143">143</a>     }
+<a name="144" href="#144">144</a> 
+<a name="145" href="#145">145</a>     <strong class="jxr_keyword">private</strong> ContentStream getContentStream() {
+<a name="146" href="#146">146</a>         byte[] contentBytes = <strong class="jxr_keyword">null</strong>;
+<a name="147" href="#147">147</a>         <strong class="jxr_keyword">try</strong> {
+<a name="148" href="#148">148</a>             contentBytes = <span class="jxr_string">"some content"</span>.getBytes(<span class="jxr_string">"UTF-8"</span>);
+<a name="149" href="#149">149</a>         } <strong class="jxr_keyword">catch</strong> (Exception e) {
+<a name="150" href="#150">150</a>             contentBytes = <span class="jxr_string">"some content"</span>.getBytes();
+<a name="151" href="#151">151</a>         }
+<a name="152" href="#152">152</a> 
+<a name="153" href="#153">153</a>         <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> ContentStreamImpl(<span class="jxr_string">"content.txt"</span>, BigInteger.valueOf(contentBytes.length), <span class="jxr_string">"text/plain"</span>,
+<a name="154" href="#154">154</a>                 <strong class="jxr_keyword">new</strong> ByteArrayInputStream(contentBytes));
+<a name="155" href="#155">155</a>     }
+<a name="156" href="#156">156</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/VersioningTestGroup.html
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/VersioningTestGroup.html?rev=1308698&view=auto
==============================================================================
--- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/VersioningTestGroup.html (added)
+++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/VersioningTestGroup.html Tue Apr  3 05:27:23 2012
@@ -0,0 +1,55 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>VersioningTestGroup xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="jxr_comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one</em>
+<a name="3" href="#3">3</a>   <em class="jxr_comment"> * or more contributor license agreements.  See the NOTICE file</em>
+<a name="4" href="#4">4</a>   <em class="jxr_comment"> * distributed with this work for additional information</em>
+<a name="5" href="#5">5</a>   <em class="jxr_comment"> * regarding copyright ownership.  The ASF licenses this file</em>
+<a name="6" href="#6">6</a>   <em class="jxr_comment"> * to you under the Apache License, Version 2.0 (the</em>
+<a name="7" href="#7">7</a>   <em class="jxr_comment"> * "License"); you may not use this file except in compliance</em>
+<a name="8" href="#8">8</a>   <em class="jxr_comment"> * with the License.  You may obtain a copy of the License at</em>
+<a name="9" href="#9">9</a>   <em class="jxr_comment"> *</em>
+<a name="10" href="#10">10</a>  <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="11" href="#11">11</a>  <em class="jxr_comment"> *</em>
+<a name="12" href="#12">12</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing,</em>
+<a name="13" href="#13">13</a>  <em class="jxr_comment"> * software distributed under the License is distributed on an</em>
+<a name="14" href="#14">14</a>  <em class="jxr_comment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</em>
+<a name="15" href="#15">15</a>  <em class="jxr_comment"> * KIND, either express or implied.  See the License for the</em>
+<a name="16" href="#16">16</a>  <em class="jxr_comment"> * specific language governing permissions and limitations</em>
+<a name="17" href="#17">17</a>  <em class="jxr_comment"> * under the License.</em>
+<a name="18" href="#18">18</a>  <em class="jxr_comment"> */</em>
+<a name="19" href="#19">19</a>  <strong class="jxr_keyword">package</strong> org.apache.chemistry.opencmis.tck.tests.versioning;
+<a name="20" href="#20">20</a>  
+<a name="21" href="#21">21</a>  <strong class="jxr_keyword">import</strong> java.util.Map;
+<a name="22" href="#22">22</a>  
+<a name="23" href="#23">23</a>  <strong class="jxr_keyword">import</strong> org.apache.chemistry.opencmis.tck.impl.AbstractSessionTestGroup;
+<a name="24" href="#24">24</a>  
+<a name="25" href="#25">25</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="26" href="#26">26</a>  <em class="jxr_javadoccomment"> * This test group contains versioning tests.</em>
+<a name="27" href="#27">27</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="28" href="#28">28</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../../../org/apache/chemistry/opencmis/tck/tests/versioning/VersioningTestGroup.html">VersioningTestGroup</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../../../org/apache/chemistry/opencmis/tck/impl/AbstractSessionTestGroup.html">AbstractSessionTestGroup</a> {
+<a name="29" href="#29">29</a>      @Override
+<a name="30" href="#30">30</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> init(Map&lt;String, String&gt; parameters) <strong class="jxr_keyword">throws</strong> Exception {
+<a name="31" href="#31">31</a>          <strong class="jxr_keyword">super</strong>.init(parameters);
+<a name="32" href="#32">32</a>  
+<a name="33" href="#33">33</a>          setName(<span class="jxr_string">"Versioning Test Group"</span>);
+<a name="34" href="#34">34</a>          setDescription(<span class="jxr_string">"Versioning tests."</span>);
+<a name="35" href="#35">35</a>  
+<a name="36" href="#36">36</a>          addTest(<strong class="jxr_keyword">new</strong> <a href="../../../../../../../org/apache/chemistry/opencmis/tck/tests/versioning/VersioningSmokeTest.html">VersioningSmokeTest</a>());
+<a name="37" href="#37">37</a>          addTest(<strong class="jxr_keyword">new</strong> <a href="../../../../../../../org/apache/chemistry/opencmis/tck/tests/versioning/VersionDeleteTest.html">VersionDeleteTest</a>());
+<a name="38" href="#38">38</a>          addTest(<strong class="jxr_keyword">new</strong> <a href="../../../../../../../org/apache/chemistry/opencmis/tck/tests/versioning/VersioningStateCreateTest.html">VersioningStateCreateTest</a>());
+<a name="39" href="#39">39</a>          addTest(<strong class="jxr_keyword">new</strong> <a href="../../../../../../../org/apache/chemistry/opencmis/tck/tests/versioning/CheckedOutTest.html">CheckedOutTest</a>());
+<a name="40" href="#40">40</a>      }
+<a name="41" href="#41">41</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/package-frame.html
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/package-frame.html?rev=1308698&view=auto
==============================================================================
--- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/package-frame.html (added)
+++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/package-frame.html Tue Apr  3 05:27:23 2012
@@ -0,0 +1,36 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+		<title>OpenCMIS Test Compatibility Kit 0.7.0 Reference Package org.apache.chemistry.opencmis.tck.tests.versioning</title>
+		<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" />
+	</head>
+	<body>
+
+		<h3>
+        	<a href="package-summary.html" target="classFrame">org.apache.chemistry.opencmis.tck.tests.versioning</a>
+      	</h3>
+
+      	<h3>Classes</h3>
+
+      	<ul>
+      		          	<li>
+            	<a href="CheckedOutTest.html" target="classFrame">CheckedOutTest</a>
+          	</li>
+          	          	<li>
+            	<a href="VersionDeleteTest.html" target="classFrame">VersionDeleteTest</a>
+          	</li>
+          	          	<li>
+            	<a href="VersioningSmokeTest.html" target="classFrame">VersioningSmokeTest</a>
+          	</li>
+          	          	<li>
+            	<a href="VersioningStateCreateTest.html" target="classFrame">VersioningStateCreateTest</a>
+          	</li>
+          	          	<li>
+            	<a href="VersioningTestGroup.html" target="classFrame">VersioningTestGroup</a>
+          	</li>
+          	      	</ul>
+
+	</body>
+</html>
\ No newline at end of file

Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/package-summary.html
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/package-summary.html?rev=1308698&view=auto
==============================================================================
--- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/package-summary.html (added)
+++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/org/apache/chemistry/opencmis/tck/tests/versioning/package-summary.html Tue Apr  3 05:27:23 2012
@@ -0,0 +1,87 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+		<title>OpenCMIS Test Compatibility Kit 0.7.0 Reference Package org.apache.chemistry.opencmis.tck.tests.versioning</title>
+		<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" />
+	</head>
+	<body>
+		      	<div class="overview">
+        	<ul>
+          		<li>
+            		<a href="../../../../../../../overview-summary.html">Overview</a>
+          		</li>
+          		<li class="selected">Package</li>
+        	</ul>
+      	</div>
+      	<div class="framenoframe">
+        	<ul>
+          		<li>
+            		<a href="../../../../../../../index.html" target="_top">FRAMES</a>
+          		</li>
+          		<li>
+            		<a href="package-summary.html" target="_top">NO FRAMES</a>
+          		</li>
+        	</ul>
+      	</div>
+		
+		      	<h2>Package org.apache.chemistry.opencmis.tck.tests.versioning</h2>
+
+		<table class="summary">
+        	<thead>
+          		<tr>
+            		<th>Class Summary</th>
+          		</tr>
+        	</thead>
+        	<tbody>
+        		            	<tr>
+              		<td>
+                		<a href="CheckedOutTest.html" target="classFrame">CheckedOutTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="VersionDeleteTest.html" target="classFrame">VersionDeleteTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="VersioningSmokeTest.html" target="classFrame">VersioningSmokeTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="VersioningStateCreateTest.html" target="classFrame">VersioningStateCreateTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="VersioningTestGroup.html" target="classFrame">VersioningTestGroup</a>
+              		</td>
+            	</tr>
+				        	</tbody>
+      	</table>
+		
+		      	<div class="overview">
+        	<ul>
+          		<li>
+            		<a href="../../../../../../../overview-summary.html">Overview</a>
+          		</li>
+          		<li class="selected">Package</li>
+        	</ul>
+      	</div>
+      	<div class="framenoframe">
+        	<ul>
+          		<li>
+            		<a href="../../../../../../../index.html" target="_top">FRAMES</a>
+          		</li>
+          		<li>
+            		<a href="package-summary.html" target="_top">NO FRAMES</a>
+          		</li>
+        	</ul>
+      	</div>
+				<hr />
+		Copyright &copy; 2009-2012 The Apache Software Foundation. All Rights Reserved.
+	</body>
+</html>
\ No newline at end of file

Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/overview-frame.html
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/overview-frame.html?rev=1308698&view=auto
==============================================================================
--- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/overview-frame.html (added)
+++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/overview-frame.html Tue Apr  3 05:27:23 2012
@@ -0,0 +1,52 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+		<title>OpenCMIS Test Compatibility Kit 0.7.0 Reference</title>
+		<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
+	</head>
+	<body>
+
+		<h3>
+			<a href="allclasses-frame.html" target="packageFrame">All Classes</a>
+		</h3>
+
+		<h3>Packages</h3>
+
+		<ul>
+						<li>
+				<a href="org/apache/chemistry/opencmis/tck/package-frame.html" target="packageFrame">org.apache.chemistry.opencmis.tck</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/tck/impl/package-frame.html" target="packageFrame">org.apache.chemistry.opencmis.tck.impl</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/tck/report/package-frame.html" target="packageFrame">org.apache.chemistry.opencmis.tck.report</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/tck/runner/package-frame.html" target="packageFrame">org.apache.chemistry.opencmis.tck.runner</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/tck/tests/basics/package-frame.html" target="packageFrame">org.apache.chemistry.opencmis.tck.tests.basics</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/tck/tests/control/package-frame.html" target="packageFrame">org.apache.chemistry.opencmis.tck.tests.control</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/tck/tests/crud/package-frame.html" target="packageFrame">org.apache.chemistry.opencmis.tck.tests.crud</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/tck/tests/filing/package-frame.html" target="packageFrame">org.apache.chemistry.opencmis.tck.tests.filing</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/tck/tests/query/package-frame.html" target="packageFrame">org.apache.chemistry.opencmis.tck.tests.query</a>
+			</li>
+						<li>
+				<a href="org/apache/chemistry/opencmis/tck/tests/versioning/package-frame.html" target="packageFrame">org.apache.chemistry.opencmis.tck.tests.versioning</a>
+			</li>
+					</ul>
+
+	</body>
+</html>
+

Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/overview-summary.html
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/overview-summary.html?rev=1308698&view=auto
==============================================================================
--- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/overview-summary.html (added)
+++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/overview-summary.html Tue Apr  3 05:27:23 2012
@@ -0,0 +1,109 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+		<title>OpenCMIS Test Compatibility Kit 0.7.0 Reference</title>
+		<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
+	</head>
+	<body>
+				<div class="overview">
+			<ul>
+				<li class="selected">Overview</li>
+				<li>Package</li>
+			</ul>
+		</div>
+		<div class="framenoframe">
+			<ul>
+				<li>
+					<a href="index.html" target="_top">FRAMES</a>
+				</li>
+				<li>
+    	        	<a href="overview-summary.html" target="_top">NO FRAMES</a>
+        	  	</li>
+	        </ul>
+      	</div>
+		
+		      	<h2>OpenCMIS Test Compatibility Kit 0.7.0 Reference</h2>
+
+		<table class="summary">
+        	<thead>
+          		<tr>
+            		<th>Packages</th>
+          		</tr>
+        	</thead>
+        	<tbody>
+    	    	            	<tr>
+              		<td>
+                		<a href="org/apache/chemistry/opencmis/tck/package-summary.html">org.apache.chemistry.opencmis.tck</a>
+              		</td>
+            	</tr>
+	          	            	<tr>
+              		<td>
+                		<a href="org/apache/chemistry/opencmis/tck/impl/package-summary.html">org.apache.chemistry.opencmis.tck.impl</a>
+              		</td>
+            	</tr>
+	          	            	<tr>
+              		<td>
+                		<a href="org/apache/chemistry/opencmis/tck/report/package-summary.html">org.apache.chemistry.opencmis.tck.report</a>
+              		</td>
+            	</tr>
+	          	            	<tr>
+              		<td>
+                		<a href="org/apache/chemistry/opencmis/tck/runner/package-summary.html">org.apache.chemistry.opencmis.tck.runner</a>
+              		</td>
+            	</tr>
+	          	            	<tr>
+              		<td>
+                		<a href="org/apache/chemistry/opencmis/tck/tests/basics/package-summary.html">org.apache.chemistry.opencmis.tck.tests.basics</a>
+              		</td>
+            	</tr>
+	          	            	<tr>
+              		<td>
+                		<a href="org/apache/chemistry/opencmis/tck/tests/control/package-summary.html">org.apache.chemistry.opencmis.tck.tests.control</a>
+              		</td>
+            	</tr>
+	          	            	<tr>
+              		<td>
+                		<a href="org/apache/chemistry/opencmis/tck/tests/crud/package-summary.html">org.apache.chemistry.opencmis.tck.tests.crud</a>
+              		</td>
+            	</tr>
+	          	            	<tr>
+              		<td>
+                		<a href="org/apache/chemistry/opencmis/tck/tests/filing/package-summary.html">org.apache.chemistry.opencmis.tck.tests.filing</a>
+              		</td>
+            	</tr>
+	          	            	<tr>
+              		<td>
+                		<a href="org/apache/chemistry/opencmis/tck/tests/query/package-summary.html">org.apache.chemistry.opencmis.tck.tests.query</a>
+              		</td>
+            	</tr>
+	          	            	<tr>
+              		<td>
+                		<a href="org/apache/chemistry/opencmis/tck/tests/versioning/package-summary.html">org.apache.chemistry.opencmis.tck.tests.versioning</a>
+              		</td>
+            	</tr>
+	          	        	</tbody>
+      	</table>
+		
+				<div class="overview">
+			<ul>
+				<li class="selected">Overview</li>
+				<li>Package</li>
+			</ul>
+		</div>
+		<div class="framenoframe">
+			<ul>
+				<li>
+					<a href="index.html" target="_top">FRAMES</a>
+				</li>
+				<li>
+    	        	<a href="overview-summary.html" target="_top">NO FRAMES</a>
+        	  	</li>
+	        </ul>
+      	</div>
+		
+		<hr />
+		Copyright &copy; 2009-2012 The Apache Software Foundation. All Rights Reserved.
+	</body>
+</html>
\ No newline at end of file

Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/stylesheet.css
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/stylesheet.css?rev=1308698&view=auto
==============================================================================
--- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/stylesheet.css (added)
+++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-test/chemistry-opencmis-test-tck/xref/stylesheet.css Tue Apr  3 05:27:23 2012
@@ -0,0 +1,116 @@
+/* Javadoc style sheet */
+/* Define colors, fonts and other style attributes here to override the defaults  */
+body {
+    background-color: #fff;
+    font-family: Arial, Helvetica, sans-serif;
+}
+
+a:link {
+    color: #00f;
+}
+a:visited {
+    color: #00a;
+}
+
+a:active, a:hover {
+    color: #f30 !important;
+}
+
+ul, li {
+    list-style-type:none;
+    margin:0;
+    padding:0;
+}
+
+table td {
+    padding: 3px;
+    border: 1px solid #000;
+}
+table {
+    width:100%;
+    border: 1px solid #000;
+    border-collapse: collapse;
+}
+
+div.overview {
+    background-color:#ddd;
+    padding: 4px 4px 4px 0;
+}
+div.overview li, div.framenoframe li {
+    display: inline;
+}
+div.framenoframe {
+    text-align: center;
+    font-size: x-small;
+}
+div.framenoframe li {
+    margin: 0 3px 0 3px;
+}
+div.overview li {
+    margin:3px 3px 0 3px;
+    padding: 4px;
+}
+li.selected {
+    background-color:#888;
+    color: #fff;
+    font-weight: bold;
+}
+
+table.summary {
+    margin-bottom: 20px;
+}
+table.summary td, table.summary th {
+    font-weight: bold;
+    text-align: left;
+    padding: 3px;
+}
+table.summary th {
+    background-color:#036;
+    color: #fff;
+}
+table.summary td {
+    background-color:#eee;
+    border: 1px solid black;
+}
+
+em {
+    color: #A00;
+}
+em.comment {
+    color: #390;
+}
+.string {
+    color: #009;
+}
+div#footer {
+    text-align:center;
+}
+#overview {
+    padding:2px;
+}
+
+hr {
+    height: 1px;
+    color: #000;
+}
+
+/* JXR style sheet */
+.jxr_comment
+{
+    color: #390;
+}
+
+.jxr_javadoccomment
+{
+    color: #A00;
+}
+
+.jxr_string
+{
+    color: #009;
+}
+
+.jxr_keyword
+{
+    color: #000;
+}