autobuild 0.5 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +8 -0
- data/Rakefile +19 -11
- data/bin/autobuild +94 -0
- data/doc/classes/Autobuild.html +294 -0
- data/doc/classes/Autobuild.src/M000034.html +25 -0
- data/doc/classes/Autobuild.src/M000035.html +19 -0
- data/doc/classes/Autobuild.src/M000036.html +44 -0
- data/doc/classes/Autobuild.src/M000037.html +19 -0
- data/doc/classes/Autobuild.src/M000038.html +19 -0
- data/doc/classes/Autobuild.src/M000039.html +20 -0
- data/doc/classes/Autobuild/Autotools.html +284 -0
- data/doc/classes/Autobuild/Autotools.src/M000065.html +18 -0
- data/doc/classes/Autobuild/Autotools.src/M000066.html +26 -0
- data/doc/classes/Autobuild/Autotools.src/M000067.html +38 -0
- data/doc/classes/Autobuild/Autotools.src/M000068.html +53 -0
- data/doc/classes/Autobuild/Autotools.src/M000069.html +28 -0
- data/doc/classes/Autobuild/Autotools.src/M000070.html +23 -0
- data/doc/classes/Autobuild/Autotools.src/M000071.html +22 -0
- data/doc/classes/Autobuild/CVSImporter.html +156 -0
- data/doc/classes/Autobuild/CVSImporter.src/M000048.html +24 -0
- data/doc/classes/Autobuild/CVSImporter.src/M000049.html +18 -0
- data/doc/classes/Autobuild/CommandNotFound.html +113 -0
- data/doc/classes/Autobuild/Config.html +146 -0
- data/doc/classes/Autobuild/Config.src/M000040.html +28 -0
- data/doc/classes/Autobuild/Config.src/M000041.html +47 -0
- data/doc/classes/Autobuild/ConfigException.html +113 -0
- data/doc/classes/Autobuild/Exception.html +215 -0
- data/doc/classes/Autobuild/Exception.src/M000103.html +16 -0
- data/doc/classes/Autobuild/Exception.src/M000104.html +16 -0
- data/doc/classes/Autobuild/Exception.src/M000105.html +19 -0
- data/doc/classes/Autobuild/Exception.src/M000106.html +19 -0
- data/doc/classes/Autobuild/GenomModule.html +229 -0
- data/doc/classes/Autobuild/GenomModule.src/M000107.html +20 -0
- data/doc/classes/Autobuild/GenomModule.src/M000108.html +16 -0
- data/doc/classes/Autobuild/GenomModule.src/M000109.html +18 -0
- data/doc/classes/Autobuild/GenomModule.src/M000110.html +29 -0
- data/doc/classes/Autobuild/GenomModule.src/M000111.html +19 -0
- data/doc/classes/Autobuild/GenomModule.src/M000112.html +26 -0
- data/doc/classes/Autobuild/GenomModule.src/M000113.html +35 -0
- data/doc/classes/Autobuild/Import.html +169 -0
- data/doc/classes/Autobuild/Import.src/M000045.html +18 -0
- data/doc/classes/Autobuild/Import.src/M000046.html +18 -0
- data/doc/classes/Autobuild/Import.src/M000047.html +18 -0
- data/doc/classes/Autobuild/Importer.html +154 -0
- data/doc/classes/Autobuild/Importer.src/M000056.html +18 -0
- data/doc/classes/Autobuild/Importer.src/M000057.html +38 -0
- data/doc/classes/Autobuild/ImporterPackage.html +171 -0
- data/doc/classes/Autobuild/ImporterPackage.src/M000115.html +18 -0
- data/doc/classes/Autobuild/ImporterPackage.src/M000116.html +22 -0
- data/doc/classes/Autobuild/ImporterPackage.src/M000117.html +16 -0
- data/doc/classes/Autobuild/Interpolator.html +227 -0
- data/doc/classes/Autobuild/Interpolator.src/M000051.html +18 -0
- data/doc/classes/Autobuild/Interpolator.src/M000052.html +21 -0
- data/doc/classes/Autobuild/Interpolator.src/M000053.html +45 -0
- data/doc/classes/Autobuild/Interpolator.src/M000054.html +39 -0
- data/doc/classes/Autobuild/Interpolator.src/M000055.html +29 -0
- data/doc/classes/Autobuild/MailReporter.html +201 -0
- data/doc/classes/Autobuild/MailReporter.src/M000060.html +24 -0
- data/doc/classes/Autobuild/MailReporter.src/M000061.html +21 -0
- data/doc/classes/Autobuild/MailReporter.src/M000062.html +20 -0
- data/doc/classes/Autobuild/MailReporter.src/M000063.html +18 -0
- data/doc/classes/Autobuild/MailReporter.src/M000064.html +42 -0
- data/doc/classes/Autobuild/Options.html +137 -0
- data/doc/classes/Autobuild/Options.src/M000058.html +27 -0
- data/doc/classes/Autobuild/Package.html +313 -0
- data/doc/classes/Autobuild/Package.src/M000085.html +16 -0
- data/doc/classes/Autobuild/Package.src/M000086.html +19 -0
- data/doc/classes/Autobuild/Package.src/M000087.html +18 -0
- data/doc/classes/Autobuild/Package.src/M000088.html +41 -0
- data/doc/classes/Autobuild/Package.src/M000089.html +22 -0
- data/doc/classes/Autobuild/Package.src/M000090.html +23 -0
- data/doc/classes/Autobuild/Package.src/M000091.html +16 -0
- data/doc/classes/Autobuild/Package.src/M000092.html +24 -0
- data/doc/classes/Autobuild/Package.src/M000093.html +18 -0
- data/doc/classes/Autobuild/Package.src/M000094.html +23 -0
- data/doc/classes/Autobuild/PackageException.html +139 -0
- data/doc/classes/Autobuild/PackageException.src/M000059.html +16 -0
- data/doc/classes/Autobuild/Reporter.html +152 -0
- data/doc/classes/Autobuild/Reporter.src/M000074.html +16 -0
- data/doc/classes/Autobuild/Reporter.src/M000075.html +16 -0
- data/doc/classes/Autobuild/Reporting.html +197 -0
- data/doc/classes/Autobuild/Reporting.src/M000095.html +24 -0
- data/doc/classes/Autobuild/Reporting.src/M000096.html +18 -0
- data/doc/classes/Autobuild/Reporting.src/M000097.html +18 -0
- data/doc/classes/Autobuild/Reporting.src/M000098.html +18 -0
- data/doc/classes/Autobuild/Reporting.src/M000099.html +18 -0
- data/doc/classes/Autobuild/SVNImporter.html +139 -0
- data/doc/classes/Autobuild/SVNImporter.src/M000050.html +23 -0
- data/doc/classes/Autobuild/SourceTreeTask.html +150 -0
- data/doc/classes/Autobuild/SourceTreeTask.src/M000114.html +18 -0
- data/doc/classes/Autobuild/StdoutReporter.html +154 -0
- data/doc/classes/Autobuild/StdoutReporter.src/M000072.html +18 -0
- data/doc/classes/Autobuild/StdoutReporter.src/M000073.html +18 -0
- data/doc/classes/Autobuild/SubcommandFailed.html +194 -0
- data/doc/classes/Autobuild/SubcommandFailed.src/M000100.html +16 -0
- data/doc/classes/Autobuild/SubcommandFailed.src/M000101.html +32 -0
- data/doc/classes/Autobuild/SubcommandFailed.src/M000102.html +20 -0
- data/doc/classes/Autobuild/Subprocess.html +170 -0
- data/doc/classes/Autobuild/Subprocess.src/M000042.html +18 -0
- data/doc/classes/Autobuild/Subprocess.src/M000043.html +96 -0
- data/doc/classes/Autobuild/Subprocess/Failed.html +150 -0
- data/doc/classes/Autobuild/Subprocess/Failed.src/M000044.html +18 -0
- data/doc/classes/Autobuild/TarImporter.html +287 -0
- data/doc/classes/Autobuild/TarImporter.src/M000076.html +28 -0
- data/doc/classes/Autobuild/TarImporter.src/M000077.html +53 -0
- data/doc/classes/Autobuild/TarImporter.src/M000078.html +26 -0
- data/doc/classes/Autobuild/TarImporter.src/M000079.html +16 -0
- data/doc/classes/Autobuild/TarImporter.src/M000080.html +20 -0
- data/doc/classes/Autobuild/TarImporter.src/M000081.html +20 -0
- data/doc/classes/Autobuild/TarImporter.src/M000082.html +30 -0
- data/doc/classes/Autobuild/UndefinedVariable.html +174 -0
- data/doc/classes/Autobuild/UndefinedVariable.src/M000083.html +19 -0
- data/doc/classes/Autobuild/UndefinedVariable.src/M000084.html +18 -0
- data/doc/classes/Hash.html +152 -0
- data/doc/classes/Hash.src/M000019.html +26 -0
- data/doc/classes/Hash.src/M000020.html +23 -0
- data/doc/classes/RMail.html +111 -0
- data/doc/classes/RMail/Message.html +137 -0
- data/doc/classes/RMail/Message.src/M000033.html +25 -0
- data/doc/classes/TC_AttrDefval.html +152 -0
- data/doc/classes/TC_AttrDefval.src/M000024.html +31 -0
- data/doc/classes/TC_AttrDefval.src/M000025.html +22 -0
- data/doc/classes/TC_CVSImport.html +180 -0
- data/doc/classes/TC_CVSImport.src/M000026.html +22 -0
- data/doc/classes/TC_CVSImport.src/M000027.html +21 -0
- data/doc/classes/TC_CVSImport.src/M000028.html +36 -0
- data/doc/classes/TC_Config.html +182 -0
- data/doc/classes/TC_Config.src/M000001.html +20 -0
- data/doc/classes/TC_Config.src/M000002.html +18 -0
- data/doc/classes/TC_Config.src/M000003.html +29 -0
- data/doc/classes/TC_Config.src/M000004.html +20 -0
- data/doc/classes/TC_ConfigInterpolation.html +198 -0
- data/doc/classes/TC_ConfigInterpolation.src/M000015.html +18 -0
- data/doc/classes/TC_ConfigInterpolation.src/M000016.html +18 -0
- data/doc/classes/TC_ConfigInterpolation.src/M000017.html +26 -0
- data/doc/classes/TC_ConfigInterpolation.src/M000018.html +24 -0
- data/doc/classes/TC_SVNImport.html +180 -0
- data/doc/classes/TC_SVNImport.src/M000005.html +22 -0
- data/doc/classes/TC_SVNImport.src/M000006.html +21 -0
- data/doc/classes/TC_SVNImport.src/M000007.html +43 -0
- data/doc/classes/TC_Subcommand.html +208 -0
- data/doc/classes/TC_Subcommand.src/M000021.html +31 -0
- data/doc/classes/TC_Subcommand.src/M000022.html +18 -0
- data/doc/classes/TC_Subcommand.src/M000023.html +30 -0
- data/doc/classes/TC_TarImporter.html +247 -0
- data/doc/classes/TC_TarImporter.src/M000008.html +28 -0
- data/doc/classes/TC_TarImporter.src/M000009.html +21 -0
- data/doc/classes/TC_TarImporter.src/M000010.html +20 -0
- data/doc/classes/TC_TarImporter.src/M000011.html +20 -0
- data/doc/classes/TC_TarImporter.src/M000012.html +26 -0
- data/doc/classes/TC_TarImporter.src/M000013.html +31 -0
- data/doc/classes/TC_TarImporter.src/M000014.html +24 -0
- data/doc/classes/TestTools.html +189 -0
- data/doc/classes/TestTools.src/M000029.html +19 -0
- data/doc/classes/TestTools.src/M000030.html +18 -0
- data/doc/classes/TestTools.src/M000031.html +25 -0
- data/doc/classes/TestTools.src/M000032.html +24 -0
- data/doc/created.rid +1 -0
- data/doc/files/lib/autobuild/config-interpolator_rb.html +108 -0
- data/doc/files/lib/autobuild/config_rb.html +113 -0
- data/doc/files/lib/autobuild/environment_rb.html +101 -0
- data/doc/files/lib/autobuild/exceptions_rb.html +101 -0
- data/doc/files/lib/autobuild/import/cvs_rb.html +109 -0
- data/doc/files/lib/autobuild/import/svn_rb.html +109 -0
- data/doc/files/lib/autobuild/import/tar_rb.html +108 -0
- data/doc/files/lib/autobuild/importer_rb.html +108 -0
- data/doc/files/lib/autobuild/options_rb.html +101 -0
- data/doc/files/lib/autobuild/package_rb.html +110 -0
- data/doc/files/lib/autobuild/packages/autotools_rb.html +111 -0
- data/doc/files/lib/autobuild/packages/genom_rb.html +109 -0
- data/doc/files/lib/autobuild/packages/import_rb.html +109 -0
- data/doc/files/lib/autobuild/reporting_rb.html +113 -0
- data/doc/files/lib/autobuild/subcommand_rb.html +108 -0
- data/doc/files/lib/autobuild/timestamps_rb.html +123 -0
- data/doc/files/test/base_rb.html +113 -0
- data/doc/files/test/test_attr_defval_rb.html +109 -0
- data/doc/files/test/test_config_interpolation_rb.html +111 -0
- data/doc/files/test/test_config_rb.html +111 -0
- data/doc/files/test/test_import_cvs_rb.html +119 -0
- data/doc/files/test/test_import_svn_rb.html +119 -0
- data/doc/files/test/test_import_tar_rb.html +120 -0
- data/doc/files/test/test_subcommand_rb.html +120 -0
- data/doc/files/test/tools_rb.html +110 -0
- data/doc/fr_class_index.html +63 -0
- data/doc/fr_file_index.html +51 -0
- data/doc/fr_method_index.html +143 -0
- data/doc/index.html +24 -0
- data/doc/rdoc-style.css +208 -0
- data/test/base.rb +8 -0
- data/test/test_attr_defval.rb +29 -0
- data/test/test_config.rb +40 -0
- data/test/test_config_interpolation.rb +57 -0
- data/test/test_import_cvs.rb +52 -0
- data/test/test_import_svn.rb +58 -0
- data/test/test_import_tar.rb +88 -0
- data/test/test_subcommand.rb +63 -0
- data/test/tools.rb +39 -0
- metadata +274 -8
@@ -0,0 +1,20 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>setup (TC_Config)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File test/test_config.rb, line 9</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span>
|
15
|
+
<span class="ruby-ivar">@conffile</span> = <span class="ruby-constant">TestTools</span>.<span class="ruby-identifier">build_config</span>(<span class="ruby-identifier">binding</span>, <span class="ruby-value str">'dummy'</span>)
|
16
|
+
<span class="ruby-ivar">@options_hash</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-ivar">@conffile</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-constant">YAML</span>.<span class="ruby-identifier">load</span>(<span class="ruby-identifier">f</span>) }
|
17
|
+
<span class="ruby-ivar">@options</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-ivar">@conffile</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-constant">Autobuild</span><span class="ruby-operator">::</span><span class="ruby-constant">Config</span>.<span class="ruby-identifier">load</span>(<span class="ruby-identifier">f</span>, <span class="ruby-constant">Options</span>.<span class="ruby-identifier">default</span>) }
|
18
|
+
<span class="ruby-keyword kw">end</span></pre>
|
19
|
+
</body>
|
20
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>teardown (TC_Config)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File test/test_config.rb, line 15</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">teardown</span>
|
15
|
+
<span class="ruby-constant">TestTools</span>.<span class="ruby-identifier">clean</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>test_keys_to_sym (TC_Config)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File test/test_config.rb, line 19</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_keys_to_sym</span>
|
15
|
+
<span class="ruby-identifier">symed</span> = <span class="ruby-ivar">@options_hash</span>.<span class="ruby-identifier">keys_to_sym</span>
|
16
|
+
|
17
|
+
<span class="ruby-identifier">pass_through</span> = {}
|
18
|
+
<span class="ruby-identifier">symed</span>.<span class="ruby-identifier">each_recursive</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
|
19
|
+
<span class="ruby-identifier">assert_kind_of</span>(<span class="ruby-constant">Symbol</span>, <span class="ruby-identifier">k</span>)
|
20
|
+
<span class="ruby-identifier">pass_through</span>[<span class="ruby-identifier">k</span>] = <span class="ruby-keyword kw">true</span>
|
21
|
+
}
|
22
|
+
|
23
|
+
<span class="ruby-identifier">assert</span>(<span class="ruby-identifier">pass_through</span>[<span class="ruby-identifier">:PATH</span>])
|
24
|
+
<span class="ruby-identifier">assert</span>(<span class="ruby-identifier">pass_through</span>[<span class="ruby-identifier">:prefix</span>])
|
25
|
+
<span class="ruby-identifier">assert</span>(<span class="ruby-identifier">pass_through</span>[<span class="ruby-identifier">:autobuild</span>])
|
26
|
+
<span class="ruby-identifier">assert_kind_of</span>(<span class="ruby-constant">String</span>, <span class="ruby-identifier">symed</span>[<span class="ruby-identifier">:autobuild</span>][<span class="ruby-identifier">:srcdir</span>])
|
27
|
+
<span class="ruby-keyword kw">end</span></pre>
|
28
|
+
</body>
|
29
|
+
</html>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>test_value_type (TC_Config)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File test/test_config.rb, line 34</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_value_type</span>
|
15
|
+
<span class="ruby-identifier">assert_kind_of</span>(<span class="ruby-constant">String</span>, <span class="ruby-identifier">$SRCDIR</span>)
|
16
|
+
<span class="ruby-identifier">assert_kind_of</span>(<span class="ruby-constant">Fixnum</span>, <span class="ruby-identifier">$NICE</span>)
|
17
|
+
<span class="ruby-identifier">assert_equal</span>(<span class="ruby-value">0</span>, <span class="ruby-identifier">$NICE</span>)
|
18
|
+
<span class="ruby-keyword kw">end</span></pre>
|
19
|
+
</body>
|
20
|
+
</html>
|
@@ -0,0 +1,198 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: TC_ConfigInterpolation</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">TC_ConfigInterpolation</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/test/test_config_interpolation_rb.html">
|
59
|
+
test/test_config_interpolation.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
Test::Unit::TestCase
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div id="method-list">
|
86
|
+
<h3 class="section-bar">Methods</h3>
|
87
|
+
|
88
|
+
<div class="name-list">
|
89
|
+
<a href="#M000015">setup</a>
|
90
|
+
<a href="#M000016">teardown</a>
|
91
|
+
<a href="#M000018">test_interpolation</a>
|
92
|
+
<a href="#M000017">test_match</a>
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
|
96
|
+
</div>
|
97
|
+
|
98
|
+
|
99
|
+
<!-- if includes -->
|
100
|
+
|
101
|
+
<div id="section">
|
102
|
+
|
103
|
+
|
104
|
+
<div id="constants-list">
|
105
|
+
<h3 class="section-bar">Constants</h3>
|
106
|
+
|
107
|
+
<div class="name-list">
|
108
|
+
<table summary="Constants">
|
109
|
+
<tr class="top-aligned-row context-row">
|
110
|
+
<td class="context-item-name">WELL_FORMED</td>
|
111
|
+
<td>=</td>
|
112
|
+
<td class="context-item-value"><<EOF defines: global_prefix: /home/doudou srcdir: ${global_prefix}/src prefix: ${global_prefix}/build nice: 10 autobuild: srcdir: $srcdir prefix: $prefix nice: $nice envvar: $ENVVAR EOF</td>
|
113
|
+
</tr>
|
114
|
+
</table>
|
115
|
+
</div>
|
116
|
+
</div>
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
<!-- if method_list -->
|
124
|
+
<div id="methods">
|
125
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
126
|
+
|
127
|
+
<div id="method-M000015" class="method-detail">
|
128
|
+
<a name="M000015"></a>
|
129
|
+
|
130
|
+
<div class="method-heading">
|
131
|
+
<a href="TC_ConfigInterpolation.src/M000015.html" target="Code" class="method-signature"
|
132
|
+
onclick="popupCode('TC_ConfigInterpolation.src/M000015.html');return false;">
|
133
|
+
<span class="method-name">setup</span><span class="method-args">()</span>
|
134
|
+
</a>
|
135
|
+
</div>
|
136
|
+
|
137
|
+
<div class="method-description">
|
138
|
+
</div>
|
139
|
+
</div>
|
140
|
+
|
141
|
+
<div id="method-M000016" class="method-detail">
|
142
|
+
<a name="M000016"></a>
|
143
|
+
|
144
|
+
<div class="method-heading">
|
145
|
+
<a href="TC_ConfigInterpolation.src/M000016.html" target="Code" class="method-signature"
|
146
|
+
onclick="popupCode('TC_ConfigInterpolation.src/M000016.html');return false;">
|
147
|
+
<span class="method-name">teardown</span><span class="method-args">()</span>
|
148
|
+
</a>
|
149
|
+
</div>
|
150
|
+
|
151
|
+
<div class="method-description">
|
152
|
+
</div>
|
153
|
+
</div>
|
154
|
+
|
155
|
+
<div id="method-M000018" class="method-detail">
|
156
|
+
<a name="M000018"></a>
|
157
|
+
|
158
|
+
<div class="method-heading">
|
159
|
+
<a href="TC_ConfigInterpolation.src/M000018.html" target="Code" class="method-signature"
|
160
|
+
onclick="popupCode('TC_ConfigInterpolation.src/M000018.html');return false;">
|
161
|
+
<span class="method-name">test_interpolation</span><span class="method-args">()</span>
|
162
|
+
</a>
|
163
|
+
</div>
|
164
|
+
|
165
|
+
<div class="method-description">
|
166
|
+
</div>
|
167
|
+
</div>
|
168
|
+
|
169
|
+
<div id="method-M000017" class="method-detail">
|
170
|
+
<a name="M000017"></a>
|
171
|
+
|
172
|
+
<div class="method-heading">
|
173
|
+
<a href="TC_ConfigInterpolation.src/M000017.html" target="Code" class="method-signature"
|
174
|
+
onclick="popupCode('TC_ConfigInterpolation.src/M000017.html');return false;">
|
175
|
+
<span class="method-name">test_match</span><span class="method-args">()</span>
|
176
|
+
</a>
|
177
|
+
</div>
|
178
|
+
|
179
|
+
<div class="method-description">
|
180
|
+
<p>
|
181
|
+
Check that interpolation matches both forms ${var} and $var
|
182
|
+
</p>
|
183
|
+
</div>
|
184
|
+
</div>
|
185
|
+
|
186
|
+
|
187
|
+
</div>
|
188
|
+
|
189
|
+
|
190
|
+
</div>
|
191
|
+
|
192
|
+
|
193
|
+
<div id="validator-badges">
|
194
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
195
|
+
</div>
|
196
|
+
|
197
|
+
</body>
|
198
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>setup (TC_ConfigInterpolation)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File test/test_config_interpolation.rb, line 27</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span>
|
15
|
+
<span class="ruby-ivar">@wellformed</span> = <span class="ruby-constant">StringIO</span>.<span class="ruby-identifier">open</span>(<span class="ruby-constant">WELL_FORMED</span>, <span class="ruby-value str">'r'</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">d</span><span class="ruby-operator">|</span> <span class="ruby-constant">YAML</span>.<span class="ruby-identifier">load</span>(<span class="ruby-identifier">d</span>) }
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>teardown (TC_ConfigInterpolation)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File test/test_config_interpolation.rb, line 31</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">teardown</span>
|
15
|
+
<span class="ruby-ivar">@wellformed</span> = <span class="ruby-keyword kw">nil</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>test_match (TC_ConfigInterpolation)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File test/test_config_interpolation.rb, line 36</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_match</span>
|
15
|
+
<span class="ruby-identifier">data</span> = <span class="ruby-ivar">@wellformed</span>[<span class="ruby-value str">'defines'</span>][<span class="ruby-value str">'srcdir'</span>]
|
16
|
+
<span class="ruby-identifier">all_matches</span> = []
|
17
|
+
<span class="ruby-identifier">data</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-constant">Interpolator</span><span class="ruby-operator">::</span><span class="ruby-constant">PartialMatch</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-identifier">all_matches</span> <span class="ruby-operator"><<</span> (<span class="ruby-identifier">$1</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">$2</span>) }
|
18
|
+
<span class="ruby-identifier">assert_equal</span>( [<span class="ruby-value str">'global_prefix'</span>], <span class="ruby-identifier">all_matches</span> )
|
19
|
+
|
20
|
+
<span class="ruby-identifier">data</span> = <span class="ruby-ivar">@wellformed</span>[<span class="ruby-value str">'autobuild'</span>][<span class="ruby-value str">'srcdir'</span>]
|
21
|
+
<span class="ruby-identifier">all_matches</span> = []
|
22
|
+
<span class="ruby-identifier">data</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-constant">Interpolator</span><span class="ruby-operator">::</span><span class="ruby-constant">PartialMatch</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-identifier">all_matches</span> <span class="ruby-operator"><<</span> (<span class="ruby-identifier">$1</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">$2</span>) }
|
23
|
+
<span class="ruby-identifier">assert_equal</span>( [<span class="ruby-value str">'srcdir'</span>], <span class="ruby-identifier">all_matches</span> )
|
24
|
+
<span class="ruby-keyword kw">end</span></pre>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>test_interpolation (TC_ConfigInterpolation)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File test/test_config_interpolation.rb, line 48</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_interpolation</span>
|
15
|
+
<span class="ruby-constant">ENV</span>[<span class="ruby-value str">'ENVVAR'</span>] = <span class="ruby-value str">'envvar'</span>
|
16
|
+
<span class="ruby-identifier">data</span> = <span class="ruby-constant">Interpolator</span>.<span class="ruby-identifier">interpolate</span>(<span class="ruby-ivar">@wellformed</span>)
|
17
|
+
<span class="ruby-identifier">assert_equal</span>(<span class="ruby-value str">'/home/doudou/src'</span>, <span class="ruby-identifier">data</span>[<span class="ruby-value str">"autobuild"</span>][<span class="ruby-value str">"srcdir"</span>])
|
18
|
+
<span class="ruby-identifier">assert_equal</span>(<span class="ruby-value str">'/home/doudou/build'</span>, <span class="ruby-identifier">data</span>[<span class="ruby-value str">"autobuild"</span>][<span class="ruby-value str">"prefix"</span>])
|
19
|
+
<span class="ruby-identifier">assert_equal</span>(<span class="ruby-value str">'envvar'</span>, <span class="ruby-identifier">data</span>[<span class="ruby-value str">"autobuild"</span>][<span class="ruby-value str">"envvar"</span>])
|
20
|
+
<span class="ruby-identifier">assert_equal</span>(<span class="ruby-value">10</span>, <span class="ruby-identifier">data</span>[<span class="ruby-value str">"autobuild"</span>][<span class="ruby-value str">"nice"</span>])
|
21
|
+
<span class="ruby-identifier">assert_kind_of</span>(<span class="ruby-constant">Fixnum</span>, <span class="ruby-identifier">data</span>[<span class="ruby-value str">"autobuild"</span>][<span class="ruby-value str">"nice"</span>])
|
22
|
+
<span class="ruby-keyword kw">end</span></pre>
|
23
|
+
</body>
|
24
|
+
</html>
|
@@ -0,0 +1,180 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: TC_SVNImport</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">TC_SVNImport</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/test/test_import_svn_rb.html">
|
59
|
+
test/test_import_svn.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
Test::Unit::TestCase
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div id="method-list">
|
86
|
+
<h3 class="section-bar">Methods</h3>
|
87
|
+
|
88
|
+
<div class="name-list">
|
89
|
+
<a href="#M000005">setup</a>
|
90
|
+
<a href="#M000006">teardown</a>
|
91
|
+
<a href="#M000007">test_svn</a>
|
92
|
+
</div>
|
93
|
+
</div>
|
94
|
+
|
95
|
+
</div>
|
96
|
+
|
97
|
+
|
98
|
+
<!-- if includes -->
|
99
|
+
|
100
|
+
<div id="section">
|
101
|
+
|
102
|
+
|
103
|
+
<div id="constants-list">
|
104
|
+
<h3 class="section-bar">Constants</h3>
|
105
|
+
|
106
|
+
<div class="name-list">
|
107
|
+
<table summary="Constants">
|
108
|
+
<tr class="top-aligned-row context-row">
|
109
|
+
<td class="context-item-name">Package</td>
|
110
|
+
<td>=</td>
|
111
|
+
<td class="context-item-value">Struct.new :srcdir, :target</td>
|
112
|
+
</tr>
|
113
|
+
</table>
|
114
|
+
</div>
|
115
|
+
</div>
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
<!-- if method_list -->
|
123
|
+
<div id="methods">
|
124
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
125
|
+
|
126
|
+
<div id="method-M000005" class="method-detail">
|
127
|
+
<a name="M000005"></a>
|
128
|
+
|
129
|
+
<div class="method-heading">
|
130
|
+
<a href="TC_SVNImport.src/M000005.html" target="Code" class="method-signature"
|
131
|
+
onclick="popupCode('TC_SVNImport.src/M000005.html');return false;">
|
132
|
+
<span class="method-name">setup</span><span class="method-args">()</span>
|
133
|
+
</a>
|
134
|
+
</div>
|
135
|
+
|
136
|
+
<div class="method-description">
|
137
|
+
</div>
|
138
|
+
</div>
|
139
|
+
|
140
|
+
<div id="method-M000006" class="method-detail">
|
141
|
+
<a name="M000006"></a>
|
142
|
+
|
143
|
+
<div class="method-heading">
|
144
|
+
<a href="TC_SVNImport.src/M000006.html" target="Code" class="method-signature"
|
145
|
+
onclick="popupCode('TC_SVNImport.src/M000006.html');return false;">
|
146
|
+
<span class="method-name">teardown</span><span class="method-args">()</span>
|
147
|
+
</a>
|
148
|
+
</div>
|
149
|
+
|
150
|
+
<div class="method-description">
|
151
|
+
</div>
|
152
|
+
</div>
|
153
|
+
|
154
|
+
<div id="method-M000007" class="method-detail">
|
155
|
+
<a name="M000007"></a>
|
156
|
+
|
157
|
+
<div class="method-heading">
|
158
|
+
<a href="TC_SVNImport.src/M000007.html" target="Code" class="method-signature"
|
159
|
+
onclick="popupCode('TC_SVNImport.src/M000007.html');return false;">
|
160
|
+
<span class="method-name">test_svn</span><span class="method-args">()</span>
|
161
|
+
</a>
|
162
|
+
</div>
|
163
|
+
|
164
|
+
<div class="method-description">
|
165
|
+
</div>
|
166
|
+
</div>
|
167
|
+
|
168
|
+
|
169
|
+
</div>
|
170
|
+
|
171
|
+
|
172
|
+
</div>
|
173
|
+
|
174
|
+
|
175
|
+
<div id="validator-badges">
|
176
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
177
|
+
</div>
|
178
|
+
|
179
|
+
</body>
|
180
|
+
</html>
|