jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From field...@apache.org
Subject svn commit: r151075 [12/15] - in incubator/jackrabbit/site: ./ apidocs/ apidocs/org/apache/jackrabbit/core/ apidocs/org/apache/jackrabbit/core/class-use/ apidocs/org/apache/jackrabbit/core/state/ apidocs/org/apache/jackrabbit/core/state/mem/ apidocs/org/apache/jackrabbit/core/state/obj/ apidocs/org/apache/jackrabbit/core/state/xml/ apidocs/org/apache/jackrabbit/core/version/ apidocs/org/apache/jackrabbit/core/version/persistence/ apidocs/org/apache/jackrabbit/core/xml/ xref-test/ xref-test/org/apache/jackrabbit/test/ xref-test/org/apache/jackrabbit/test/api/ xref-test/org/apache/jackrabbit/test/api/version/ xref-test/org/apache/jackrabbit/test/observation/ xref-test/org/apache/jackrabbit/test/search/ xref/org/apache/jackrabbit/core/ xref/org/apache/jackrabbit/core/search/lucene/
Date Wed, 02 Feb 2005 22:41:19 GMT
Modified: incubator/jackrabbit/site/xref-test/org/apache/jackrabbit/test/search/FulltextQueryTest.html
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/site/xref-test/org/apache/jackrabbit/test/search/FulltextQueryTest.html?view=diff&r1=151074&r2=151075
==============================================================================
--- incubator/jackrabbit/site/xref-test/org/apache/jackrabbit/test/search/FulltextQueryTest.html (original)
+++ incubator/jackrabbit/site/xref-test/org/apache/jackrabbit/test/search/FulltextQueryTest.html Wed Feb  2 14:40:59 2005
@@ -35,13 +35,13 @@
 <a name="26" href="#26">26</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../../org/apache/jackrabbit/test/search/FulltextQueryTest.html">FulltextQueryTest</a> <strong>extends</strong> <a href="../../../../../org/apache/jackrabbit/test/search/AbstractQueryTest.html">AbstractQueryTest</a> {
 <a name="27" href="#27">27</a>  
 <a name="28" href="#28">28</a>      <strong>public</strong> <strong>void</strong> testFulltextSimpleSQL1() throws Exception {
-<a name="29" href="#29">29</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>, NT_UNSTRUCTURED);
+<a name="29" href="#29">29</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>);
 <a name="30" href="#30">30</a>          foo.setProperty(<span class="string">"mytext"</span>, <strong>new</strong> String[]{<span class="string">"the quick brown fox jumps over the lazy dog."</span>});
 <a name="31" href="#31">31</a>  
 <a name="32" href="#32">32</a>          testRootNode.save();
 <a name="33" href="#33">33</a>  
-<a name="34" href="#34">34</a>          String sql = <span class="string">"SELECT * FROM \&quot;"</span> + NT_UNSTRUCTURED
-<a name="35" href="#35">35</a>                  + <span class="string">"\&quot; WHERE \&quot;jcr:path\&quot; LIKE '"</span> + testRoot + <span class="string">"/%"</span>
+<a name="34" href="#34">34</a>          String sql = <span class="string">"SELECT * FROM nt:unstructured"</span>
+<a name="35" href="#35">35</a>                  + <span class="string">" WHERE jcr:path LIKE '"</span> + testRoot + <span class="string">"/%"</span>
 <a name="36" href="#36">36</a>                  + <span class="string">"' AND CONTAINS('fox')"</span>;
 <a name="37" href="#37">37</a>          Query q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
 <a name="38" href="#38">38</a>          QueryResult result = q.execute();
@@ -49,13 +49,13 @@
 <a name="40" href="#40">40</a>      }
 <a name="41" href="#41">41</a>  
 <a name="42" href="#42">42</a>      <strong>public</strong> <strong>void</strong> testFulltextSimpleSQL2() throws Exception {
-<a name="43" href="#43">43</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>, NT_UNSTRUCTURED);
+<a name="43" href="#43">43</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>);
 <a name="44" href="#44">44</a>          foo.setProperty(<span class="string">"mytext"</span>, <strong>new</strong> String[]{<span class="string">"the quick brown fox jumps over the lazy dog."</span>});
 <a name="45" href="#45">45</a>  
 <a name="46" href="#46">46</a>          testRootNode.save();
 <a name="47" href="#47">47</a>  
-<a name="48" href="#48">48</a>          String sql = <span class="string">"SELECT * FROM \&quot;"</span> + NT_UNSTRUCTURED
-<a name="49" href="#49">49</a>                  + <span class="string">"\&quot; WHERE \&quot;jcr:path\&quot; = '"</span> + testRoot + <span class="string">"/foo"</span>
+<a name="48" href="#48">48</a>          String sql = <span class="string">"SELECT * FROM nt:unstructured"</span>
+<a name="49" href="#49">49</a>                  + <span class="string">" WHERE \&quot;jcr:path\&quot; = '"</span> + testRoot + <span class="string">"/foo"</span>
 <a name="50" href="#50">50</a>                  + <span class="string">"' AND CONTAINS('fox')"</span>;
 <a name="51" href="#51">51</a>          Query q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
 <a name="52" href="#52">52</a>          QueryResult result = q.execute();
@@ -63,18 +63,18 @@
 <a name="54" href="#54">54</a>      }
 <a name="55" href="#55">55</a>  
 <a name="56" href="#56">56</a>      <strong>public</strong> <strong>void</strong> testFulltextMultiWordSQL() throws Exception {
-<a name="57" href="#57">57</a>          Node n = testRootNode.addNode(<span class="string">"node1"</span>, NT_UNSTRUCTURED);
+<a name="57" href="#57">57</a>          Node n = testRootNode.addNode(<span class="string">"node1"</span>);
 <a name="58" href="#58">58</a>          n.setProperty(<span class="string">"title"</span>, <strong>new</strong> String[]{<span class="string">"test text"</span>});
 <a name="59" href="#59">59</a>          n.setProperty(<span class="string">"mytext"</span>, <strong>new</strong> String[]{<span class="string">"the quick brown fox jumps over the lazy dog."</span>});
 <a name="60" href="#60">60</a>  
-<a name="61" href="#61">61</a>          n = testRootNode.addNode(<span class="string">"node2"</span>, NT_UNSTRUCTURED);
+<a name="61" href="#61">61</a>          n = testRootNode.addNode(<span class="string">"node2"</span>);
 <a name="62" href="#62">62</a>          n.setProperty(<span class="string">"title"</span>, <strong>new</strong> String[]{<span class="string">"other text"</span>});
 <a name="63" href="#63">63</a>          n.setProperty(<span class="string">"mytext"</span>, <strong>new</strong> String[]{<span class="string">"the quick brown fox jumps over the lazy dog."</span>});
 <a name="64" href="#64">64</a>  
 <a name="65" href="#65">65</a>          testRootNode.save();
 <a name="66" href="#66">66</a>  
-<a name="67" href="#67">67</a>          String sql = <span class="string">"SELECT * FROM \&quot;"</span> + NT_UNSTRUCTURED
-<a name="68" href="#68">68</a>                  + <span class="string">"\&quot; WHERE \&quot;jcr:path\&quot; LIKE '"</span> + testRoot + <span class="string">"/%"</span>
+<a name="67" href="#67">67</a>          String sql = <span class="string">"SELECT * FROM nt:unstructured"</span>
+<a name="68" href="#68">68</a>                  + <span class="string">" WHERE \&quot;jcr:path\&quot; LIKE '"</span> + testRoot + <span class="string">"/%"</span>
 <a name="69" href="#69">69</a>                  + <span class="string">"' AND CONTAINS('fox test')"</span>;
 <a name="70" href="#70">70</a>          Query q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
 <a name="71" href="#71">71</a>          QueryResult result = q.execute();
@@ -82,18 +82,18 @@
 <a name="73" href="#73">73</a>      }
 <a name="74" href="#74">74</a>  
 <a name="75" href="#75">75</a>      <strong>public</strong> <strong>void</strong> testFulltextPhraseSQL() throws Exception {
-<a name="76" href="#76">76</a>          Node n = testRootNode.addNode(<span class="string">"node1"</span>, NT_UNSTRUCTURED);
+<a name="76" href="#76">76</a>          Node n = testRootNode.addNode(<span class="string">"node1"</span>);
 <a name="77" href="#77">77</a>          n.setProperty(<span class="string">"title"</span>, <strong>new</strong> String[]{<span class="string">"test text"</span>});
 <a name="78" href="#78">78</a>          n.setProperty(<span class="string">"mytext"</span>, <strong>new</strong> String[]{<span class="string">"the quick brown jumps fox over the lazy dog."</span>});
 <a name="79" href="#79">79</a>  
-<a name="80" href="#80">80</a>          n = testRootNode.addNode(<span class="string">"node2"</span>, NT_UNSTRUCTURED);
+<a name="80" href="#80">80</a>          n = testRootNode.addNode(<span class="string">"node2"</span>);
 <a name="81" href="#81">81</a>          n.setProperty(<span class="string">"title"</span>, <strong>new</strong> String[]{<span class="string">"other text"</span>});
 <a name="82" href="#82">82</a>          n.setProperty(<span class="string">"mytext"</span>, <strong>new</strong> String[]{<span class="string">"the quick brown fox jumps over the lazy dog."</span>});
 <a name="83" href="#83">83</a>  
 <a name="84" href="#84">84</a>          testRootNode.save();
 <a name="85" href="#85">85</a>  
-<a name="86" href="#86">86</a>          String sql = <span class="string">"SELECT * FROM \&quot;"</span> + NT_UNSTRUCTURED
-<a name="87" href="#87">87</a>                  + <span class="string">"\&quot; WHERE \&quot;jcr:path\&quot; LIKE '"</span> + testRoot + <span class="string">"/%"</span>
+<a name="86" href="#86">86</a>          String sql = <span class="string">"SELECT * FROM nt:unstructured"</span>
+<a name="87" href="#87">87</a>                  + <span class="string">" WHERE \&quot;jcr:path\&quot; LIKE '"</span> + testRoot + <span class="string">"/%"</span>
 <a name="88" href="#88">88</a>                  + <span class="string">"' AND CONTAINS('text ''fox jumps''')"</span>;
 <a name="89" href="#89">89</a>          Query q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
 <a name="90" href="#90">90</a>          QueryResult result = q.execute();
@@ -101,18 +101,18 @@
 <a name="92" href="#92">92</a>      }
 <a name="93" href="#93">93</a>  
 <a name="94" href="#94">94</a>      <strong>public</strong> <strong>void</strong> testFulltextExcludeSQL() throws Exception {
-<a name="95" href="#95">95</a>          Node n = testRootNode.addNode(<span class="string">"node1"</span>, NT_UNSTRUCTURED);
+<a name="95" href="#95">95</a>          Node n = testRootNode.addNode(<span class="string">"node1"</span>);
 <a name="96" href="#96">96</a>          n.setProperty(<span class="string">"title"</span>, <strong>new</strong> String[]{<span class="string">"test text"</span>});
 <a name="97" href="#97">97</a>          n.setProperty(<span class="string">"mytext"</span>, <strong>new</strong> String[]{<span class="string">"the quick brown fox jumps over the lazy dog."</span>});
 <a name="98" href="#98">98</a>  
-<a name="99" href="#99">99</a>          n = testRootNode.addNode(<span class="string">"node2"</span>, NT_UNSTRUCTURED);
+<a name="99" href="#99">99</a>          n = testRootNode.addNode(<span class="string">"node2"</span>);
 <a name="100" href="#100">100</a>         n.setProperty(<span class="string">"title"</span>, <strong>new</strong> String[]{<span class="string">"other text"</span>});
 <a name="101" href="#101">101</a>         n.setProperty(<span class="string">"mytext"</span>, <strong>new</strong> String[]{<span class="string">"the quick brown fox jumps over the lazy dog."</span>});
 <a name="102" href="#102">102</a> 
 <a name="103" href="#103">103</a>         superuser.getRootNode().save();
 <a name="104" href="#104">104</a> 
-<a name="105" href="#105">105</a>         String sql = <span class="string">"SELECT * FROM \&quot;"</span> + NT_UNSTRUCTURED
-<a name="106" href="#106">106</a>                 + <span class="string">"\&quot; WHERE \&quot;jcr:path\&quot; LIKE '"</span> + testRoot + <span class="string">"/%"</span>
+<a name="105" href="#105">105</a>         String sql = <span class="string">"SELECT * FROM nt:unstructured"</span>
+<a name="106" href="#106">106</a>                 + <span class="string">" WHERE \&quot;jcr:path\&quot; LIKE '"</span> + testRoot + <span class="string">"/%"</span>
 <a name="107" href="#107">107</a>                 + <span class="string">"' AND CONTAINS('text ''fox jumps'' -other')"</span>;
 <a name="108" href="#108">108</a>         Query q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
 <a name="109" href="#109">109</a>         QueryResult result = q.execute();
@@ -120,18 +120,18 @@
 <a name="111" href="#111">111</a>     }
 <a name="112" href="#112">112</a> 
 <a name="113" href="#113">113</a>     <strong>public</strong> <strong>void</strong> testFulltextOrSQL() throws Exception {
-<a name="114" href="#114">114</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>, NT_UNSTRUCTURED);
+<a name="114" href="#114">114</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>);
 <a name="115" href="#115">115</a>         n.setProperty(<span class="string">"title"</span>, <strong>new</strong> String[]{<span class="string">"test text"</span>});
 <a name="116" href="#116">116</a>         n.setProperty(<span class="string">"mytext"</span>, <strong>new</strong> String[]{<span class="string">"the quick brown fox jumps over the lazy dog."</span>});
 <a name="117" href="#117">117</a> 
-<a name="118" href="#118">118</a>         n = testRootNode.addNode(<span class="string">"node2"</span>, NT_UNSTRUCTURED);
+<a name="118" href="#118">118</a>         n = testRootNode.addNode(<span class="string">"node2"</span>);
 <a name="119" href="#119">119</a>         n.setProperty(<span class="string">"title"</span>, <strong>new</strong> String[]{<span class="string">"other text"</span>});
 <a name="120" href="#120">120</a>         n.setProperty(<span class="string">"mytext"</span>, <strong>new</strong> String[]{<span class="string">"the quick brown fox jumps over the lazy dog."</span>});
 <a name="121" href="#121">121</a> 
 <a name="122" href="#122">122</a>         testRootNode.save();
 <a name="123" href="#123">123</a> 
-<a name="124" href="#124">124</a>         String sql = <span class="string">"SELECT * FROM \&quot;"</span> + NT_UNSTRUCTURED
-<a name="125" href="#125">125</a>                 + <span class="string">"\&quot; WHERE \&quot;jcr:path\&quot; LIKE '"</span> + testRoot + <span class="string">"/%"</span>
+<a name="124" href="#124">124</a>         String sql = <span class="string">"SELECT * FROM nt:unstructured"</span>
+<a name="125" href="#125">125</a>                 + <span class="string">" WHERE \&quot;jcr:path\&quot; LIKE '"</span> + testRoot + <span class="string">"/%"</span>
 <a name="126" href="#126">126</a>                 + <span class="string">"' AND CONTAINS('''fox jumps'' test OR other')"</span>;
 <a name="127" href="#127">127</a>         Query q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
 <a name="128" href="#128">128</a>         QueryResult result = q.execute();
@@ -139,18 +139,18 @@
 <a name="130" href="#130">130</a>     }
 <a name="131" href="#131">131</a> 
 <a name="132" href="#132">132</a>     <strong>public</strong> <strong>void</strong> testFulltextIntercapSQL() throws Exception {
-<a name="133" href="#133">133</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>, NT_UNSTRUCTURED);
+<a name="133" href="#133">133</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>);
 <a name="134" href="#134">134</a>         n.setProperty(<span class="string">"title"</span>, <strong>new</strong> String[]{<span class="string">"tEst text"</span>});
 <a name="135" href="#135">135</a>         n.setProperty(<span class="string">"mytext"</span>, <strong>new</strong> String[]{<span class="string">"The quick brown Fox jumps over the lazy dog."</span>});
 <a name="136" href="#136">136</a> 
-<a name="137" href="#137">137</a>         n = testRootNode.addNode(<span class="string">"node2"</span>, NT_UNSTRUCTURED);
+<a name="137" href="#137">137</a>         n = testRootNode.addNode(<span class="string">"node2"</span>);
 <a name="138" href="#138">138</a>         n.setProperty(<span class="string">"title"</span>, <strong>new</strong> String[]{<span class="string">"Other text"</span>});
 <a name="139" href="#139">139</a>         n.setProperty(<span class="string">"mytext"</span>, <strong>new</strong> String[]{<span class="string">"the quick brown FOX jumPs over the lazy dog."</span>});
 <a name="140" href="#140">140</a> 
 <a name="141" href="#141">141</a>         testRootNode.save();
 <a name="142" href="#142">142</a> 
-<a name="143" href="#143">143</a>         String sql = <span class="string">"SELECT * FROM \&quot;"</span> + NT_UNSTRUCTURED
-<a name="144" href="#144">144</a>                 + <span class="string">"\&quot; WHERE \&quot;jcr:path\&quot; LIKE '"</span> + testRoot + <span class="string">"/%"</span>
+<a name="143" href="#143">143</a>         String sql = <span class="string">"SELECT * FROM nt:unstructured"</span>
+<a name="144" href="#144">144</a>                 + <span class="string">" WHERE \&quot;jcr:path\&quot; LIKE '"</span> + testRoot + <span class="string">"/%"</span>
 <a name="145" href="#145">145</a>                 + <span class="string">"' AND CONTAINS('''fox juMps'' Test OR otheR')"</span>;
 <a name="146" href="#146">146</a>         Query q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
 <a name="147" href="#147">147</a>         QueryResult result = q.execute();

Modified: incubator/jackrabbit/site/xref-test/org/apache/jackrabbit/test/search/SQLTest.html
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/site/xref-test/org/apache/jackrabbit/test/search/SQLTest.html?view=diff&r1=151074&r2=151075
==============================================================================
--- incubator/jackrabbit/site/xref-test/org/apache/jackrabbit/test/search/SQLTest.html (original)
+++ incubator/jackrabbit/site/xref-test/org/apache/jackrabbit/test/search/SQLTest.html Wed Feb  2 14:40:59 2005
@@ -35,36 +35,36 @@
 <a name="26" href="#26">26</a>  
 <a name="27" href="#27">27</a>  
 <a name="28" href="#28">28</a>      <strong>public</strong> <strong>void</strong> testSimpleQuery1() throws Exception {
-<a name="29" href="#29">29</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>, NT_UNSTRUCTURED);
+<a name="29" href="#29">29</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>);
 <a name="30" href="#30">30</a>          foo.setProperty(<span class="string">"bla"</span>, <strong>new</strong> String[]{<span class="string">"bla"</span>});
 <a name="31" href="#31">31</a>  
 <a name="32" href="#32">32</a>          testRootNode.save();
 <a name="33" href="#33">33</a>  
-<a name="34" href="#34">34</a>          String sql = <span class="string">"SELECT * FROM \&quot;nt:unstructured\&quot; WHERE bla='bla'"</span>;
+<a name="34" href="#34">34</a>          String sql = <span class="string">"SELECT * FROM nt:unstructured WHERE bla='bla'"</span>;
 <a name="35" href="#35">35</a>          Query q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
 <a name="36" href="#36">36</a>          QueryResult result = q.execute();
 <a name="37" href="#37">37</a>          checkResult(result, 1);
 <a name="38" href="#38">38</a>      }
 <a name="39" href="#39">39</a>  
 <a name="40" href="#40">40</a>      <strong>public</strong> <strong>void</strong> testFulltextSimple() throws Exception {
-<a name="41" href="#41">41</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>, NT_UNSTRUCTURED);
+<a name="41" href="#41">41</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>);
 <a name="42" href="#42">42</a>          foo.setProperty(<span class="string">"mytext"</span>, <strong>new</strong> String[]{<span class="string">"the quick brown fox jumps over the lazy dog."</span>});
 <a name="43" href="#43">43</a>  
 <a name="44" href="#44">44</a>          testRootNode.save();
 <a name="45" href="#45">45</a>  
-<a name="46" href="#46">46</a>          String sql = <span class="string">"SELECT * FROM \&quot;nt:unstructured\&quot; WHERE contains('fox')"</span>;
+<a name="46" href="#46">46</a>          String sql = <span class="string">"SELECT * FROM nt:unstructured WHERE contains('fox')"</span>;
 <a name="47" href="#47">47</a>          Query q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
 <a name="48" href="#48">48</a>          QueryResult result = q.execute();
 <a name="49" href="#49">49</a>          checkResult(result, 1);
 <a name="50" href="#50">50</a>      }
 <a name="51" href="#51">51</a>  
 <a name="52" href="#52">52</a>      <strong>public</strong> <strong>void</strong> testFulltextComplex() throws Exception {
-<a name="53" href="#53">53</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>, NT_UNSTRUCTURED);
+<a name="53" href="#53">53</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>);
 <a name="54" href="#54">54</a>          foo.setProperty(<span class="string">"mytext"</span>, <strong>new</strong> String[]{<span class="string">"the quick brown fox jumps over the lazy dog."</span>});
 <a name="55" href="#55">55</a>  
 <a name="56" href="#56">56</a>          testRootNode.save();
 <a name="57" href="#57">57</a>  
-<a name="58" href="#58">58</a>          String sql = <span class="string">"SELECT * FROM \&quot;nt:unstructured\&quot; WHERE contains('fox') AND NOT contains('bla')"</span>;
+<a name="58" href="#58">58</a>          String sql = <span class="string">"SELECT * FROM nt:unstructured WHERE contains('fox') AND NOT contains('bla')"</span>;
 <a name="59" href="#59">59</a>          Query q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
 <a name="60" href="#60">60</a>          QueryResult result = q.execute();
 <a name="61" href="#61">61</a>          checkResult(result, 1);

Modified: incubator/jackrabbit/site/xref-test/org/apache/jackrabbit/test/search/SelectClauseTest.html
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/site/xref-test/org/apache/jackrabbit/test/search/SelectClauseTest.html?view=diff&r1=151074&r2=151075
==============================================================================
--- incubator/jackrabbit/site/xref-test/org/apache/jackrabbit/test/search/SelectClauseTest.html (original)
+++ incubator/jackrabbit/site/xref-test/org/apache/jackrabbit/test/search/SelectClauseTest.html Wed Feb  2 14:40:59 2005
@@ -36,63 +36,63 @@
 <a name="27" href="#27">27</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../../org/apache/jackrabbit/test/search/SelectClauseTest.html">SelectClauseTest</a> <strong>extends</strong> <a href="../../../../../org/apache/jackrabbit/test/search/AbstractQueryTest.html">AbstractQueryTest</a> {
 <a name="28" href="#28">28</a>  
 <a name="29" href="#29">29</a>      <strong>public</strong> <strong>void</strong> testSelectSQL() throws RepositoryException {
-<a name="30" href="#30">30</a>          Node n = testRootNode.addNode(<span class="string">"node1"</span>, NT_UNSTRUCTURED);
+<a name="30" href="#30">30</a>          Node n = testRootNode.addNode(<span class="string">"node1"</span>);
 <a name="31" href="#31">31</a>          n.setProperty(<span class="string">"myvalue"</span>, <span class="string">"foo"</span>);
-<a name="32" href="#32">32</a>          n = testRootNode.addNode(<span class="string">"node2"</span>, NT_UNSTRUCTURED);
+<a name="32" href="#32">32</a>          n = testRootNode.addNode(<span class="string">"node2"</span>);
 <a name="33" href="#33">33</a>          n.setProperty(<span class="string">"myvalue"</span>, <span class="string">"bar"</span>);
-<a name="34" href="#34">34</a>          n = testRootNode.addNode(<span class="string">"node3"</span>, NT_UNSTRUCTURED);
+<a name="34" href="#34">34</a>          n = testRootNode.addNode(<span class="string">"node3"</span>);
 <a name="35" href="#35">35</a>          n.setProperty(<span class="string">"yourvalue"</span>, <span class="string">"foo"</span>);
 <a name="36" href="#36">36</a>  
 <a name="37" href="#37">37</a>          testRootNode.save();
 <a name="38" href="#38">38</a>  
-<a name="39" href="#39">39</a>          String sql = <span class="string">"SELECT myvalue FROM \&quot;"</span> + NT_BASE
+<a name="39" href="#39">39</a>          String sql = <span class="string">"SELECT myvalue FROM \&quot;"</span> + ntBase
 <a name="40" href="#40">40</a>                  + <span class="string">"\&quot; WHERE \&quot;jcr:path\&quot; LIKE '"</span> + testRoot + <span class="string">"/%'"</span>;
 <a name="41" href="#41">41</a>          Query q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
 <a name="42" href="#42">42</a>          QueryResult result = q.execute();
 <a name="43" href="#43">43</a>          checkResult(result, 2);
 <a name="44" href="#44">44</a>  
-<a name="45" href="#45">45</a>          sql = <span class="string">"SELECT myvalue FROM \&quot;"</span> + NT_BASE
+<a name="45" href="#45">45</a>          sql = <span class="string">"SELECT myvalue FROM \&quot;"</span> + ntBase
 <a name="46" href="#46">46</a>                  + <span class="string">"\&quot; WHERE \&quot;jcr:path\&quot; LIKE '"</span> + testRoot + <span class="string">"/%'"</span>
 <a name="47" href="#47">47</a>                  + <span class="string">" AND yourvalue = 'foo'"</span>;
 <a name="48" href="#48">48</a>          q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
 <a name="49" href="#49">49</a>          result = q.execute();
 <a name="50" href="#50">50</a>          checkResult(result, 0);
 <a name="51" href="#51">51</a>  
-<a name="52" href="#52">52</a>          sql = <span class="string">"SELECT myvalue FROM \&quot;"</span> + NT_BASE + <span class="string">"\&quot;"</span>;
+<a name="52" href="#52">52</a>          sql = <span class="string">"SELECT myvalue FROM \&quot;"</span> + ntBase + <span class="string">"\&quot;"</span>;
 <a name="53" href="#53">53</a>          q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
 <a name="54" href="#54">54</a>          result = q.execute();
 <a name="55" href="#55">55</a>          checkResult(result, 2);
 <a name="56" href="#56">56</a>      }
 <a name="57" href="#57">57</a>  
 <a name="58" href="#58">58</a>      <strong>public</strong> <strong>void</strong> testPropertyCountSQL() throws RepositoryException {
-<a name="59" href="#59">59</a>          Node n = testRootNode.addNode(<span class="string">"node1"</span>, NT_UNSTRUCTURED);
+<a name="59" href="#59">59</a>          Node n = testRootNode.addNode(<span class="string">"node1"</span>);
 <a name="60" href="#60">60</a>          n.setProperty(<span class="string">"myvalue"</span>, <span class="string">"foo"</span>);
-<a name="61" href="#61">61</a>          n = testRootNode.addNode(<span class="string">"node2"</span>, NT_UNSTRUCTURED);
+<a name="61" href="#61">61</a>          n = testRootNode.addNode(<span class="string">"node2"</span>);
 <a name="62" href="#62">62</a>          n.setProperty(<span class="string">"myvalue"</span>, <span class="string">"bar"</span>);
-<a name="63" href="#63">63</a>          n = testRootNode.addNode(<span class="string">"node3"</span>, NT_UNSTRUCTURED);
+<a name="63" href="#63">63</a>          n = testRootNode.addNode(<span class="string">"node3"</span>);
 <a name="64" href="#64">64</a>          n.setProperty(<span class="string">"yourvalue"</span>, <span class="string">"foo"</span>);
 <a name="65" href="#65">65</a>  
 <a name="66" href="#66">66</a>          testRootNode.save();
 <a name="67" href="#67">67</a>  
-<a name="68" href="#68">68</a>          String sql = <span class="string">"SELECT myvalue FROM \&quot;"</span> + NT_BASE
+<a name="68" href="#68">68</a>          String sql = <span class="string">"SELECT myvalue FROM \&quot;"</span> + ntBase
 <a name="69" href="#69">69</a>                  + <span class="string">"\&quot; WHERE \&quot;jcr:path\&quot; LIKE '"</span> + testRoot + <span class="string">"/%'"</span>;
 <a name="70" href="#70">70</a>          Query q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
 <a name="71" href="#71">71</a>          QueryResult result = q.execute();
 <a name="72" href="#72">72</a>          checkResult(result, 2, 2);
 <a name="73" href="#73">73</a>  
-<a name="74" href="#74">74</a>          sql = <span class="string">"SELECT myvalue FROM \&quot;"</span> + NT_BASE
+<a name="74" href="#74">74</a>          sql = <span class="string">"SELECT myvalue FROM \&quot;"</span> + ntBase
 <a name="75" href="#75">75</a>                  + <span class="string">"\&quot; WHERE \&quot;jcr:path\&quot; LIKE '"</span> + testRoot + <span class="string">"/%'"</span>
 <a name="76" href="#76">76</a>                  + <span class="string">" AND yourvalue = 'foo'"</span>;
 <a name="77" href="#77">77</a>          q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
 <a name="78" href="#78">78</a>          result = q.execute();
 <a name="79" href="#79">79</a>          checkResult(result, 0, 0);
 <a name="80" href="#80">80</a>  
-<a name="81" href="#81">81</a>          sql = <span class="string">"SELECT myvalue FROM \&quot;"</span> + NT_BASE + <span class="string">"\&quot;"</span>;
+<a name="81" href="#81">81</a>          sql = <span class="string">"SELECT myvalue FROM \&quot;"</span> + ntBase + <span class="string">"\&quot;"</span>;
 <a name="82" href="#82">82</a>          q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
 <a name="83" href="#83">83</a>          result = q.execute();
 <a name="84" href="#84">84</a>          checkResult(result, 2, 2);
 <a name="85" href="#85">85</a>  
-<a name="86" href="#86">86</a>          sql = <span class="string">"SELECT * FROM \&quot;"</span> + NT_BASE
+<a name="86" href="#86">86</a>          sql = <span class="string">"SELECT * FROM \&quot;"</span> + ntBase
 <a name="87" href="#87">87</a>                  + <span class="string">"\&quot; WHERE \&quot;jcr:path\&quot; LIKE '"</span> + testRoot + <span class="string">"/%'"</span>
 <a name="88" href="#88">88</a>                  + <span class="string">" AND myvalue LIKE '%'"</span>;
 <a name="89" href="#89">89</a>          q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
@@ -101,16 +101,16 @@
 <a name="92" href="#92">92</a>      }
 <a name="93" href="#93">93</a>  
 <a name="94" href="#94">94</a>      <strong>public</strong> <strong>void</strong> testSameNameSiblingSQL() throws RepositoryException {
-<a name="95" href="#95">95</a>          Node n = testRootNode.addNode(<span class="string">"node"</span>, NT_UNSTRUCTURED);
+<a name="95" href="#95">95</a>          Node n = testRootNode.addNode(<span class="string">"node"</span>);
 <a name="96" href="#96">96</a>          n.setProperty(<span class="string">"myvalue"</span>, <span class="string">"foo"</span>);
-<a name="97" href="#97">97</a>          n = testRootNode.addNode(<span class="string">"node"</span>, NT_UNSTRUCTURED);
+<a name="97" href="#97">97</a>          n = testRootNode.addNode(<span class="string">"node"</span>);
 <a name="98" href="#98">98</a>          n.setProperty(<span class="string">"myvalue"</span>, <span class="string">"bar"</span>);
-<a name="99" href="#99">99</a>          n = testRootNode.addNode(<span class="string">"node"</span>, NT_UNSTRUCTURED);
+<a name="99" href="#99">99</a>          n = testRootNode.addNode(<span class="string">"node"</span>);
 <a name="100" href="#100">100</a>         n.setProperty(<span class="string">"yourvalue"</span>, <span class="string">"foo"</span>);
 <a name="101" href="#101">101</a> 
 <a name="102" href="#102">102</a>         testRootNode.save();
 <a name="103" href="#103">103</a> 
-<a name="104" href="#104">104</a>         String sql = <span class="string">"SELECT myvalue FROM \&quot;"</span> + NT_BASE
+<a name="104" href="#104">104</a>         String sql = <span class="string">"SELECT myvalue FROM \&quot;"</span> + ntBase
 <a name="105" href="#105">105</a>                 + <span class="string">"\&quot; WHERE \&quot;jcr:path\&quot; LIKE '"</span> + testRoot + <span class="string">"/node'"</span>;
 <a name="106" href="#106">106</a>         Query q = superuser.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
 <a name="107" href="#107">107</a>         QueryResult result = q.execute();

Modified: incubator/jackrabbit/site/xref-test/org/apache/jackrabbit/test/search/SimpleQueryTest.html
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/site/xref-test/org/apache/jackrabbit/test/search/SimpleQueryTest.html?view=diff&r1=151074&r2=151075
==============================================================================
--- incubator/jackrabbit/site/xref-test/org/apache/jackrabbit/test/search/SimpleQueryTest.html (original)
+++ incubator/jackrabbit/site/xref-test/org/apache/jackrabbit/test/search/SimpleQueryTest.html Wed Feb  2 14:40:59 2005
@@ -37,7 +37,7 @@
 <a name="28" href="#28">28</a>  
 <a name="29" href="#29">29</a>  
 <a name="30" href="#30">30</a>      <strong>public</strong> <strong>void</strong> testSimpleQuerySQL1() throws Exception {
-<a name="31" href="#31">31</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>, NT_UNSTRUCTURED);
+<a name="31" href="#31">31</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>);
 <a name="32" href="#32">32</a>          foo.setProperty(<span class="string">"bla"</span>, <strong>new</strong> String[]{<span class="string">"bla"</span>});
 <a name="33" href="#33">33</a>  
 <a name="34" href="#34">34</a>          testRootNode.save();
@@ -51,9 +51,9 @@
 <a name="42" href="#42">42</a>      }
 <a name="43" href="#43">43</a>  
 <a name="44" href="#44">44</a>      <strong>public</strong> <strong>void</strong> testSimpleQuerySQL2() throws Exception {
-<a name="45" href="#45">45</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>, NT_UNSTRUCTURED);
+<a name="45" href="#45">45</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>);
 <a name="46" href="#46">46</a>          foo.setProperty(<span class="string">"bla"</span>, <strong>new</strong> String[]{<span class="string">"bla"</span>});
-<a name="47" href="#47">47</a>          Node bla = testRootNode.addNode(<span class="string">"bla"</span>, NT_UNSTRUCTURED);
+<a name="47" href="#47">47</a>          Node bla = testRootNode.addNode(<span class="string">"bla"</span>);
 <a name="48" href="#48">48</a>          bla.setProperty(<span class="string">"bla"</span>, <strong>new</strong> String[]{<span class="string">"bla"</span>});
 <a name="49" href="#49">49</a>  
 <a name="50" href="#50">50</a>          superuser.getRootNode().save();
@@ -67,9 +67,9 @@
 <a name="58" href="#58">58</a>      }
 <a name="59" href="#59">59</a>  
 <a name="60" href="#60">60</a>      <strong>public</strong> <strong>void</strong> testSimpleQuerySQL3() throws Exception {
-<a name="61" href="#61">61</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>, NT_UNSTRUCTURED);
+<a name="61" href="#61">61</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>);
 <a name="62" href="#62">62</a>          foo.setProperty(<span class="string">"bla"</span>, <strong>new</strong> String[]{<span class="string">"bla"</span>});
-<a name="63" href="#63">63</a>          Node bla = testRootNode.addNode(<span class="string">"bla"</span>, NT_UNSTRUCTURED);
+<a name="63" href="#63">63</a>          Node bla = testRootNode.addNode(<span class="string">"bla"</span>);
 <a name="64" href="#64">64</a>          bla.setProperty(<span class="string">"bla"</span>, <strong>new</strong> String[]{<span class="string">"bla"</span>});
 <a name="65" href="#65">65</a>  
 <a name="66" href="#66">66</a>          testRootNode.save();
@@ -83,9 +83,9 @@
 <a name="74" href="#74">74</a>      }
 <a name="75" href="#75">75</a>  
 <a name="76" href="#76">76</a>      <strong>public</strong> <strong>void</strong> testSimpleQuerySQL4() throws Exception {
-<a name="77" href="#77">77</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>, NT_UNSTRUCTURED);
+<a name="77" href="#77">77</a>          Node foo = testRootNode.addNode(<span class="string">"foo"</span>);
 <a name="78" href="#78">78</a>          foo.setProperty(<span class="string">"bla"</span>, <strong>new</strong> String[]{<span class="string">"bla"</span>});
-<a name="79" href="#79">79</a>          Node bla = testRootNode.addNode(<span class="string">"bla"</span>, NT_UNSTRUCTURED);
+<a name="79" href="#79">79</a>          Node bla = testRootNode.addNode(<span class="string">"bla"</span>);
 <a name="80" href="#80">80</a>          bla.setProperty(<span class="string">"bla"</span>, <strong>new</strong> String[]{<span class="string">"bla"</span>});
 <a name="81" href="#81">81</a>  
 <a name="82" href="#82">82</a>          testRootNode.save();
@@ -97,12 +97,12 @@
 <a name="88" href="#88">88</a>      }
 <a name="89" href="#89">89</a>  
 <a name="90" href="#90">90</a>      <strong>public</strong> <strong>void</strong> testDateField1() throws Exception {
-<a name="91" href="#91">91</a>          Node n = testRootNode.addNode(<span class="string">"marcel"</span>, NT_UNSTRUCTURED);
+<a name="91" href="#91">91</a>          Node n = testRootNode.addNode(<span class="string">"marcel"</span>);
 <a name="92" href="#92">92</a>          Calendar marcel = Calendar.getInstance();
 <a name="93" href="#93">93</a>          marcel.set(1976, 4, 20, 15, 40);
 <a name="94" href="#94">94</a>          n.setProperty(<span class="string">"birth"</span>, <strong>new</strong> Value[]{<strong>new</strong> DateValue(marcel)});
 <a name="95" href="#95">95</a>  
-<a name="96" href="#96">96</a>          n = testRootNode.addNode(<span class="string">"vanessa"</span>, NT_UNSTRUCTURED);
+<a name="96" href="#96">96</a>          n = testRootNode.addNode(<span class="string">"vanessa"</span>);
 <a name="97" href="#97">97</a>          Calendar vanessa = Calendar.getInstance();
 <a name="98" href="#98">98</a>          vanessa.set(1975, 4, 10, 13, 30);
 <a name="99" href="#99">99</a>          n.setProperty(<span class="string">"birth"</span>, <strong>new</strong> Value[]{<strong>new</strong> DateValue(vanessa)});
@@ -121,11 +121,11 @@
 <a name="112" href="#112">112</a>     }
 <a name="113" href="#113">113</a> 
 <a name="114" href="#114">114</a>     <strong>public</strong> <strong>void</strong> testDoubleField() throws Exception {
-<a name="115" href="#115">115</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>, NT_UNSTRUCTURED);
+<a name="115" href="#115">115</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>);
 <a name="116" href="#116">116</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> Value[]{<strong>new</strong> DoubleValue(1.9928375d)});
-<a name="117" href="#117">117</a>         n = testRootNode.addNode(<span class="string">"node2"</span>, NT_UNSTRUCTURED);
+<a name="117" href="#117">117</a>         n = testRootNode.addNode(<span class="string">"node2"</span>);
 <a name="118" href="#118">118</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> Value[]{<strong>new</strong> DoubleValue(0.0d)});
-<a name="119" href="#119">119</a>         n = testRootNode.addNode(<span class="string">"node3"</span>, NT_UNSTRUCTURED);
+<a name="119" href="#119">119</a>         n = testRootNode.addNode(<span class="string">"node3"</span>);
 <a name="120" href="#120">120</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> Value[]{<strong>new</strong> DoubleValue(-1.42982475d)});
 <a name="121" href="#121">121</a> 
 <a name="122" href="#122">122</a>         testRootNode.save();
@@ -147,11 +147,11 @@
 <a name="138" href="#138">138</a>     }
 <a name="139" href="#139">139</a> 
 <a name="140" href="#140">140</a>     <strong>public</strong> <strong>void</strong> testLongField() throws Exception {
-<a name="141" href="#141">141</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>, NT_UNSTRUCTURED);
+<a name="141" href="#141">141</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>);
 <a name="142" href="#142">142</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> Value[]{<strong>new</strong> LongValue(1)});
-<a name="143" href="#143">143</a>         n = testRootNode.addNode(<span class="string">"node2"</span>, NT_UNSTRUCTURED);
+<a name="143" href="#143">143</a>         n = testRootNode.addNode(<span class="string">"node2"</span>);
 <a name="144" href="#144">144</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> Value[]{<strong>new</strong> LongValue(0)});
-<a name="145" href="#145">145</a>         n = testRootNode.addNode(<span class="string">"node3"</span>, NT_UNSTRUCTURED);
+<a name="145" href="#145">145</a>         n = testRootNode.addNode(<span class="string">"node3"</span>);
 <a name="146" href="#146">146</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> Value[]{<strong>new</strong> LongValue(-1)});
 <a name="147" href="#147">147</a> 
 <a name="148" href="#148">148</a>         testRootNode.save();
@@ -173,11 +173,11 @@
 <a name="164" href="#164">164</a>     }
 <a name="165" href="#165">165</a> 
 <a name="166" href="#166">166</a>     <strong>public</strong> <strong>void</strong> testLikePattern() throws Exception {
-<a name="167" href="#167">167</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>, NT_UNSTRUCTURED);
+<a name="167" href="#167">167</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>);
 <a name="168" href="#168">168</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> String[]{<span class="string">"king"</span>});
-<a name="169" href="#169">169</a>         n = testRootNode.addNode(<span class="string">"node2"</span>, NT_UNSTRUCTURED);
+<a name="169" href="#169">169</a>         n = testRootNode.addNode(<span class="string">"node2"</span>);
 <a name="170" href="#170">170</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> String[]{<span class="string">"ping"</span>});
-<a name="171" href="#171">171</a>         n = testRootNode.addNode(<span class="string">"node3"</span>, NT_UNSTRUCTURED);
+<a name="171" href="#171">171</a>         n = testRootNode.addNode(<span class="string">"node3"</span>);
 <a name="172" href="#172">172</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> String[]{<span class="string">"ching"</span>});
 <a name="173" href="#173">173</a> 
 <a name="174" href="#174">174</a>         testRootNode.save();
@@ -199,11 +199,11 @@
 <a name="190" href="#190">190</a>     }
 <a name="191" href="#191">191</a> 
 <a name="192" href="#192">192</a>     <strong>public</strong> <strong>void</strong> testLikePatternBetween() throws Exception {
-<a name="193" href="#193">193</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>, NT_UNSTRUCTURED);
+<a name="193" href="#193">193</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>);
 <a name="194" href="#194">194</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> String[]{<span class="string">"ping"</span>});
-<a name="195" href="#195">195</a>         n = testRootNode.addNode(<span class="string">"node2"</span>, NT_UNSTRUCTURED);
+<a name="195" href="#195">195</a>         n = testRootNode.addNode(<span class="string">"node2"</span>);
 <a name="196" href="#196">196</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> String[]{<span class="string">"pong"</span>});
-<a name="197" href="#197">197</a>         n = testRootNode.addNode(<span class="string">"node3"</span>, NT_UNSTRUCTURED);
+<a name="197" href="#197">197</a>         n = testRootNode.addNode(<span class="string">"node3"</span>);
 <a name="198" href="#198">198</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> String[]{<span class="string">"puung"</span>});
 <a name="199" href="#199">199</a> 
 <a name="200" href="#200">200</a>         testRootNode.save();
@@ -225,11 +225,11 @@
 <a name="216" href="#216">216</a>     }
 <a name="217" href="#217">217</a> 
 <a name="218" href="#218">218</a>     <strong>public</strong> <strong>void</strong> testLikePatternEnd() throws Exception {
-<a name="219" href="#219">219</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>, NT_UNSTRUCTURED);
+<a name="219" href="#219">219</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>);
 <a name="220" href="#220">220</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> String[]{<span class="string">"bli"</span>});
-<a name="221" href="#221">221</a>         n = testRootNode.addNode(<span class="string">"node2"</span>, NT_UNSTRUCTURED);
+<a name="221" href="#221">221</a>         n = testRootNode.addNode(<span class="string">"node2"</span>);
 <a name="222" href="#222">222</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> String[]{<span class="string">"bla"</span>});
-<a name="223" href="#223">223</a>         n = testRootNode.addNode(<span class="string">"node3"</span>, NT_UNSTRUCTURED);
+<a name="223" href="#223">223</a>         n = testRootNode.addNode(<span class="string">"node3"</span>);
 <a name="224" href="#224">224</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> String[]{<span class="string">"blub"</span>});
 <a name="225" href="#225">225</a> 
 <a name="226" href="#226">226</a>         testRootNode.save();
@@ -251,13 +251,13 @@
 <a name="242" href="#242">242</a>     }
 <a name="243" href="#243">243</a> 
 <a name="244" href="#244">244</a>     <strong>public</strong> <strong>void</strong> testLikePatternEscaped() throws Exception {
-<a name="245" href="#245">245</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>, NT_UNSTRUCTURED);
+<a name="245" href="#245">245</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>);
 <a name="246" href="#246">246</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> String[]{<span class="string">"foo&#47;&#47;_bar"</span>});
-<a name="247" href="#247">247</a>         n = testRootNode.addNode(<span class="string">"node2"</span>, NT_UNSTRUCTURED);
+<a name="247" href="#247">247</a>         n = testRootNode.addNode(<span class="string">"node2"</span>);
 <a name="248" href="#248">248</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> String[]{<span class="string">"foobar"</span>});
-<a name="249" href="#249">249</a>         n = testRootNode.addNode(<span class="string">"node3"</span>, NT_UNSTRUCTURED);
+<a name="249" href="#249">249</a>         n = testRootNode.addNode(<span class="string">"node3"</span>);
 <a name="250" href="#250">250</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> String[]{<span class="string">"foo_bar"</span>});
-<a name="251" href="#251">251</a>         n = testRootNode.addNode(<span class="string">"node4"</span>, NT_UNSTRUCTURED);
+<a name="251" href="#251">251</a>         n = testRootNode.addNode(<span class="string">"node4"</span>);
 <a name="252" href="#252">252</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> String[]{<span class="string">"foolbar"</span>});
 <a name="253" href="#253">253</a> 
 <a name="254" href="#254">254</a>         testRootNode.save();
@@ -289,11 +289,11 @@
 <a name="280" href="#280">280</a>     }
 <a name="281" href="#281">281</a> 
 <a name="282" href="#282">282</a>     <strong>public</strong> <strong>void</strong> testNotEqual() throws Exception {
-<a name="283" href="#283">283</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>, NT_UNSTRUCTURED);
+<a name="283" href="#283">283</a>         Node n = testRootNode.addNode(<span class="string">"node1"</span>);
 <a name="284" href="#284">284</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> String[]{<span class="string">"foo"</span>});
-<a name="285" href="#285">285</a>         n = testRootNode.addNode(<span class="string">"node2"</span>, NT_UNSTRUCTURED);
+<a name="285" href="#285">285</a>         n = testRootNode.addNode(<span class="string">"node2"</span>);
 <a name="286" href="#286">286</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> String[]{<span class="string">"bar"</span>});
-<a name="287" href="#287">287</a>         n = testRootNode.addNode(<span class="string">"node3"</span>, NT_UNSTRUCTURED);
+<a name="287" href="#287">287</a>         n = testRootNode.addNode(<span class="string">"node3"</span>);
 <a name="288" href="#288">288</a>         n.setProperty(<span class="string">"value"</span>, <strong>new</strong> String[]{<span class="string">"foobar"</span>});
 <a name="289" href="#289">289</a> 
 <a name="290" href="#290">290</a>         testRootNode.save();



Mime
View raw message