You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@onami.apache.org by ol...@apache.org on 2012/12/03 00:32:26 UTC
svn commit: r1416291 [41/48] - in /incubator/onami/site/configuration: ./
apidocs/ apidocs/assets/ apidocs/assets/images/ apidocs/reference/
apidocs/reference/org/ apidocs/reference/org/apache/
apidocs/reference/org/apache/onami/ apidocs/reference/org/...
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/MyBatisConfiguration.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/MyBatisConfiguration.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/ProxyConfiguration.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/ProxyConfiguration.html?rev=1416291&view=auto
==============================================================================
--- incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/ProxyConfiguration.html (added)
+++ incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/ProxyConfiguration.html Sun Dec 2 23:31:59 2012
@@ -0,0 +1,70 @@
+<!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=UTF-8" />
+<title>ProxyConfiguration xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/onami/configuration/configuration/ProxyConfiguration.html">View Javadoc</a></div><pre>
+
+<a class="jxr_linenumber" name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.onami.configuration.configuration;
+<a class="jxr_linenumber" name="2" href="#2">2</a>
+<a class="jxr_linenumber" name="3" href="#3">3</a> <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="4" href="#4">4</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a class="jxr_linenumber" name="5" href="#5">5</a> <em class="jxr_comment"> * contributor license agreements. See the NOTICE file distributed with</em>
+<a class="jxr_linenumber" name="6" href="#6">6</a> <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em>
+<a class="jxr_linenumber" name="7" href="#7">7</a> <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a class="jxr_linenumber" name="8" href="#8">8</a> <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em>
+<a class="jxr_linenumber" name="9" href="#9">9</a> <em class="jxr_comment"> * the License. You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="10" href="#10">10</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="11" href="#11">11</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 class="jxr_linenumber" name="12" href="#12">12</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="13" href="#13">13</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a class="jxr_linenumber" name="14" href="#14">14</a> <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a class="jxr_linenumber" name="15" href="#15">15</a> <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a class="jxr_linenumber" name="16" href="#16">16</a> <em class="jxr_comment"> * See the License for the specific language governing permissions and</em>
+<a class="jxr_linenumber" name="17" href="#17">17</a> <em class="jxr_comment"> * limitations under the License.</em>
+<a class="jxr_linenumber" name="18" href="#18">18</a> <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="19" href="#19">19</a>
+<a class="jxr_linenumber" name="20" href="#20">20</a> <strong class="jxr_keyword">import</strong> javax.inject.Inject;
+<a class="jxr_linenumber" name="21" href="#21">21</a> <strong class="jxr_keyword">import</strong> javax.inject.Named;
+<a class="jxr_linenumber" name="22" href="#22">22</a>
+<a class="jxr_linenumber" name="23" href="#23">23</a> <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="24" href="#24">24</a> <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="25" href="#25">25</a> <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="26" href="#26">26</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/onami/configuration/configuration/ProxyConfiguration.html">ProxyConfiguration</a>
+<a class="jxr_linenumber" name="27" href="#27">27</a> {
+<a class="jxr_linenumber" name="28" href="#28">28</a>
+<a class="jxr_linenumber" name="29" href="#29">29</a> @Inject
+<a class="jxr_linenumber" name="30" href="#30">30</a> @Named( <span class="jxr_string">"proxy.host"</span> )
+<a class="jxr_linenumber" name="31" href="#31">31</a> <strong class="jxr_keyword">private</strong> String host;
+<a class="jxr_linenumber" name="32" href="#32">32</a>
+<a class="jxr_linenumber" name="33" href="#33">33</a> @Inject
+<a class="jxr_linenumber" name="34" href="#34">34</a> @Named( <span class="jxr_string">"proxy.port"</span> )
+<a class="jxr_linenumber" name="35" href="#35">35</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">int</strong> port;
+<a class="jxr_linenumber" name="36" href="#36">36</a>
+<a class="jxr_linenumber" name="37" href="#37">37</a> <strong class="jxr_keyword">public</strong> String getHost()
+<a class="jxr_linenumber" name="38" href="#38">38</a> {
+<a class="jxr_linenumber" name="39" href="#39">39</a> <strong class="jxr_keyword">return</strong> host;
+<a class="jxr_linenumber" name="40" href="#40">40</a> }
+<a class="jxr_linenumber" name="41" href="#41">41</a>
+<a class="jxr_linenumber" name="42" href="#42">42</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setHost( String host )
+<a class="jxr_linenumber" name="43" href="#43">43</a> {
+<a class="jxr_linenumber" name="44" href="#44">44</a> <strong class="jxr_keyword">this</strong>.host = host;
+<a class="jxr_linenumber" name="45" href="#45">45</a> }
+<a class="jxr_linenumber" name="46" href="#46">46</a>
+<a class="jxr_linenumber" name="47" href="#47">47</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> getPort()
+<a class="jxr_linenumber" name="48" href="#48">48</a> {
+<a class="jxr_linenumber" name="49" href="#49">49</a> <strong class="jxr_keyword">return</strong> port;
+<a class="jxr_linenumber" name="50" href="#50">50</a> }
+<a class="jxr_linenumber" name="51" href="#51">51</a>
+<a class="jxr_linenumber" name="52" href="#52">52</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setPort( <strong class="jxr_keyword">int</strong> port )
+<a class="jxr_linenumber" name="53" href="#53">53</a> {
+<a class="jxr_linenumber" name="54" href="#54">54</a> <strong class="jxr_keyword">this</strong>.port = port;
+<a class="jxr_linenumber" name="55" href="#55">55</a> }
+<a class="jxr_linenumber" name="56" href="#56">56</a>
+<a class="jxr_linenumber" name="57" href="#57">57</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/ProxyConfiguration.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/ProxyConfiguration.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/package-frame.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/package-frame.html?rev=1416291&view=auto
==============================================================================
--- incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/package-frame.html (added)
+++ incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/package-frame.html Sun Dec 2 23:31:59 2012
@@ -0,0 +1,42 @@
+
+<!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=UTF-8" />
+ <title>Apache Onami-Configuration 6.3-SNAPSHOT-incubating Reference Package org.apache.onami.configuration.configuration</title>
+ <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
+ </head>
+ <body>
+
+ <h3>
+ <a href="package-summary.html" target="classFrame">org.apache.onami.configuration.configuration</a>
+ </h3>
+
+ <h3>Classes</h3>
+
+ <ul>
+ <li>
+ <a href="ConfigurationModuleTestCase.html" target="classFrame">ConfigurationModuleTestCase</a>
+ </li>
+ <li>
+ <a href="ConfigurationRunner.html" target="classFrame">ConfigurationRunner</a>
+ </li>
+ <li>
+ <a href="JDBCConfiguration.html" target="classFrame">JDBCConfiguration</a>
+ </li>
+ <li>
+ <a href="LdapConfiguration.html" target="classFrame">LdapConfiguration</a>
+ </li>
+ <li>
+ <a href="MemcachedConfiguration.html" target="classFrame">MemcachedConfiguration</a>
+ </li>
+ <li>
+ <a href="MyBatisConfiguration.html" target="classFrame">MyBatisConfiguration</a>
+ </li>
+ <li>
+ <a href="ProxyConfiguration.html" target="classFrame">ProxyConfiguration</a>
+ </li>
+ </ul>
+
+ </body>
+</html>
\ No newline at end of file
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/package-frame.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/package-frame.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/package-summary.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/package-summary.html?rev=1416291&view=auto
==============================================================================
--- incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/package-summary.html (added)
+++ incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/package-summary.html Sun Dec 2 23:31:59 2012
@@ -0,0 +1,97 @@
+
+<!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=UTF-8" />
+ <title>Apache Onami-Configuration 6.3-SNAPSHOT-incubating Reference Package org.apache.onami.configuration.configuration</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.onami.configuration.configuration</h2>
+
+ <table class="summary">
+ <thead>
+ <tr>
+ <th>Class Summary</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <a href="ConfigurationModuleTestCase.html" target="classFrame">ConfigurationModuleTestCase</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="ConfigurationRunner.html" target="classFrame">ConfigurationRunner</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="JDBCConfiguration.html" target="classFrame">JDBCConfiguration</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="LdapConfiguration.html" target="classFrame">LdapConfiguration</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="MemcachedConfiguration.html" target="classFrame">MemcachedConfiguration</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="MyBatisConfiguration.html" target="classFrame">MyBatisConfiguration</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="ProxyConfiguration.html" target="classFrame">ProxyConfiguration</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 © 2012 The Apache Software Foundation. All Rights Reserved.
+ </body>
+</html>
\ No newline at end of file
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/package-summary.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/configuration/package-summary.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/AbstractTestCase.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/AbstractTestCase.html?rev=1416291&view=auto
==============================================================================
--- incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/AbstractTestCase.html (added)
+++ incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/AbstractTestCase.html Sun Dec 2 23:31:59 2012
@@ -0,0 +1,66 @@
+<!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=UTF-8" />
+<title>AbstractTestCase xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/onami/configuration/converters/AbstractTestCase.html">View Javadoc</a></div><pre>
+
+<a class="jxr_linenumber" name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.onami.configuration.converters;
+<a class="jxr_linenumber" name="2" href="#2">2</a>
+<a class="jxr_linenumber" name="3" href="#3">3</a> <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="4" href="#4">4</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a class="jxr_linenumber" name="5" href="#5">5</a> <em class="jxr_comment"> * contributor license agreements. See the NOTICE file distributed with</em>
+<a class="jxr_linenumber" name="6" href="#6">6</a> <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em>
+<a class="jxr_linenumber" name="7" href="#7">7</a> <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a class="jxr_linenumber" name="8" href="#8">8</a> <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em>
+<a class="jxr_linenumber" name="9" href="#9">9</a> <em class="jxr_comment"> * the License. You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="10" href="#10">10</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="11" href="#11">11</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 class="jxr_linenumber" name="12" href="#12">12</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="13" href="#13">13</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a class="jxr_linenumber" name="14" href="#14">14</a> <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a class="jxr_linenumber" name="15" href="#15">15</a> <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a class="jxr_linenumber" name="16" href="#16">16</a> <em class="jxr_comment"> * See the License for the specific language governing permissions and</em>
+<a class="jxr_linenumber" name="17" href="#17">17</a> <em class="jxr_comment"> * limitations under the License.</em>
+<a class="jxr_linenumber" name="18" href="#18">18</a> <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="19" href="#19">19</a>
+<a class="jxr_linenumber" name="20" href="#20">20</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> com.google.inject.Guice.createInjector;
+<a class="jxr_linenumber" name="21" href="#21">21</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertEquals;
+<a class="jxr_linenumber" name="22" href="#22">22</a>
+<a class="jxr_linenumber" name="23" href="#23">23</a> <strong class="jxr_keyword">import</strong> org.junit.Before;
+<a class="jxr_linenumber" name="24" href="#24">24</a>
+<a class="jxr_linenumber" name="25" href="#25">25</a> <strong class="jxr_keyword">import</strong> com.google.inject.Module;
+<a class="jxr_linenumber" name="26" href="#26">26</a>
+<a class="jxr_linenumber" name="27" href="#27">27</a> <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="28" href="#28">28</a> <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="29" href="#29">29</a> <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="30" href="#30">30</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">class</strong> AbstractTestCase<T>
+<a class="jxr_linenumber" name="31" href="#31">31</a> {
+<a class="jxr_linenumber" name="32" href="#32">32</a>
+<a class="jxr_linenumber" name="33" href="#33">33</a> <strong class="jxr_keyword">private</strong> T convertedField;
+<a class="jxr_linenumber" name="34" href="#34">34</a>
+<a class="jxr_linenumber" name="35" href="#35">35</a> <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> setConvertedField( T convertedField )
+<a class="jxr_linenumber" name="36" href="#36">36</a> {
+<a class="jxr_linenumber" name="37" href="#37">37</a> <strong class="jxr_keyword">this</strong>.convertedField = convertedField;
+<a class="jxr_linenumber" name="38" href="#38">38</a> }
+<a class="jxr_linenumber" name="39" href="#39">39</a>
+<a class="jxr_linenumber" name="40" href="#40">40</a> @Before
+<a class="jxr_linenumber" name="41" href="#41">41</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">void</strong> init()
+<a class="jxr_linenumber" name="42" href="#42">42</a> {
+<a class="jxr_linenumber" name="43" href="#43">43</a> createInjector( <strong class="jxr_keyword">this</strong>.getModules() ).injectMembers( <strong class="jxr_keyword">this</strong> );
+<a class="jxr_linenumber" name="44" href="#44">44</a> }
+<a class="jxr_linenumber" name="45" href="#45">45</a>
+<a class="jxr_linenumber" name="46" href="#46">46</a> <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">abstract</strong> Module[] getModules();
+<a class="jxr_linenumber" name="47" href="#47">47</a>
+<a class="jxr_linenumber" name="48" href="#48">48</a> <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">void</strong> verifyConversion( T expected )
+<a class="jxr_linenumber" name="49" href="#49">49</a> {
+<a class="jxr_linenumber" name="50" href="#50">50</a> assertEquals( expected, <strong class="jxr_keyword">this</strong>.convertedField );
+<a class="jxr_linenumber" name="51" href="#51">51</a> }
+<a class="jxr_linenumber" name="52" href="#52">52</a>
+<a class="jxr_linenumber" name="53" href="#53">53</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/AbstractTestCase.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/AbstractTestCase.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/BitSetConverterTestCase.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/BitSetConverterTestCase.html?rev=1416291&view=auto
==============================================================================
--- incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/BitSetConverterTestCase.html (added)
+++ incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/BitSetConverterTestCase.html Sun Dec 2 23:31:59 2012
@@ -0,0 +1,81 @@
+<!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=UTF-8" />
+<title>BitSetConverterTestCase xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/onami/configuration/converters/BitSetConverterTestCase.html">View Javadoc</a></div><pre>
+
+<a class="jxr_linenumber" name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.onami.configuration.converters;
+<a class="jxr_linenumber" name="2" href="#2">2</a>
+<a class="jxr_linenumber" name="3" href="#3">3</a> <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="4" href="#4">4</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a class="jxr_linenumber" name="5" href="#5">5</a> <em class="jxr_comment"> * contributor license agreements. See the NOTICE file distributed with</em>
+<a class="jxr_linenumber" name="6" href="#6">6</a> <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em>
+<a class="jxr_linenumber" name="7" href="#7">7</a> <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a class="jxr_linenumber" name="8" href="#8">8</a> <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em>
+<a class="jxr_linenumber" name="9" href="#9">9</a> <em class="jxr_comment"> * the License. You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="10" href="#10">10</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="11" href="#11">11</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 class="jxr_linenumber" name="12" href="#12">12</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="13" href="#13">13</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a class="jxr_linenumber" name="14" href="#14">14</a> <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a class="jxr_linenumber" name="15" href="#15">15</a> <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a class="jxr_linenumber" name="16" href="#16">16</a> <em class="jxr_comment"> * See the License for the specific language governing permissions and</em>
+<a class="jxr_linenumber" name="17" href="#17">17</a> <em class="jxr_comment"> * limitations under the License.</em>
+<a class="jxr_linenumber" name="18" href="#18">18</a> <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="19" href="#19">19</a>
+<a class="jxr_linenumber" name="20" href="#20">20</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> com.google.inject.name.Names.named;
+<a class="jxr_linenumber" name="21" href="#21">21</a>
+<a class="jxr_linenumber" name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> java.util.BitSet;
+<a class="jxr_linenumber" name="23" href="#23">23</a>
+<a class="jxr_linenumber" name="24" href="#24">24</a> <strong class="jxr_keyword">import</strong> org.apache.onami.configuration.converters.BitSetConverter;
+<a class="jxr_linenumber" name="25" href="#25">25</a> <strong class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="26" href="#26">26</a>
+<a class="jxr_linenumber" name="27" href="#27">27</a> <strong class="jxr_keyword">import</strong> com.google.inject.AbstractModule;
+<a class="jxr_linenumber" name="28" href="#28">28</a> <strong class="jxr_keyword">import</strong> com.google.inject.Inject;
+<a class="jxr_linenumber" name="29" href="#29">29</a> <strong class="jxr_keyword">import</strong> com.google.inject.Module;
+<a class="jxr_linenumber" name="30" href="#30">30</a> <strong class="jxr_keyword">import</strong> com.google.inject.name.Named;
+<a class="jxr_linenumber" name="31" href="#31">31</a>
+<a class="jxr_linenumber" name="32" href="#32">32</a> <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="33" href="#33">33</a> <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="34" href="#34">34</a> <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="35" href="#35">35</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/onami/configuration/converters/BitSetConverterTestCase.html">BitSetConverterTestCase</a>
+<a class="jxr_linenumber" name="36" href="#36">36</a> <strong class="jxr_keyword">extends</strong> AbstractTestCase<BitSet>
+<a class="jxr_linenumber" name="37" href="#37">37</a> {
+<a class="jxr_linenumber" name="38" href="#38">38</a>
+<a class="jxr_linenumber" name="39" href="#39">39</a> @Override
+<a class="jxr_linenumber" name="40" href="#40">40</a> @Inject
+<a class="jxr_linenumber" name="41" href="#41">41</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setConvertedField( @Named( <span class="jxr_string">"bitset"</span> ) BitSet convertedField )
+<a class="jxr_linenumber" name="42" href="#42">42</a> {
+<a class="jxr_linenumber" name="43" href="#43">43</a> <strong class="jxr_keyword">super</strong>.setConvertedField( convertedField );
+<a class="jxr_linenumber" name="44" href="#44">44</a> }
+<a class="jxr_linenumber" name="45" href="#45">45</a>
+<a class="jxr_linenumber" name="46" href="#46">46</a> @Override
+<a class="jxr_linenumber" name="47" href="#47">47</a> <strong class="jxr_keyword">protected</strong> Module[] getModules()
+<a class="jxr_linenumber" name="48" href="#48">48</a> {
+<a class="jxr_linenumber" name="49" href="#49">49</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> Module[] { <strong class="jxr_keyword">new</strong> BitSetConverter(), <strong class="jxr_keyword">new</strong> AbstractModule()
+<a class="jxr_linenumber" name="50" href="#50">50</a> {
+<a class="jxr_linenumber" name="51" href="#51">51</a> <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> configure()
+<a class="jxr_linenumber" name="52" href="#52">52</a> {
+<a class="jxr_linenumber" name="53" href="#53">53</a> bindConstant().annotatedWith( named( <span class="jxr_string">"bitset"</span> ) ).to( <span class="jxr_string">"a, 123, ~"</span> );
+<a class="jxr_linenumber" name="54" href="#54">54</a> };
+<a class="jxr_linenumber" name="55" href="#55">55</a> } };
+<a class="jxr_linenumber" name="56" href="#56">56</a> }
+<a class="jxr_linenumber" name="57" href="#57">57</a>
+<a class="jxr_linenumber" name="58" href="#58">58</a> @Test
+<a class="jxr_linenumber" name="59" href="#59">59</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> bitset()
+<a class="jxr_linenumber" name="60" href="#60">60</a> {
+<a class="jxr_linenumber" name="61" href="#61">61</a> BitSet expected = <strong class="jxr_keyword">new</strong> BitSet();
+<a class="jxr_linenumber" name="62" href="#62">62</a> expected.set( 'a' );
+<a class="jxr_linenumber" name="63" href="#63">63</a> expected.set( 123 );
+<a class="jxr_linenumber" name="64" href="#64">64</a> expected.set( '~' );
+<a class="jxr_linenumber" name="65" href="#65">65</a> verifyConversion( expected );
+<a class="jxr_linenumber" name="66" href="#66">66</a> }
+<a class="jxr_linenumber" name="67" href="#67">67</a>
+<a class="jxr_linenumber" name="68" href="#68">68</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/BitSetConverterTestCase.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/BitSetConverterTestCase.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/CharsetConverterTestCase.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/CharsetConverterTestCase.html?rev=1416291&view=auto
==============================================================================
--- incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/CharsetConverterTestCase.html (added)
+++ incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/CharsetConverterTestCase.html Sun Dec 2 23:31:59 2012
@@ -0,0 +1,77 @@
+<!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=UTF-8" />
+<title>CharsetConverterTestCase xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/onami/configuration/converters/CharsetConverterTestCase.html">View Javadoc</a></div><pre>
+
+<a class="jxr_linenumber" name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.onami.configuration.converters;
+<a class="jxr_linenumber" name="2" href="#2">2</a>
+<a class="jxr_linenumber" name="3" href="#3">3</a> <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="4" href="#4">4</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a class="jxr_linenumber" name="5" href="#5">5</a> <em class="jxr_comment"> * contributor license agreements. See the NOTICE file distributed with</em>
+<a class="jxr_linenumber" name="6" href="#6">6</a> <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em>
+<a class="jxr_linenumber" name="7" href="#7">7</a> <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a class="jxr_linenumber" name="8" href="#8">8</a> <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em>
+<a class="jxr_linenumber" name="9" href="#9">9</a> <em class="jxr_comment"> * the License. You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="10" href="#10">10</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="11" href="#11">11</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 class="jxr_linenumber" name="12" href="#12">12</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="13" href="#13">13</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a class="jxr_linenumber" name="14" href="#14">14</a> <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a class="jxr_linenumber" name="15" href="#15">15</a> <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a class="jxr_linenumber" name="16" href="#16">16</a> <em class="jxr_comment"> * See the License for the specific language governing permissions and</em>
+<a class="jxr_linenumber" name="17" href="#17">17</a> <em class="jxr_comment"> * limitations under the License.</em>
+<a class="jxr_linenumber" name="18" href="#18">18</a> <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="19" href="#19">19</a>
+<a class="jxr_linenumber" name="20" href="#20">20</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> com.google.inject.name.Names.named;
+<a class="jxr_linenumber" name="21" href="#21">21</a>
+<a class="jxr_linenumber" name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> java.nio.charset.Charset;
+<a class="jxr_linenumber" name="23" href="#23">23</a>
+<a class="jxr_linenumber" name="24" href="#24">24</a> <strong class="jxr_keyword">import</strong> org.apache.onami.configuration.converters.CharsetConverter;
+<a class="jxr_linenumber" name="25" href="#25">25</a> <strong class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="26" href="#26">26</a>
+<a class="jxr_linenumber" name="27" href="#27">27</a> <strong class="jxr_keyword">import</strong> com.google.inject.AbstractModule;
+<a class="jxr_linenumber" name="28" href="#28">28</a> <strong class="jxr_keyword">import</strong> com.google.inject.Inject;
+<a class="jxr_linenumber" name="29" href="#29">29</a> <strong class="jxr_keyword">import</strong> com.google.inject.Module;
+<a class="jxr_linenumber" name="30" href="#30">30</a> <strong class="jxr_keyword">import</strong> com.google.inject.name.Named;
+<a class="jxr_linenumber" name="31" href="#31">31</a>
+<a class="jxr_linenumber" name="32" href="#32">32</a> <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="33" href="#33">33</a> <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="34" href="#34">34</a> <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="35" href="#35">35</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/onami/configuration/converters/CharsetConverterTestCase.html">CharsetConverterTestCase</a>
+<a class="jxr_linenumber" name="36" href="#36">36</a> <strong class="jxr_keyword">extends</strong> AbstractTestCase<Charset>
+<a class="jxr_linenumber" name="37" href="#37">37</a> {
+<a class="jxr_linenumber" name="38" href="#38">38</a>
+<a class="jxr_linenumber" name="39" href="#39">39</a> @Override
+<a class="jxr_linenumber" name="40" href="#40">40</a> @Inject
+<a class="jxr_linenumber" name="41" href="#41">41</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setConvertedField( @Named( <span class="jxr_string">"charset"</span> ) Charset convertedField )
+<a class="jxr_linenumber" name="42" href="#42">42</a> {
+<a class="jxr_linenumber" name="43" href="#43">43</a> <strong class="jxr_keyword">super</strong>.setConvertedField( convertedField );
+<a class="jxr_linenumber" name="44" href="#44">44</a> }
+<a class="jxr_linenumber" name="45" href="#45">45</a>
+<a class="jxr_linenumber" name="46" href="#46">46</a> @Override
+<a class="jxr_linenumber" name="47" href="#47">47</a> <strong class="jxr_keyword">protected</strong> Module[] getModules()
+<a class="jxr_linenumber" name="48" href="#48">48</a> {
+<a class="jxr_linenumber" name="49" href="#49">49</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> Module[] { <strong class="jxr_keyword">new</strong> CharsetConverter(), <strong class="jxr_keyword">new</strong> AbstractModule()
+<a class="jxr_linenumber" name="50" href="#50">50</a> {
+<a class="jxr_linenumber" name="51" href="#51">51</a> <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> configure()
+<a class="jxr_linenumber" name="52" href="#52">52</a> {
+<a class="jxr_linenumber" name="53" href="#53">53</a> bindConstant().annotatedWith( named( <span class="jxr_string">"charset"</span> ) ).to( <span class="jxr_string">"UTF-8"</span> );
+<a class="jxr_linenumber" name="54" href="#54">54</a> };
+<a class="jxr_linenumber" name="55" href="#55">55</a> } };
+<a class="jxr_linenumber" name="56" href="#56">56</a> }
+<a class="jxr_linenumber" name="57" href="#57">57</a>
+<a class="jxr_linenumber" name="58" href="#58">58</a> @Test
+<a class="jxr_linenumber" name="59" href="#59">59</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> charset()
+<a class="jxr_linenumber" name="60" href="#60">60</a> {
+<a class="jxr_linenumber" name="61" href="#61">61</a> verifyConversion( Charset.forName( <span class="jxr_string">"UTF-8"</span> ) );
+<a class="jxr_linenumber" name="62" href="#62">62</a> }
+<a class="jxr_linenumber" name="63" href="#63">63</a>
+<a class="jxr_linenumber" name="64" href="#64">64</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/CharsetConverterTestCase.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/CharsetConverterTestCase.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/FileConverterTestCase.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/FileConverterTestCase.html?rev=1416291&view=auto
==============================================================================
--- incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/FileConverterTestCase.html (added)
+++ incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/FileConverterTestCase.html Sun Dec 2 23:31:59 2012
@@ -0,0 +1,77 @@
+<!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=UTF-8" />
+<title>FileConverterTestCase xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/onami/configuration/converters/FileConverterTestCase.html">View Javadoc</a></div><pre>
+
+<a class="jxr_linenumber" name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.onami.configuration.converters;
+<a class="jxr_linenumber" name="2" href="#2">2</a>
+<a class="jxr_linenumber" name="3" href="#3">3</a> <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="4" href="#4">4</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a class="jxr_linenumber" name="5" href="#5">5</a> <em class="jxr_comment"> * contributor license agreements. See the NOTICE file distributed with</em>
+<a class="jxr_linenumber" name="6" href="#6">6</a> <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em>
+<a class="jxr_linenumber" name="7" href="#7">7</a> <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a class="jxr_linenumber" name="8" href="#8">8</a> <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em>
+<a class="jxr_linenumber" name="9" href="#9">9</a> <em class="jxr_comment"> * the License. You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="10" href="#10">10</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="11" href="#11">11</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 class="jxr_linenumber" name="12" href="#12">12</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="13" href="#13">13</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a class="jxr_linenumber" name="14" href="#14">14</a> <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a class="jxr_linenumber" name="15" href="#15">15</a> <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a class="jxr_linenumber" name="16" href="#16">16</a> <em class="jxr_comment"> * See the License for the specific language governing permissions and</em>
+<a class="jxr_linenumber" name="17" href="#17">17</a> <em class="jxr_comment"> * limitations under the License.</em>
+<a class="jxr_linenumber" name="18" href="#18">18</a> <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="19" href="#19">19</a>
+<a class="jxr_linenumber" name="20" href="#20">20</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> com.google.inject.name.Names.named;
+<a class="jxr_linenumber" name="21" href="#21">21</a>
+<a class="jxr_linenumber" name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> java.io.File;
+<a class="jxr_linenumber" name="23" href="#23">23</a>
+<a class="jxr_linenumber" name="24" href="#24">24</a> <strong class="jxr_keyword">import</strong> org.apache.onami.configuration.converters.FileConverter;
+<a class="jxr_linenumber" name="25" href="#25">25</a> <strong class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="26" href="#26">26</a>
+<a class="jxr_linenumber" name="27" href="#27">27</a> <strong class="jxr_keyword">import</strong> com.google.inject.AbstractModule;
+<a class="jxr_linenumber" name="28" href="#28">28</a> <strong class="jxr_keyword">import</strong> com.google.inject.Inject;
+<a class="jxr_linenumber" name="29" href="#29">29</a> <strong class="jxr_keyword">import</strong> com.google.inject.Module;
+<a class="jxr_linenumber" name="30" href="#30">30</a> <strong class="jxr_keyword">import</strong> com.google.inject.name.Named;
+<a class="jxr_linenumber" name="31" href="#31">31</a>
+<a class="jxr_linenumber" name="32" href="#32">32</a> <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="33" href="#33">33</a> <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="34" href="#34">34</a> <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="35" href="#35">35</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/onami/configuration/converters/FileConverterTestCase.html">FileConverterTestCase</a>
+<a class="jxr_linenumber" name="36" href="#36">36</a> <strong class="jxr_keyword">extends</strong> AbstractTestCase<File>
+<a class="jxr_linenumber" name="37" href="#37">37</a> {
+<a class="jxr_linenumber" name="38" href="#38">38</a>
+<a class="jxr_linenumber" name="39" href="#39">39</a> @Override
+<a class="jxr_linenumber" name="40" href="#40">40</a> @Inject
+<a class="jxr_linenumber" name="41" href="#41">41</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setConvertedField( @Named( <span class="jxr_string">"file"</span> ) File convertedField )
+<a class="jxr_linenumber" name="42" href="#42">42</a> {
+<a class="jxr_linenumber" name="43" href="#43">43</a> <strong class="jxr_keyword">super</strong>.setConvertedField( convertedField );
+<a class="jxr_linenumber" name="44" href="#44">44</a> }
+<a class="jxr_linenumber" name="45" href="#45">45</a>
+<a class="jxr_linenumber" name="46" href="#46">46</a> @Override
+<a class="jxr_linenumber" name="47" href="#47">47</a> <strong class="jxr_keyword">protected</strong> Module[] getModules()
+<a class="jxr_linenumber" name="48" href="#48">48</a> {
+<a class="jxr_linenumber" name="49" href="#49">49</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> Module[] { <strong class="jxr_keyword">new</strong> FileConverter(), <strong class="jxr_keyword">new</strong> AbstractModule()
+<a class="jxr_linenumber" name="50" href="#50">50</a> {
+<a class="jxr_linenumber" name="51" href="#51">51</a> <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> configure()
+<a class="jxr_linenumber" name="52" href="#52">52</a> {
+<a class="jxr_linenumber" name="53" href="#53">53</a> bindConstant().annotatedWith( named( <span class="jxr_string">"file"</span> ) ).to( <span class="jxr_string">"/tmp"</span> );
+<a class="jxr_linenumber" name="54" href="#54">54</a> };
+<a class="jxr_linenumber" name="55" href="#55">55</a> } };
+<a class="jxr_linenumber" name="56" href="#56">56</a> }
+<a class="jxr_linenumber" name="57" href="#57">57</a>
+<a class="jxr_linenumber" name="58" href="#58">58</a> @Test
+<a class="jxr_linenumber" name="59" href="#59">59</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> file()
+<a class="jxr_linenumber" name="60" href="#60">60</a> {
+<a class="jxr_linenumber" name="61" href="#61">61</a> verifyConversion( <strong class="jxr_keyword">new</strong> File( <span class="jxr_string">"/tmp"</span> ) );
+<a class="jxr_linenumber" name="62" href="#62">62</a> }
+<a class="jxr_linenumber" name="63" href="#63">63</a>
+<a class="jxr_linenumber" name="64" href="#64">64</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/FileConverterTestCase.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/FileConverterTestCase.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/LocaleConverterTestCase.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/LocaleConverterTestCase.html?rev=1416291&view=auto
==============================================================================
--- incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/LocaleConverterTestCase.html (added)
+++ incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/LocaleConverterTestCase.html Sun Dec 2 23:31:59 2012
@@ -0,0 +1,77 @@
+<!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=UTF-8" />
+<title>LocaleConverterTestCase xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/onami/configuration/converters/LocaleConverterTestCase.html">View Javadoc</a></div><pre>
+
+<a class="jxr_linenumber" name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.onami.configuration.converters;
+<a class="jxr_linenumber" name="2" href="#2">2</a>
+<a class="jxr_linenumber" name="3" href="#3">3</a> <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="4" href="#4">4</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a class="jxr_linenumber" name="5" href="#5">5</a> <em class="jxr_comment"> * contributor license agreements. See the NOTICE file distributed with</em>
+<a class="jxr_linenumber" name="6" href="#6">6</a> <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em>
+<a class="jxr_linenumber" name="7" href="#7">7</a> <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a class="jxr_linenumber" name="8" href="#8">8</a> <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em>
+<a class="jxr_linenumber" name="9" href="#9">9</a> <em class="jxr_comment"> * the License. You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="10" href="#10">10</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="11" href="#11">11</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 class="jxr_linenumber" name="12" href="#12">12</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="13" href="#13">13</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a class="jxr_linenumber" name="14" href="#14">14</a> <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a class="jxr_linenumber" name="15" href="#15">15</a> <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a class="jxr_linenumber" name="16" href="#16">16</a> <em class="jxr_comment"> * See the License for the specific language governing permissions and</em>
+<a class="jxr_linenumber" name="17" href="#17">17</a> <em class="jxr_comment"> * limitations under the License.</em>
+<a class="jxr_linenumber" name="18" href="#18">18</a> <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="19" href="#19">19</a>
+<a class="jxr_linenumber" name="20" href="#20">20</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> com.google.inject.name.Names.named;
+<a class="jxr_linenumber" name="21" href="#21">21</a>
+<a class="jxr_linenumber" name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> java.util.Locale;
+<a class="jxr_linenumber" name="23" href="#23">23</a>
+<a class="jxr_linenumber" name="24" href="#24">24</a> <strong class="jxr_keyword">import</strong> org.apache.onami.configuration.converters.LocaleConverter;
+<a class="jxr_linenumber" name="25" href="#25">25</a> <strong class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="26" href="#26">26</a>
+<a class="jxr_linenumber" name="27" href="#27">27</a> <strong class="jxr_keyword">import</strong> com.google.inject.AbstractModule;
+<a class="jxr_linenumber" name="28" href="#28">28</a> <strong class="jxr_keyword">import</strong> com.google.inject.Inject;
+<a class="jxr_linenumber" name="29" href="#29">29</a> <strong class="jxr_keyword">import</strong> com.google.inject.Module;
+<a class="jxr_linenumber" name="30" href="#30">30</a> <strong class="jxr_keyword">import</strong> com.google.inject.name.Named;
+<a class="jxr_linenumber" name="31" href="#31">31</a>
+<a class="jxr_linenumber" name="32" href="#32">32</a> <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="33" href="#33">33</a> <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="34" href="#34">34</a> <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="35" href="#35">35</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/onami/configuration/converters/LocaleConverterTestCase.html">LocaleConverterTestCase</a>
+<a class="jxr_linenumber" name="36" href="#36">36</a> <strong class="jxr_keyword">extends</strong> AbstractTestCase<Locale>
+<a class="jxr_linenumber" name="37" href="#37">37</a> {
+<a class="jxr_linenumber" name="38" href="#38">38</a>
+<a class="jxr_linenumber" name="39" href="#39">39</a> @Override
+<a class="jxr_linenumber" name="40" href="#40">40</a> @Inject
+<a class="jxr_linenumber" name="41" href="#41">41</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setConvertedField( @Named( <span class="jxr_string">"locale"</span> ) Locale convertedField )
+<a class="jxr_linenumber" name="42" href="#42">42</a> {
+<a class="jxr_linenumber" name="43" href="#43">43</a> <strong class="jxr_keyword">super</strong>.setConvertedField( convertedField );
+<a class="jxr_linenumber" name="44" href="#44">44</a> }
+<a class="jxr_linenumber" name="45" href="#45">45</a>
+<a class="jxr_linenumber" name="46" href="#46">46</a> @Override
+<a class="jxr_linenumber" name="47" href="#47">47</a> <strong class="jxr_keyword">protected</strong> Module[] getModules()
+<a class="jxr_linenumber" name="48" href="#48">48</a> {
+<a class="jxr_linenumber" name="49" href="#49">49</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> Module[] { <strong class="jxr_keyword">new</strong> LocaleConverter(), <strong class="jxr_keyword">new</strong> AbstractModule()
+<a class="jxr_linenumber" name="50" href="#50">50</a> {
+<a class="jxr_linenumber" name="51" href="#51">51</a> <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> configure()
+<a class="jxr_linenumber" name="52" href="#52">52</a> {
+<a class="jxr_linenumber" name="53" href="#53">53</a> bindConstant().annotatedWith( named( <span class="jxr_string">"locale"</span> ) ).to( <span class="jxr_string">"en_US"</span> );
+<a class="jxr_linenumber" name="54" href="#54">54</a> };
+<a class="jxr_linenumber" name="55" href="#55">55</a> } };
+<a class="jxr_linenumber" name="56" href="#56">56</a> }
+<a class="jxr_linenumber" name="57" href="#57">57</a>
+<a class="jxr_linenumber" name="58" href="#58">58</a> @Test
+<a class="jxr_linenumber" name="59" href="#59">59</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> locale()
+<a class="jxr_linenumber" name="60" href="#60">60</a> {
+<a class="jxr_linenumber" name="61" href="#61">61</a> verifyConversion( <strong class="jxr_keyword">new</strong> Locale( <span class="jxr_string">"en"</span>, <span class="jxr_string">"US"</span> ) );
+<a class="jxr_linenumber" name="62" href="#62">62</a> }
+<a class="jxr_linenumber" name="63" href="#63">63</a>
+<a class="jxr_linenumber" name="64" href="#64">64</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/LocaleConverterTestCase.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/LocaleConverterTestCase.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/PropertiesConverterTestCase.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/PropertiesConverterTestCase.html?rev=1416291&view=auto
==============================================================================
--- incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/PropertiesConverterTestCase.html (added)
+++ incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/PropertiesConverterTestCase.html Sun Dec 2 23:31:59 2012
@@ -0,0 +1,80 @@
+<!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=UTF-8" />
+<title>PropertiesConverterTestCase xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/onami/configuration/converters/PropertiesConverterTestCase.html">View Javadoc</a></div><pre>
+
+<a class="jxr_linenumber" name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.onami.configuration.converters;
+<a class="jxr_linenumber" name="2" href="#2">2</a>
+<a class="jxr_linenumber" name="3" href="#3">3</a> <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="4" href="#4">4</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a class="jxr_linenumber" name="5" href="#5">5</a> <em class="jxr_comment"> * contributor license agreements. See the NOTICE file distributed with</em>
+<a class="jxr_linenumber" name="6" href="#6">6</a> <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em>
+<a class="jxr_linenumber" name="7" href="#7">7</a> <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a class="jxr_linenumber" name="8" href="#8">8</a> <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em>
+<a class="jxr_linenumber" name="9" href="#9">9</a> <em class="jxr_comment"> * the License. You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="10" href="#10">10</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="11" href="#11">11</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 class="jxr_linenumber" name="12" href="#12">12</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="13" href="#13">13</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a class="jxr_linenumber" name="14" href="#14">14</a> <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a class="jxr_linenumber" name="15" href="#15">15</a> <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a class="jxr_linenumber" name="16" href="#16">16</a> <em class="jxr_comment"> * See the License for the specific language governing permissions and</em>
+<a class="jxr_linenumber" name="17" href="#17">17</a> <em class="jxr_comment"> * limitations under the License.</em>
+<a class="jxr_linenumber" name="18" href="#18">18</a> <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="19" href="#19">19</a>
+<a class="jxr_linenumber" name="20" href="#20">20</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> com.google.inject.name.Names.named;
+<a class="jxr_linenumber" name="21" href="#21">21</a>
+<a class="jxr_linenumber" name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> java.util.Properties;
+<a class="jxr_linenumber" name="23" href="#23">23</a>
+<a class="jxr_linenumber" name="24" href="#24">24</a> <strong class="jxr_keyword">import</strong> org.apache.onami.configuration.converters.PropertiesConverter;
+<a class="jxr_linenumber" name="25" href="#25">25</a> <strong class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="26" href="#26">26</a>
+<a class="jxr_linenumber" name="27" href="#27">27</a> <strong class="jxr_keyword">import</strong> com.google.inject.AbstractModule;
+<a class="jxr_linenumber" name="28" href="#28">28</a> <strong class="jxr_keyword">import</strong> com.google.inject.Inject;
+<a class="jxr_linenumber" name="29" href="#29">29</a> <strong class="jxr_keyword">import</strong> com.google.inject.Module;
+<a class="jxr_linenumber" name="30" href="#30">30</a> <strong class="jxr_keyword">import</strong> com.google.inject.name.Named;
+<a class="jxr_linenumber" name="31" href="#31">31</a>
+<a class="jxr_linenumber" name="32" href="#32">32</a> <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="33" href="#33">33</a> <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="34" href="#34">34</a> <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="35" href="#35">35</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/onami/configuration/converters/PropertiesConverterTestCase.html">PropertiesConverterTestCase</a>
+<a class="jxr_linenumber" name="36" href="#36">36</a> <strong class="jxr_keyword">extends</strong> AbstractTestCase<Properties>
+<a class="jxr_linenumber" name="37" href="#37">37</a> {
+<a class="jxr_linenumber" name="38" href="#38">38</a>
+<a class="jxr_linenumber" name="39" href="#39">39</a> @Override
+<a class="jxr_linenumber" name="40" href="#40">40</a> @Inject
+<a class="jxr_linenumber" name="41" href="#41">41</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setConvertedField( @Named( <span class="jxr_string">"properties"</span> ) Properties convertedField )
+<a class="jxr_linenumber" name="42" href="#42">42</a> {
+<a class="jxr_linenumber" name="43" href="#43">43</a> <strong class="jxr_keyword">super</strong>.setConvertedField( convertedField );
+<a class="jxr_linenumber" name="44" href="#44">44</a> }
+<a class="jxr_linenumber" name="45" href="#45">45</a>
+<a class="jxr_linenumber" name="46" href="#46">46</a> @Override
+<a class="jxr_linenumber" name="47" href="#47">47</a> <strong class="jxr_keyword">protected</strong> Module[] getModules()
+<a class="jxr_linenumber" name="48" href="#48">48</a> {
+<a class="jxr_linenumber" name="49" href="#49">49</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> Module[] { <strong class="jxr_keyword">new</strong> PropertiesConverter(), <strong class="jxr_keyword">new</strong> AbstractModule()
+<a class="jxr_linenumber" name="50" href="#50">50</a> {
+<a class="jxr_linenumber" name="51" href="#51">51</a> <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> configure()
+<a class="jxr_linenumber" name="52" href="#52">52</a> {
+<a class="jxr_linenumber" name="53" href="#53">53</a> bindConstant().annotatedWith( named( <span class="jxr_string">"properties"</span> ) ).to( <span class="jxr_string">"useUnicode=true\ncharacterEncoding=UTF-8"</span> );
+<a class="jxr_linenumber" name="54" href="#54">54</a> };
+<a class="jxr_linenumber" name="55" href="#55">55</a> } };
+<a class="jxr_linenumber" name="56" href="#56">56</a> }
+<a class="jxr_linenumber" name="57" href="#57">57</a>
+<a class="jxr_linenumber" name="58" href="#58">58</a> @Test
+<a class="jxr_linenumber" name="59" href="#59">59</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> properties()
+<a class="jxr_linenumber" name="60" href="#60">60</a> {
+<a class="jxr_linenumber" name="61" href="#61">61</a> Properties expected = <strong class="jxr_keyword">new</strong> Properties();
+<a class="jxr_linenumber" name="62" href="#62">62</a> expected.setProperty( <span class="jxr_string">"useUnicode"</span>, <span class="jxr_string">"true"</span> );
+<a class="jxr_linenumber" name="63" href="#63">63</a> expected.setProperty( <span class="jxr_string">"characterEncoding"</span>, <span class="jxr_string">"UTF-8"</span> );
+<a class="jxr_linenumber" name="64" href="#64">64</a> verifyConversion( expected );
+<a class="jxr_linenumber" name="65" href="#65">65</a> }
+<a class="jxr_linenumber" name="66" href="#66">66</a>
+<a class="jxr_linenumber" name="67" href="#67">67</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/PropertiesConverterTestCase.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/PropertiesConverterTestCase.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/URLConverterTestCase.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/URLConverterTestCase.html?rev=1416291&view=auto
==============================================================================
--- incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/URLConverterTestCase.html (added)
+++ incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/URLConverterTestCase.html Sun Dec 2 23:31:59 2012
@@ -0,0 +1,77 @@
+<!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=UTF-8" />
+<title>URLConverterTestCase xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/onami/configuration/converters/URLConverterTestCase.html">View Javadoc</a></div><pre>
+
+<a class="jxr_linenumber" name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.onami.configuration.converters;
+<a class="jxr_linenumber" name="2" href="#2">2</a>
+<a class="jxr_linenumber" name="3" href="#3">3</a> <em class="jxr_comment">/*</em>
+<a class="jxr_linenumber" name="4" href="#4">4</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a class="jxr_linenumber" name="5" href="#5">5</a> <em class="jxr_comment"> * contributor license agreements. See the NOTICE file distributed with</em>
+<a class="jxr_linenumber" name="6" href="#6">6</a> <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em>
+<a class="jxr_linenumber" name="7" href="#7">7</a> <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a class="jxr_linenumber" name="8" href="#8">8</a> <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em>
+<a class="jxr_linenumber" name="9" href="#9">9</a> <em class="jxr_comment"> * the License. You may obtain a copy of the License at</em>
+<a class="jxr_linenumber" name="10" href="#10">10</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="11" href="#11">11</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 class="jxr_linenumber" name="12" href="#12">12</a> <em class="jxr_comment"> *</em>
+<a class="jxr_linenumber" name="13" href="#13">13</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a class="jxr_linenumber" name="14" href="#14">14</a> <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a class="jxr_linenumber" name="15" href="#15">15</a> <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a class="jxr_linenumber" name="16" href="#16">16</a> <em class="jxr_comment"> * See the License for the specific language governing permissions and</em>
+<a class="jxr_linenumber" name="17" href="#17">17</a> <em class="jxr_comment"> * limitations under the License.</em>
+<a class="jxr_linenumber" name="18" href="#18">18</a> <em class="jxr_comment"> */</em>
+<a class="jxr_linenumber" name="19" href="#19">19</a>
+<a class="jxr_linenumber" name="20" href="#20">20</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> com.google.inject.name.Names.named;
+<a class="jxr_linenumber" name="21" href="#21">21</a>
+<a class="jxr_linenumber" name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> java.net.URL;
+<a class="jxr_linenumber" name="23" href="#23">23</a>
+<a class="jxr_linenumber" name="24" href="#24">24</a> <strong class="jxr_keyword">import</strong> org.apache.onami.configuration.converters.URLConverter;
+<a class="jxr_linenumber" name="25" href="#25">25</a> <strong class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="26" href="#26">26</a>
+<a class="jxr_linenumber" name="27" href="#27">27</a> <strong class="jxr_keyword">import</strong> com.google.inject.AbstractModule;
+<a class="jxr_linenumber" name="28" href="#28">28</a> <strong class="jxr_keyword">import</strong> com.google.inject.Inject;
+<a class="jxr_linenumber" name="29" href="#29">29</a> <strong class="jxr_keyword">import</strong> com.google.inject.Module;
+<a class="jxr_linenumber" name="30" href="#30">30</a> <strong class="jxr_keyword">import</strong> com.google.inject.name.Named;
+<a class="jxr_linenumber" name="31" href="#31">31</a>
+<a class="jxr_linenumber" name="32" href="#32">32</a> <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="33" href="#33">33</a> <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="34" href="#34">34</a> <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="35" href="#35">35</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/onami/configuration/converters/URLConverterTestCase.html">URLConverterTestCase</a>
+<a class="jxr_linenumber" name="36" href="#36">36</a> <strong class="jxr_keyword">extends</strong> AbstractTestCase<URL>
+<a class="jxr_linenumber" name="37" href="#37">37</a> {
+<a class="jxr_linenumber" name="38" href="#38">38</a>
+<a class="jxr_linenumber" name="39" href="#39">39</a> @Override
+<a class="jxr_linenumber" name="40" href="#40">40</a> @Inject
+<a class="jxr_linenumber" name="41" href="#41">41</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setConvertedField( @Named( <span class="jxr_string">"classpathResource"</span> ) URL convertedField )
+<a class="jxr_linenumber" name="42" href="#42">42</a> {
+<a class="jxr_linenumber" name="43" href="#43">43</a> <strong class="jxr_keyword">super</strong>.setConvertedField( convertedField );
+<a class="jxr_linenumber" name="44" href="#44">44</a> }
+<a class="jxr_linenumber" name="45" href="#45">45</a>
+<a class="jxr_linenumber" name="46" href="#46">46</a> @Override
+<a class="jxr_linenumber" name="47" href="#47">47</a> <strong class="jxr_keyword">protected</strong> Module[] getModules()
+<a class="jxr_linenumber" name="48" href="#48">48</a> {
+<a class="jxr_linenumber" name="49" href="#49">49</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> Module[] { <strong class="jxr_keyword">new</strong> URLConverter(), <strong class="jxr_keyword">new</strong> AbstractModule()
+<a class="jxr_linenumber" name="50" href="#50">50</a> {
+<a class="jxr_linenumber" name="51" href="#51">51</a> <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> configure()
+<a class="jxr_linenumber" name="52" href="#52">52</a> {
+<a class="jxr_linenumber" name="53" href="#53">53</a> bindConstant().annotatedWith( named( <span class="jxr_string">"classpathResource"</span> ) ).to( <span class="jxr_string">"classpath:///testng.xml"</span> );
+<a class="jxr_linenumber" name="54" href="#54">54</a> };
+<a class="jxr_linenumber" name="55" href="#55">55</a> } };
+<a class="jxr_linenumber" name="56" href="#56">56</a> }
+<a class="jxr_linenumber" name="57" href="#57">57</a>
+<a class="jxr_linenumber" name="58" href="#58">58</a> @Test
+<a class="jxr_linenumber" name="59" href="#59">59</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> classpathResource()
+<a class="jxr_linenumber" name="60" href="#60">60</a> {
+<a class="jxr_linenumber" name="61" href="#61">61</a> verifyConversion( getClass().getResource( <span class="jxr_string">"/testng.xml"</span> ) );
+<a class="jxr_linenumber" name="62" href="#62">62</a> }
+<a class="jxr_linenumber" name="63" href="#63">63</a>
+<a class="jxr_linenumber" name="64" href="#64">64</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/URLConverterTestCase.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/URLConverterTestCase.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/package-frame.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/package-frame.html?rev=1416291&view=auto
==============================================================================
--- incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/package-frame.html (added)
+++ incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/package-frame.html Sun Dec 2 23:31:59 2012
@@ -0,0 +1,42 @@
+
+<!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=UTF-8" />
+ <title>Apache Onami-Configuration 6.3-SNAPSHOT-incubating Reference Package org.apache.onami.configuration.converters</title>
+ <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
+ </head>
+ <body>
+
+ <h3>
+ <a href="package-summary.html" target="classFrame">org.apache.onami.configuration.converters</a>
+ </h3>
+
+ <h3>Classes</h3>
+
+ <ul>
+ <li>
+ <a href="AbstractTestCase.html" target="classFrame">AbstractTestCase</a>
+ </li>
+ <li>
+ <a href="BitSetConverterTestCase.html" target="classFrame">BitSetConverterTestCase</a>
+ </li>
+ <li>
+ <a href="CharsetConverterTestCase.html" target="classFrame">CharsetConverterTestCase</a>
+ </li>
+ <li>
+ <a href="FileConverterTestCase.html" target="classFrame">FileConverterTestCase</a>
+ </li>
+ <li>
+ <a href="LocaleConverterTestCase.html" target="classFrame">LocaleConverterTestCase</a>
+ </li>
+ <li>
+ <a href="PropertiesConverterTestCase.html" target="classFrame">PropertiesConverterTestCase</a>
+ </li>
+ <li>
+ <a href="URLConverterTestCase.html" target="classFrame">URLConverterTestCase</a>
+ </li>
+ </ul>
+
+ </body>
+</html>
\ No newline at end of file
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/package-frame.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/package-frame.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/package-summary.html
URL: http://svn.apache.org/viewvc/incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/package-summary.html?rev=1416291&view=auto
==============================================================================
--- incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/package-summary.html (added)
+++ incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/package-summary.html Sun Dec 2 23:31:59 2012
@@ -0,0 +1,97 @@
+
+<!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=UTF-8" />
+ <title>Apache Onami-Configuration 6.3-SNAPSHOT-incubating Reference Package org.apache.onami.configuration.converters</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.onami.configuration.converters</h2>
+
+ <table class="summary">
+ <thead>
+ <tr>
+ <th>Class Summary</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <a href="AbstractTestCase.html" target="classFrame">AbstractTestCase</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="BitSetConverterTestCase.html" target="classFrame">BitSetConverterTestCase</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="CharsetConverterTestCase.html" target="classFrame">CharsetConverterTestCase</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="FileConverterTestCase.html" target="classFrame">FileConverterTestCase</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="LocaleConverterTestCase.html" target="classFrame">LocaleConverterTestCase</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="PropertiesConverterTestCase.html" target="classFrame">PropertiesConverterTestCase</a>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <a href="URLConverterTestCase.html" target="classFrame">URLConverterTestCase</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 © 2012 The Apache Software Foundation. All Rights Reserved.
+ </body>
+</html>
\ No newline at end of file
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/package-summary.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/onami/site/configuration/xref-test/org/apache/onami/configuration/converters/package-summary.html
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision