<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">SHIMODA Hiroshi &lt;shimo****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2012-08-09 18:11:30 +0900 (Thu, 09 Aug 2012)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d">fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Log</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em">Update tests for creating text field</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#diff-0">test/gcs-commands.test.js</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: test/gcs-commands.test.js (+5 -5)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L267">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L268">268</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L269">269</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L270">270</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L271">271</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L272">272</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L273">273</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L274">274</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L283">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L284">284</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L285">285</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L286">286</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L287">287</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L288">288</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L289">289</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L290">290</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L300">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L301">301</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L302">302</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L303">303</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L304">304</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L305">305</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L306">306</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L307">307</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L308">308</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L309">309</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L310">310</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L311">311</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L312">312</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0L313">313</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R267">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R268">268</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R269">269</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R270">270</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R271">271</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R272">272</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R273">273</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R274">274</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R283">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R284">284</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R285">285</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R286">286</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R287">287</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R288">288</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R289">289</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R290">290</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R300">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R301">301</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R302">302</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R303">303</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R304">304</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R305">305</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R306">306</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R307">307</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R308">308</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R309">309</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R310">310</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R311">311</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R312">312</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/fbadedffcb8bd24bbbd4f74eaec2cfbc1e53f58d#L0R313">313</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -268,7 +268,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('gcs-configure-fields', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   setup(commonSetup);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   teardown(commonTeardown);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  function testCreateField(done, name, type) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  function testCreateField(done, name, type, options) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     new Domain('companies', context).createSync();</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     utils</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       .run('gcs-create-domain',</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -284,7 +284,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('gcs-configure-fields', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">                            message: result.output.stdout },</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                          { code:    0,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                            message: 'Updated 1 Index Field:\n' +</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-                                    name + ' Active ' + type + ' ()\n' },</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                                    name + ' Active ' + type + ' (' + options + ')\n' },</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                          result.output.stderr);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">         context.reopen();</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -301,13 +301,13 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('gcs-configure-fields', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">   test('create text field', function(done) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    testCreateField(done, 'name', 'text');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    testCreateField(done, 'name', 'text', 'Search Facet Result');</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   });</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   test('create uint field', function(done) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    testCreateField(done, 'age', 'uint');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    testCreateField(done, 'age', 'uint', 'Search Result');</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   });</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   test('create literal field', function(done) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    testCreateField(done, 'product', 'literal');</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    testCreateField(done, 'product', 'literal', 'Search Facet Result');</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   });</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">   function testDeleteField(done, name, type) {</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>