syc-backup 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +48 -0
- data/Rakefile +7 -0
- data/bin/sycbackup +6 -0
- data/doc/Backup.html +186 -0
- data/doc/Backup/CronEdit.html +381 -0
- data/doc/Backup/Environment.html +231 -0
- data/doc/Backup/FileBackup.html +363 -0
- data/doc/Backup/MySQLBackup.html +305 -0
- data/doc/Backup/Options.html +328 -0
- data/doc/Backup/Process.html +261 -0
- data/doc/Backup/Runner.html +244 -0
- data/doc/README_rdoc.html +202 -0
- data/doc/Rakefile.html +118 -0
- data/doc/TestCronEdit.html +211 -0
- data/doc/TestEnvironment.html +156 -0
- data/doc/TestFileBackup.html +237 -0
- data/doc/TestMySQLBackup.html +167 -0
- data/doc/TestOptions.html +156 -0
- data/doc/TestProcess.html +236 -0
- data/doc/created.rid +18 -0
- data/doc/images/add.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +106 -0
- data/doc/js/darkfish.js +153 -0
- data/doc/js/jquery.js +18 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +94 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/rdoc.css +543 -0
- data/doc/table_of_contents.html +148 -0
- data/lib/backup/cron_edit.rb +127 -0
- data/lib/backup/environment.rb +44 -0
- data/lib/backup/file_backup.rb +94 -0
- data/lib/backup/mysql_backup.rb +58 -0
- data/lib/backup/options.rb +199 -0
- data/lib/backup/process.rb +99 -0
- data/lib/backup/runner.rb +79 -0
- data/lib/backup_version.rb +9 -0
- data/syc-backup-0.0.1.gem +0 -0
- data/syc-backup-0.0.3.gem +0 -0
- data/sycbackup.gemspec +20 -0
- data/test/test_cron_edit.rb +49 -0
- data/test/test_environment.rb +22 -0
- data/test/test_file_backup.rb +70 -0
- data/test/test_mysql_backup.rb +71 -0
- data/test/test_options.rb +189 -0
- data/test/test_process.rb +40 -0
- metadata +123 -0
@@ -0,0 +1,156 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>class TestEnvironment - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "./";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" class="class">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="./index.html">Home</a>
|
28
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="file-metadata">
|
47
|
+
<nav id="file-list-section" class="section">
|
48
|
+
<h3 class="section-header">Defined In</h3>
|
49
|
+
<ul>
|
50
|
+
<li>test/test_environment.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
53
|
+
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
<nav id="parent-class-section" class="section">
|
60
|
+
<h3 class="section-header">Parent</h3>
|
61
|
+
|
62
|
+
<p class="link">Test::Unit::TestCase
|
63
|
+
|
64
|
+
</nav>
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
</div>
|
69
|
+
|
70
|
+
<div id="project-metadata">
|
71
|
+
<nav id="fileindex-section" class="section project-section">
|
72
|
+
<h3 class="section-header">Pages</h3>
|
73
|
+
|
74
|
+
<ul>
|
75
|
+
|
76
|
+
<li class="file"><a href="./README_rdoc.html">README</a>
|
77
|
+
|
78
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a>
|
79
|
+
|
80
|
+
</ul>
|
81
|
+
</nav>
|
82
|
+
|
83
|
+
<nav id="classindex-section" class="section project-section">
|
84
|
+
<h3 class="section-header">Class and Module Index</h3>
|
85
|
+
|
86
|
+
<ul class="link-list">
|
87
|
+
|
88
|
+
<li><a href="./Backup.html">Backup</a>
|
89
|
+
|
90
|
+
<li><a href="./Backup/CronEdit.html">Backup::CronEdit</a>
|
91
|
+
|
92
|
+
<li><a href="./Backup/Environment.html">Backup::Environment</a>
|
93
|
+
|
94
|
+
<li><a href="./Backup/FileBackup.html">Backup::FileBackup</a>
|
95
|
+
|
96
|
+
<li><a href="./Backup/MySQLBackup.html">Backup::MySQLBackup</a>
|
97
|
+
|
98
|
+
<li><a href="./Backup/Options.html">Backup::Options</a>
|
99
|
+
|
100
|
+
<li><a href="./Backup/Process.html">Backup::Process</a>
|
101
|
+
|
102
|
+
<li><a href="./Backup/Runner.html">Backup::Runner</a>
|
103
|
+
|
104
|
+
<li><a href="./TestCronEdit.html">TestCronEdit</a>
|
105
|
+
|
106
|
+
<li><a href="./TestEnvironment.html">TestEnvironment</a>
|
107
|
+
|
108
|
+
<li><a href="./TestFileBackup.html">TestFileBackup</a>
|
109
|
+
|
110
|
+
<li><a href="./TestMySQLBackup.html">TestMySQLBackup</a>
|
111
|
+
|
112
|
+
<li><a href="./TestOptions.html">TestOptions</a>
|
113
|
+
|
114
|
+
<li><a href="./TestProcess.html">TestProcess</a>
|
115
|
+
|
116
|
+
</ul>
|
117
|
+
</nav>
|
118
|
+
|
119
|
+
</div>
|
120
|
+
</nav>
|
121
|
+
|
122
|
+
<div id="documentation">
|
123
|
+
<h1 class="class">class TestEnvironment</h1>
|
124
|
+
|
125
|
+
<div id="description" class="description">
|
126
|
+
|
127
|
+
<p>Tests Environment class to return the variables neccessary for running a
|
128
|
+
Ruby application as a cron job</p>
|
129
|
+
|
130
|
+
</div><!-- description -->
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
<!-- Methods -->
|
145
|
+
|
146
|
+
</section><!-- 5Buntitled-5D -->
|
147
|
+
|
148
|
+
</div><!-- documentation -->
|
149
|
+
|
150
|
+
|
151
|
+
<footer id="validator-badges">
|
152
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
153
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
154
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
155
|
+
</footer>
|
156
|
+
|
@@ -0,0 +1,237 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>class TestFileBackup - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "./";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" class="class">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="./index.html">Home</a>
|
28
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="file-metadata">
|
47
|
+
<nav id="file-list-section" class="section">
|
48
|
+
<h3 class="section-header">Defined In</h3>
|
49
|
+
<ul>
|
50
|
+
<li>test/test_file_backup.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
53
|
+
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
<nav id="parent-class-section" class="section">
|
60
|
+
<h3 class="section-header">Parent</h3>
|
61
|
+
|
62
|
+
<p class="link">Test::Unit::TestCase
|
63
|
+
|
64
|
+
</nav>
|
65
|
+
|
66
|
+
|
67
|
+
<!-- Method Quickref -->
|
68
|
+
<nav id="method-list-section" class="section">
|
69
|
+
<h3 class="section-header">Methods</h3>
|
70
|
+
|
71
|
+
<ul class="link-list">
|
72
|
+
|
73
|
+
<li><a href="#method-i-setup">#setup</a>
|
74
|
+
|
75
|
+
<li><a href="#method-i-teardown">#teardown</a>
|
76
|
+
|
77
|
+
</ul>
|
78
|
+
</nav>
|
79
|
+
|
80
|
+
</div>
|
81
|
+
|
82
|
+
<div id="project-metadata">
|
83
|
+
<nav id="fileindex-section" class="section project-section">
|
84
|
+
<h3 class="section-header">Pages</h3>
|
85
|
+
|
86
|
+
<ul>
|
87
|
+
|
88
|
+
<li class="file"><a href="./README_rdoc.html">README</a>
|
89
|
+
|
90
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a>
|
91
|
+
|
92
|
+
</ul>
|
93
|
+
</nav>
|
94
|
+
|
95
|
+
<nav id="classindex-section" class="section project-section">
|
96
|
+
<h3 class="section-header">Class and Module Index</h3>
|
97
|
+
|
98
|
+
<ul class="link-list">
|
99
|
+
|
100
|
+
<li><a href="./Backup.html">Backup</a>
|
101
|
+
|
102
|
+
<li><a href="./Backup/CronEdit.html">Backup::CronEdit</a>
|
103
|
+
|
104
|
+
<li><a href="./Backup/Environment.html">Backup::Environment</a>
|
105
|
+
|
106
|
+
<li><a href="./Backup/FileBackup.html">Backup::FileBackup</a>
|
107
|
+
|
108
|
+
<li><a href="./Backup/MySQLBackup.html">Backup::MySQLBackup</a>
|
109
|
+
|
110
|
+
<li><a href="./Backup/Options.html">Backup::Options</a>
|
111
|
+
|
112
|
+
<li><a href="./Backup/Process.html">Backup::Process</a>
|
113
|
+
|
114
|
+
<li><a href="./Backup/Runner.html">Backup::Runner</a>
|
115
|
+
|
116
|
+
<li><a href="./TestCronEdit.html">TestCronEdit</a>
|
117
|
+
|
118
|
+
<li><a href="./TestEnvironment.html">TestEnvironment</a>
|
119
|
+
|
120
|
+
<li><a href="./TestFileBackup.html">TestFileBackup</a>
|
121
|
+
|
122
|
+
<li><a href="./TestMySQLBackup.html">TestMySQLBackup</a>
|
123
|
+
|
124
|
+
<li><a href="./TestOptions.html">TestOptions</a>
|
125
|
+
|
126
|
+
<li><a href="./TestProcess.html">TestProcess</a>
|
127
|
+
|
128
|
+
</ul>
|
129
|
+
</nav>
|
130
|
+
|
131
|
+
</div>
|
132
|
+
</nav>
|
133
|
+
|
134
|
+
<div id="documentation">
|
135
|
+
<h1 class="class">class TestFileBackup</h1>
|
136
|
+
|
137
|
+
<div id="description" class="description">
|
138
|
+
|
139
|
+
<p>Tests the FileBackup class.</p>
|
140
|
+
|
141
|
+
</div><!-- description -->
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
<!-- Methods -->
|
156
|
+
|
157
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
158
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
159
|
+
|
160
|
+
|
161
|
+
<div id="method-i-setup" class="method-detail ">
|
162
|
+
|
163
|
+
<div class="method-heading">
|
164
|
+
<span class="method-name">setup</span><span
|
165
|
+
class="method-args">()</span>
|
166
|
+
<span class="method-click-advice">click to toggle source</span>
|
167
|
+
</div>
|
168
|
+
|
169
|
+
|
170
|
+
<div class="method-description">
|
171
|
+
|
172
|
+
<p>Create files to be backed up</p>
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
<div class="method-source-code" id="setup-source">
|
177
|
+
<pre><span class="ruby-comment"># File test/test_file_backup.rb, line 43</span>
|
178
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">setup</span>
|
179
|
+
[<span class="ruby-string">"file1"</span>, <span class="ruby-string">"file2"</span>, <span class="ruby-string">"file3"</span>].<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">touch</span> <span class="ruby-identifier">f</span>}
|
180
|
+
<span class="ruby-keyword">end</span></pre>
|
181
|
+
</div><!-- setup-source -->
|
182
|
+
|
183
|
+
</div>
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
</div><!-- setup-method -->
|
189
|
+
|
190
|
+
|
191
|
+
<div id="method-i-teardown" class="method-detail ">
|
192
|
+
|
193
|
+
<div class="method-heading">
|
194
|
+
<span class="method-name">teardown</span><span
|
195
|
+
class="method-args">()</span>
|
196
|
+
<span class="method-click-advice">click to toggle source</span>
|
197
|
+
</div>
|
198
|
+
|
199
|
+
|
200
|
+
<div class="method-description">
|
201
|
+
|
202
|
+
<p>Remove files previously created with setup and all created files and
|
203
|
+
directories during processing backups</p>
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
<div class="method-source-code" id="teardown-source">
|
208
|
+
<pre><span class="ruby-comment"># File test/test_file_backup.rb, line 49</span>
|
209
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">teardown</span>
|
210
|
+
[<span class="ruby-string">"file1"</span>, <span class="ruby-string">"file2"</span>, <span class="ruby-string">"file3"</span>].<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">rm</span> <span class="ruby-identifier">f</span>}
|
211
|
+
<span class="ruby-constant">Dir</span>[<span class="ruby-string">"test/backup/file*"</span>].<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">rm</span> <span class="ruby-identifier">f</span>}
|
212
|
+
<span class="ruby-constant">Dir</span>[<span class="ruby-string">"test/backup/*.tar.gz"</span>].<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">rm</span> <span class="ruby-identifier">f</span>}
|
213
|
+
<span class="ruby-constant">Dir</span>.<span class="ruby-identifier">rmdir</span> <span class="ruby-string">"test/backup"</span> <span class="ruby-keyword">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span> <span class="ruby-string">"test/backup"</span>
|
214
|
+
<span class="ruby-keyword">end</span></pre>
|
215
|
+
</div><!-- teardown-source -->
|
216
|
+
|
217
|
+
</div>
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
</div><!-- teardown-method -->
|
223
|
+
|
224
|
+
|
225
|
+
</section><!-- public-instance-method-details -->
|
226
|
+
|
227
|
+
</section><!-- 5Buntitled-5D -->
|
228
|
+
|
229
|
+
</div><!-- documentation -->
|
230
|
+
|
231
|
+
|
232
|
+
<footer id="validator-badges">
|
233
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
234
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
235
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
236
|
+
</footer>
|
237
|
+
|
@@ -0,0 +1,167 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>class TestMySQLBackup - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "./";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" class="class">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="./index.html">Home</a>
|
28
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="file-metadata">
|
47
|
+
<nav id="file-list-section" class="section">
|
48
|
+
<h3 class="section-header">Defined In</h3>
|
49
|
+
<ul>
|
50
|
+
<li>test/test_mysql_backup.rb
|
51
|
+
</ul>
|
52
|
+
</nav>
|
53
|
+
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
<nav id="parent-class-section" class="section">
|
60
|
+
<h3 class="section-header">Parent</h3>
|
61
|
+
|
62
|
+
<p class="link">Test::Unit::TestCase
|
63
|
+
|
64
|
+
</nav>
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
</div>
|
69
|
+
|
70
|
+
<div id="project-metadata">
|
71
|
+
<nav id="fileindex-section" class="section project-section">
|
72
|
+
<h3 class="section-header">Pages</h3>
|
73
|
+
|
74
|
+
<ul>
|
75
|
+
|
76
|
+
<li class="file"><a href="./README_rdoc.html">README</a>
|
77
|
+
|
78
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a>
|
79
|
+
|
80
|
+
</ul>
|
81
|
+
</nav>
|
82
|
+
|
83
|
+
<nav id="classindex-section" class="section project-section">
|
84
|
+
<h3 class="section-header">Class and Module Index</h3>
|
85
|
+
|
86
|
+
<ul class="link-list">
|
87
|
+
|
88
|
+
<li><a href="./Backup.html">Backup</a>
|
89
|
+
|
90
|
+
<li><a href="./Backup/CronEdit.html">Backup::CronEdit</a>
|
91
|
+
|
92
|
+
<li><a href="./Backup/Environment.html">Backup::Environment</a>
|
93
|
+
|
94
|
+
<li><a href="./Backup/FileBackup.html">Backup::FileBackup</a>
|
95
|
+
|
96
|
+
<li><a href="./Backup/MySQLBackup.html">Backup::MySQLBackup</a>
|
97
|
+
|
98
|
+
<li><a href="./Backup/Options.html">Backup::Options</a>
|
99
|
+
|
100
|
+
<li><a href="./Backup/Process.html">Backup::Process</a>
|
101
|
+
|
102
|
+
<li><a href="./Backup/Runner.html">Backup::Runner</a>
|
103
|
+
|
104
|
+
<li><a href="./TestCronEdit.html">TestCronEdit</a>
|
105
|
+
|
106
|
+
<li><a href="./TestEnvironment.html">TestEnvironment</a>
|
107
|
+
|
108
|
+
<li><a href="./TestFileBackup.html">TestFileBackup</a>
|
109
|
+
|
110
|
+
<li><a href="./TestMySQLBackup.html">TestMySQLBackup</a>
|
111
|
+
|
112
|
+
<li><a href="./TestOptions.html">TestOptions</a>
|
113
|
+
|
114
|
+
<li><a href="./TestProcess.html">TestProcess</a>
|
115
|
+
|
116
|
+
</ul>
|
117
|
+
</nav>
|
118
|
+
|
119
|
+
</div>
|
120
|
+
</nav>
|
121
|
+
|
122
|
+
<div id="documentation">
|
123
|
+
<h1 class="class">class TestMySQLBackup</h1>
|
124
|
+
|
125
|
+
<div id="description" class="description">
|
126
|
+
|
127
|
+
<p>Tests for MySQLBackup class.</p>
|
128
|
+
|
129
|
+
<p>Expects a running MySQL database server with following data</p>
|
130
|
+
<dl class="rdoc-list note-list"><dt>table
|
131
|
+
<dd>
|
132
|
+
<p>test</p>
|
133
|
+
</dd><dt>user
|
134
|
+
<dd>
|
135
|
+
<p>user</p>
|
136
|
+
</dd><dt>password
|
137
|
+
<dd>
|
138
|
+
<p>pass</p>
|
139
|
+
</dd></dl>
|
140
|
+
|
141
|
+
</div><!-- description -->
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
<!-- Methods -->
|
156
|
+
|
157
|
+
</section><!-- 5Buntitled-5D -->
|
158
|
+
|
159
|
+
</div><!-- documentation -->
|
160
|
+
|
161
|
+
|
162
|
+
<footer id="validator-badges">
|
163
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
164
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
165
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
166
|
+
</footer>
|
167
|
+
|