rwdschedule 0.9 → 0.91
Sign up to get free protection for your applications and to get access to all the features.
- data/Readme.txt +268 -125
- data/code/{ag1core → 00rwdtinkercore}/aa0begin.rb +0 -0
- data/code/{ag1core → 00rwdtinkercore}/rwdtinkerversion.rb +0 -0
- data/code/{gh9calendar → superant.com.rwdcalendar}/gh9calendar.rb +0 -0
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/diagnostictab.rb +0 -0
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/installapplet.rb +3 -2
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/listinstalledfiles.rb +0 -0
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/listzips.rb +5 -3
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb +32 -0
- data/code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb +13 -0
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/openappletname.rb +0 -0
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/removeapplet.rb +0 -0
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/rwdtinkerwin2version.rb +0 -0
- data/code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb +18 -0
- data/code/{xa5rwdtinkercallable → superant.com.rwdtinkercallable}/callable.rb +0 -0
- data/code/{gg0schedules → superantc.com.schedule}/cleareventscreendisplay.rb +0 -0
- data/code/{gg0schedules → superantc.com.schedule}/deleteeventrecord.rb +0 -0
- data/code/{gg0schedules → superantc.com.schedule}/downloadrwdschedulefiles.rb +0 -0
- data/code/{gg0schedules → superantc.com.schedule}/listeventdates.rb +0 -0
- data/code/{gg0schedules → superantc.com.schedule}/loadeventrecord.rb +0 -0
- data/code/{gg0schedules → superantc.com.schedule}/renameeventdata.rb +0 -0
- data/code/{gg0schedules → superantc.com.schedule}/runrwdschedulesyncbackwindow.rb +0 -0
- data/code/{gg0schedules → superantc.com.schedule}/rwdschedulehelpabout.rb +0 -0
- data/code/{gg0schedules → superantc.com.schedule}/saveeventrecord.rb +0 -0
- data/code/{gg0schedules → superantc.com.schedule}/syncrwdschedule.rb +0 -0
- data/code/{gg0schedules → superantc.com.schedule}/uploadrwdschedulefiles.rb +0 -0
- data/code/{gg0schedules → superantc.com.schedule}/viewevent.rb +0 -0
- data/code/{gg0schedules → superantc.com.schedule}/viewrwdschedulesconfiguration.rb +0 -0
- data/configuration/rwdplayscriptsversion.cnf +2 -0
- data/configuration/rwdscheduleversion.cnf +1 -1
- data/configuration/rwdtinker.cnf +7 -7
- data/configuration/rwdtinkerversion.cnf +1 -1
- data/configuration/tinkerwin2variables.cnf +8 -0
- data/configuration/tinkerwin2version.cnf +1 -1
- data/gui/{aa2core/aa0rwdtop.rwd → 00coreguibegin/applicationguitop.rwd} +0 -0
- data/gui/{gg0schedules → frontwindow0/superant.com.rwdschedules}/gg0viewevent.rwd +0 -0
- data/gui/{gg0schedules → frontwindow0/superant.com.rwdschedules}/gl6editrecord.rwd +0 -0
- data/gui/{gg0schedules → frontwindow0/superant.com.rwdschedules}/gl8contactutilities.rwd +0 -0
- data/gui/{hl9calendar → frontwindow0/superant.com.tinkercalendar}/hl9calendar.rwd +0 -0
- data/gui/{ll1selectiontabbegin → frontwindowselectionbegin/selectiontabbegin}/selectiontabbegin.rwd +0 -0
- data/gui/{ll6rwdschedulesyncselectiontab → frontwindowselections/superant.com.rwdscheduleselectiontab}/rwdschedulessyncselectiontab.rwd +0 -0
- data/gui/{ll5rwdtinkerwin2selectiontab → frontwindowselections/superant.com.rwdtinkerwin2selectiontab}/rwdwin2selectiontab.rwd +0 -0
- data/gui/{lz1selectiontabend/endselectiontab.rwd → frontwindowselectionzend/viewselectionzend/viewselectionend.rwd} +0 -0
- data/gui/{tt0documentsbegin → frontwindowtdocumentbegin/superant.com.documentsbegin}/tt0documentbegin.rwd +0 -0
- data/gui/{uu5rwddocuments → frontwindowtdocuments/superant.com.documents}/uu5documents.rwd +0 -0
- data/gui/{uu8schedule → frontwindowtdocuments/superant.com.rwdscheduledocument}/uu8doc_rwdschedule.rwd +0 -0
- data/gui/{uu6rwdtinkerwin2documents → frontwindowtdocuments/superant.com.tinkerwin2documents}/uu5documents.rwd +0 -0
- data/gui/{ww0documentsend → frontwindowtdocumentzend/superant.com.documentsend}/ww0documentend.rwd +0 -0
- data/gui/{wz6finaltabs → frontwindowz1end/frontwindowend}/xx0rwdfirsttab.rwd +0 -0
- data/gui/{ya1helpaboutbegin → helpaboutbegin/superant.com.helpaboutbegin}/ya0helpscreenstart.rwd +0 -0
- data/gui/{yg6rwdwin2helpabout → helpaboutinstalled/superant.com.rwdwin2helpabout}/1appname.rwd +0 -0
- data/gui/{yg5rwdhelpabout → helpaboutinstalled/superant.com.rwdwin2helpabout}/3copyright.rwd +0 -0
- data/gui/{yg6rwdwin2helpabout → helpaboutinstalled/superant.com.rwdwin2helpabout}/5version.rwd +0 -0
- data/gui/{yh1helpschedule → helpaboutinstalled/superant.com.schedulehelpabout}/1rwdschedule.rwd +0 -0
- data/gui/{yh1helpschedule → helpaboutinstalled/superant.com.schedulehelpabout}/5version.rwd +0 -0
- data/gui/{yg5rwdhelpabout → helpaboutinstalled/superant.com.tinkerhelpabout}/1appname.rwd +0 -0
- data/gui/{yg6rwdwin2helpabout → helpaboutinstalled/superant.com.tinkerhelpabout}/3copyright.rwd +0 -0
- data/gui/{yg5rwdhelpabout → helpaboutinstalled/superant.com.tinkerhelpabout}/5version.rwd +0 -0
- data/gui/{yy5helpaboutend → helpaboutzend/superant.com.helpaboutend}/helpscreenend.rwd +0 -0
- data/gui/{xb4rwdschedulesyncbackwindow → tinkerbackwindows/superant.com.rwdschedulebackwindow}/1appname.rwd +0 -0
- data/gui/{xb4rwdschedulesyncbackwindow → tinkerbackwindows/superant.com.rwdschedulebackwindow}/20downloadftp.rwd +1 -1
- data/gui/{xb4rwdschedulesyncbackwindow → tinkerbackwindows/superant.com.rwdschedulebackwindow}/66viewconfiguration.rwd +0 -0
- data/gui/{xb4rwdschedulesyncbackwindow → tinkerbackwindows/superant.com.rwdschedulebackwindow}/70rwddiagnostics.rwd +0 -0
- data/gui/{xb4rwdschedulesyncbackwindow → tinkerbackwindows/superant.com.rwdschedulebackwindow}/80returntab.rwd +0 -0
- data/gui/{xb4rwdschedulesyncbackwindow → tinkerbackwindows/superant.com.rwdschedulebackwindow}/zvbackend.rwd +0 -0
- data/gui/{xa5rwdtinkercallablewindow → tinkerbackwindows/superant.com.tinercallablewindow}/1appname.rwd +0 -0
- data/gui/{xa5rwdtinkercallablewindow → tinkerbackwindows/superant.com.tinercallablewindow}/9end.rwd +0 -0
- data/gui/{xb1rwdtinkerbackwindow → tinkerbackwindows/superant.com.tinkerbackwindow}/1appname.rwd +0 -0
- data/gui/{xb1rwdtinkerbackwindow → tinkerbackwindows/superant.com.tinkerbackwindow}/3arwddiagnostics.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40editconfiguration.rwd +36 -0
- data/gui/{xb1rwdtinkerbackwindow/4arwdlistapplets.rwd → tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd} +0 -0
- data/gui/{xb1rwdtinkerbackwindow/4arwdlistzips.rwd → tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistzips.rwd} +0 -0
- data/gui/{xb1rwdtinkerbackwindow/2tab1.rwd → tinkerbackwindows/superant.com.tinkerbackwindow/80tab1.rwd} +0 -0
- data/gui/{xb1rwdtinkerbackwindow → tinkerbackwindows/superant.com.tinkerbackwindow}/9backend.rwd +0 -0
- data/gui/{xa1versionwindow → tinkerbackwindows/superant.com.versionwindow}/1appname.rwd +0 -0
- data/gui/{za1applicationend → zzcoreguiend/tinkerapplicationguiend}/yy9rwdend.rwd +0 -0
- data/init.rb +6 -6
- data/lang/templangfile.rb +1 -7
- data/lang/xlocallangfile.rb +1 -7
- data/rwd_files/HowTo_Schedule.txt +5 -1
- data/rwd_files/HowTo_Tinker.txt +50 -24
- data/rwd_files/tinker.png +0 -0
- data/zips/rwdahelloworld-0.5.zip +0 -0
- metadata +94 -75
- data/configuration/tinkerwin2.cnf +0 -3
- data/tests/rwdtinkertestEN.rb +0 -163
- data/tests/test.result +0 -32
- data/zips/rwdhelloworld-0.4.zip +0 -0
- data/zips/rwdrefreshacpi-0.4.zip +0 -0
- data/zips/rwdwcalc-0.4.zip +0 -0
- data/zips/rwdwshell-0.92.zip +0 -0
Binary file
|
Binary file
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: rwdschedule
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: "0.
|
7
|
-
date: 2005-01-
|
6
|
+
version: "0.91"
|
7
|
+
date: 2005-01-18
|
8
8
|
summary: rwdschedule is an calendar application using rwdtinker and RubyWebDialogs.
|
9
9
|
require_paths:
|
10
10
|
- "."
|
@@ -27,36 +27,40 @@ platform: ruby
|
|
27
27
|
authors: []
|
28
28
|
files:
|
29
29
|
- lib/temp.rb
|
30
|
-
- code/ag1core/aa0begin.rb
|
31
|
-
- code/ag1core/rwdtinkerversion.rb
|
32
30
|
- code/zz0applicationend/zz0end.rb
|
33
|
-
- code/
|
34
|
-
- code/
|
35
|
-
- code/
|
36
|
-
- code/
|
37
|
-
- code/
|
38
|
-
- code/
|
39
|
-
- code/
|
40
|
-
- code/
|
41
|
-
- code/
|
42
|
-
- code/
|
43
|
-
- code/
|
44
|
-
- code/
|
45
|
-
- code/
|
46
|
-
- code/
|
47
|
-
- code/
|
48
|
-
- code/
|
49
|
-
- code/
|
50
|
-
- code/
|
51
|
-
- code/
|
52
|
-
- code/
|
53
|
-
- code/
|
54
|
-
- code/
|
55
|
-
-
|
31
|
+
- code/superantc.com.schedule/deleteeventrecord.rb
|
32
|
+
- code/superantc.com.schedule/listeventdates.rb
|
33
|
+
- code/superantc.com.schedule/cleareventscreendisplay.rb
|
34
|
+
- code/superantc.com.schedule/downloadrwdschedulefiles.rb
|
35
|
+
- code/superantc.com.schedule/runrwdschedulesyncbackwindow.rb
|
36
|
+
- code/superantc.com.schedule/loadeventrecord.rb
|
37
|
+
- code/superantc.com.schedule/renameeventdata.rb
|
38
|
+
- code/superantc.com.schedule/syncrwdschedule.rb
|
39
|
+
- code/superantc.com.schedule/rwdschedulehelpabout.rb
|
40
|
+
- code/superantc.com.schedule/viewevent.rb
|
41
|
+
- code/superantc.com.schedule/saveeventrecord.rb
|
42
|
+
- code/superantc.com.schedule/uploadrwdschedulefiles.rb
|
43
|
+
- code/superantc.com.schedule/viewrwdschedulesconfiguration.rb
|
44
|
+
- code/superant.com.rwdtinkercallable/callable.rb
|
45
|
+
- code/00rwdtinkercore/aa0begin.rb
|
46
|
+
- code/00rwdtinkercore/rwdtinkerversion.rb
|
47
|
+
- code/superant.com.rwdtinkerbackwindow/openappletname.rb
|
48
|
+
- code/superant.com.rwdtinkerbackwindow/removeapplet.rb
|
49
|
+
- code/superant.com.rwdtinkerbackwindow/installapplet.rb
|
50
|
+
- code/superant.com.rwdtinkerbackwindow/listzips.rb
|
51
|
+
- code/superant.com.rwdtinkerbackwindow/diagnostictab.rb
|
52
|
+
- code/superant.com.rwdtinkerbackwindow/rwdtinkerwin2version.rb
|
53
|
+
- code/superant.com.rwdtinkerbackwindow/listinstalledfiles.rb
|
54
|
+
- code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
|
55
|
+
- code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb
|
56
|
+
- code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb
|
57
|
+
- code/superant.com.rwdcalendar/gh9calendar.rb
|
58
|
+
- configuration/rwdtinker.cnf
|
56
59
|
- configuration/rwdtinkerversion.cnf
|
57
60
|
- configuration/language.cnf
|
58
|
-
- configuration/rwdtinker.cnf
|
59
61
|
- configuration/tinkerwin2version.cnf
|
62
|
+
- configuration/rwdplayscriptsversion.cnf
|
63
|
+
- configuration/tinkerwin2variables.cnf
|
60
64
|
- configuration/rwdcalendar.cnf
|
61
65
|
- configuration/rwdcalendarversion.cnf
|
62
66
|
- configuration/rwdschedule.cnf
|
@@ -88,47 +92,66 @@ files:
|
|
88
92
|
- lang/nl/rwdcore/languagefile.rb
|
89
93
|
- lang/nl/rwdcalendar/calendar-nl.rb
|
90
94
|
- lang/jp/rwdcore/languagefile.rb
|
91
|
-
- gui/
|
92
|
-
- gui/
|
93
|
-
- gui/
|
94
|
-
- gui/
|
95
|
-
- gui/
|
96
|
-
- gui/
|
97
|
-
- gui/
|
98
|
-
- gui/
|
99
|
-
- gui/
|
100
|
-
- gui/
|
101
|
-
- gui/
|
102
|
-
- gui/
|
103
|
-
- gui/
|
104
|
-
- gui/
|
105
|
-
- gui/
|
106
|
-
- gui/
|
107
|
-
- gui/
|
108
|
-
- gui/
|
109
|
-
- gui/
|
110
|
-
- gui/
|
111
|
-
- gui/
|
112
|
-
- gui/
|
113
|
-
- gui/
|
114
|
-
- gui/
|
115
|
-
- gui/
|
116
|
-
- gui/
|
117
|
-
- gui/
|
118
|
-
- gui/
|
119
|
-
- gui/
|
120
|
-
- gui/
|
121
|
-
- gui/
|
122
|
-
- gui/
|
123
|
-
- gui/
|
124
|
-
- gui/
|
125
|
-
- gui/
|
126
|
-
- gui/
|
127
|
-
- gui/
|
128
|
-
- gui/
|
129
|
-
- gui/
|
130
|
-
- gui/
|
131
|
-
- gui/
|
95
|
+
- gui/00coreguibegin/applicationguitop.rwd
|
96
|
+
- gui/zzcoreguiend/tinkerapplicationguiend/yy9rwdend.rwd
|
97
|
+
- gui/frontwindow0/superant.com.tinkercalendar
|
98
|
+
- gui/frontwindow0/superant.com.rwdschedules
|
99
|
+
- gui/frontwindow0/superant.com.tinkercalendar/hl9calendar.rwd
|
100
|
+
- gui/frontwindow0/superant.com.rwdschedules/gg0viewevent.rwd
|
101
|
+
- gui/frontwindow0/superant.com.rwdschedules/gl6editrecord.rwd
|
102
|
+
- gui/frontwindow0/superant.com.rwdschedules/gl8contactutilities.rwd
|
103
|
+
- gui/frontwindowz1end/frontwindowend/xx0rwdfirsttab.rwd
|
104
|
+
- gui/helpaboutbegin/superant.com.helpaboutbegin
|
105
|
+
- gui/helpaboutbegin/superant.com.helpaboutbegin/ya0helpscreenstart.rwd
|
106
|
+
- gui/helpaboutinstalled/superant.com.rwdwin2helpabout
|
107
|
+
- gui/helpaboutinstalled/superant.com.tinkerhelpabout
|
108
|
+
- gui/helpaboutinstalled/superant.com.schedulehelpabout
|
109
|
+
- gui/helpaboutinstalled/superant.com.rwdwin2helpabout/1appname.rwd
|
110
|
+
- gui/helpaboutinstalled/superant.com.rwdwin2helpabout/3copyright.rwd
|
111
|
+
- gui/helpaboutinstalled/superant.com.rwdwin2helpabout/5version.rwd
|
112
|
+
- gui/helpaboutinstalled/superant.com.tinkerhelpabout/1appname.rwd
|
113
|
+
- gui/helpaboutinstalled/superant.com.tinkerhelpabout/3copyright.rwd
|
114
|
+
- gui/helpaboutinstalled/superant.com.tinkerhelpabout/5version.rwd
|
115
|
+
- gui/helpaboutinstalled/superant.com.schedulehelpabout/1rwdschedule.rwd
|
116
|
+
- gui/helpaboutinstalled/superant.com.schedulehelpabout/5version.rwd
|
117
|
+
- gui/frontwindowtdocuments/superant.com.documents
|
118
|
+
- gui/frontwindowtdocuments/superant.com.tinkerwin2documents
|
119
|
+
- gui/frontwindowtdocuments/superant.com.rwdscheduledocument
|
120
|
+
- gui/frontwindowtdocuments/superant.com.documents/uu5documents.rwd
|
121
|
+
- gui/frontwindowtdocuments/superant.com.tinkerwin2documents/uu5documents.rwd
|
122
|
+
- gui/frontwindowtdocuments/superant.com.rwdscheduledocument/uu8doc_rwdschedule.rwd
|
123
|
+
- gui/helpaboutzend/superant.com.helpaboutend
|
124
|
+
- gui/helpaboutzend/superant.com.helpaboutend/helpscreenend.rwd
|
125
|
+
- gui/tinkerbackwindows/superant.com.versionwindow
|
126
|
+
- gui/tinkerbackwindows/superant.com.tinercallablewindow
|
127
|
+
- gui/tinkerbackwindows/superant.com.tinkerbackwindow
|
128
|
+
- gui/tinkerbackwindows/superant.com.rwdschedulebackwindow
|
129
|
+
- gui/tinkerbackwindows/superant.com.versionwindow/1appname.rwd
|
130
|
+
- gui/tinkerbackwindows/superant.com.tinercallablewindow/1appname.rwd
|
131
|
+
- gui/tinkerbackwindows/superant.com.tinercallablewindow/9end.rwd
|
132
|
+
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/1appname.rwd
|
133
|
+
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd
|
134
|
+
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/3arwddiagnostics.rwd
|
135
|
+
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd
|
136
|
+
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/80tab1.rwd
|
137
|
+
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistzips.rwd
|
138
|
+
- gui/tinkerbackwindows/superant.com.tinkerbackwindow/40editconfiguration.rwd
|
139
|
+
- gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/1appname.rwd
|
140
|
+
- gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/70rwddiagnostics.rwd
|
141
|
+
- gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/20downloadftp.rwd
|
142
|
+
- gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/80returntab.rwd
|
143
|
+
- gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/zvbackend.rwd
|
144
|
+
- gui/tinkerbackwindows/superant.com.rwdschedulebackwindow/66viewconfiguration.rwd
|
145
|
+
- gui/frontwindowtdocumentzend/superant.com.documentsend
|
146
|
+
- gui/frontwindowtdocumentzend/superant.com.documentsend/ww0documentend.rwd
|
147
|
+
- gui/frontwindowselectionzend/viewselectionzend/viewselectionend.rwd
|
148
|
+
- gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab
|
149
|
+
- gui/frontwindowselections/superant.com.rwdscheduleselectiontab
|
150
|
+
- gui/frontwindowselections/superant.com.rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd
|
151
|
+
- gui/frontwindowselections/superant.com.rwdscheduleselectiontab/rwdschedulessyncselectiontab.rwd
|
152
|
+
- gui/frontwindowselectionbegin/selectiontabbegin/selectiontabbegin.rwd
|
153
|
+
- gui/frontwindowtdocumentbegin/superant.com.documentsbegin
|
154
|
+
- gui/frontwindowtdocumentbegin/superant.com.documentsbegin/tt0documentbegin.rwd
|
132
155
|
- installed/rwdtinkerwin2-0.5.inf
|
133
156
|
- installed/rwdcalendar-0.5.inf
|
134
157
|
- installed/schedulesampledata1.inf
|
@@ -137,16 +160,12 @@ files:
|
|
137
160
|
- rwd_files/rwdindex.html
|
138
161
|
- rwd_files/favicon.ico
|
139
162
|
- rwd_files/HowTo_Tinker.txt
|
163
|
+
- rwd_files/tinker.png
|
140
164
|
- rwd_files/rdoc-style.css
|
141
165
|
- rwd_files/HowTo_TinkerWin2.txt
|
142
166
|
- rwd_files/HowTo_Schedule.txt
|
143
|
-
- zips/
|
144
|
-
- zips/rwdwcalc-0.4.zip
|
145
|
-
- zips/rwdwshell-0.92.zip
|
146
|
-
- zips/rwdhelloworld-0.4.zip
|
167
|
+
- zips/rwdahelloworld-0.5.zip
|
147
168
|
- tests/totranslate.lang
|
148
|
-
- tests/rwdtinkertestEN.rb
|
149
|
-
- tests/test.result
|
150
169
|
- Readme.txt
|
151
170
|
- init.rb
|
152
171
|
test_files: []
|
data/tests/rwdtinkertestEN.rb
DELETED
@@ -1,163 +0,0 @@
|
|
1
|
-
#-------------------------------------------------------------------------------------------------------------#
|
2
|
-
# test with the WATIR controller
|
3
|
-
#
|
4
|
-
# Simple test based on Google/watir demo
|
5
|
-
#
|
6
|
-
#------------------------------------------------------------------------------------------------------------ #
|
7
|
-
|
8
|
-
#includes
|
9
|
-
require '../watir' # the controller
|
10
|
-
|
11
|
-
#test::unit includes
|
12
|
-
require 'test/unit'
|
13
|
-
require 'test/unit/ui/console/testrunner'
|
14
|
-
require '../unittests/testUnitAddons'
|
15
|
-
|
16
|
-
#code to set your current path in Windows
|
17
|
-
$myDir = File.dirname(__FILE__)
|
18
|
-
$LOAD_PATH << $myDir
|
19
|
-
|
20
|
-
class TC_rwdtinker_suite < Test::Unit::TestCase
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
def test_a_Open1
|
25
|
-
#--------------------------------------------------------
|
26
|
-
# test case that shows basic WATIR functionality:
|
27
|
-
# * enter text in a field
|
28
|
-
# * click a button
|
29
|
-
#
|
30
|
-
|
31
|
-
#variables
|
32
|
-
testSite = 'http://localhost:7705'
|
33
|
-
|
34
|
-
#open the IE browser
|
35
|
-
$ie = IE.new
|
36
|
-
|
37
|
-
puts '## Beginning of test: rwdtinker'
|
38
|
-
puts ' '
|
39
|
-
|
40
|
-
|
41
|
-
$ie.goto(testSite)
|
42
|
-
puts ' Action: entered ' + testSite + 'in the address bar.'
|
43
|
-
sleep 1
|
44
|
-
|
45
|
-
$ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_help";document.bodyform.submit();').click
|
46
|
-
|
47
|
-
$ie.button(:caption, 'Click for Version').click
|
48
|
-
|
49
|
-
$ie.button(:caption, 'Cancel').click
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
sleep 1
|
54
|
-
$ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_selectiontab";document.bodyform.submit();').click
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
$ie.button(:caption, 'RwdTinker Help Window').click
|
59
|
-
puts ' Action: clicked the Help Window link'
|
60
|
-
|
61
|
-
end
|
62
|
-
|
63
|
-
def test_b_Buttons1
|
64
|
-
|
65
|
-
|
66
|
-
sleep 1
|
67
|
-
$ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_nexttab";document.bodyform.submit();').click
|
68
|
-
puts ' Action: clicked the nexttab link'
|
69
|
-
|
70
|
-
|
71
|
-
$ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_main";document.bodyform.submit();').click
|
72
|
-
puts ' Action: clicked the main tab link'
|
73
|
-
|
74
|
-
|
75
|
-
$ie.button(:caption, "Cancel").click
|
76
|
-
puts ' Action: clicked the cancel button'
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
end
|
81
|
-
|
82
|
-
def test_c_tabs
|
83
|
-
|
84
|
-
$ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_one";document.bodyform.submit();').click
|
85
|
-
puts ' Action: clicked tab one'
|
86
|
-
|
87
|
-
|
88
|
-
end
|
89
|
-
|
90
|
-
def test_d_tabs
|
91
|
-
|
92
|
-
$ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_selectiontab";document.bodyform.submit();').click
|
93
|
-
puts ' Action: clicked the selectiontab'
|
94
|
-
|
95
|
-
|
96
|
-
$ie.button(:caption, 'RwdTinker Back Window').click
|
97
|
-
puts ' Action: clicked the Help Window link'
|
98
|
-
|
99
|
-
$ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_backone";document.bodyform.submit();').click
|
100
|
-
puts ' Action: clicked the backone tab'
|
101
|
-
|
102
|
-
|
103
|
-
assert($ie.pageContainsText("previous window") )
|
104
|
-
|
105
|
-
$ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_diagnostictab";document.bodyform.submit();').click
|
106
|
-
puts ' Action: clicked the diagnostictab top link'
|
107
|
-
|
108
|
-
|
109
|
-
$ie.button(:caption, "View Ruby Version").click
|
110
|
-
puts ' Action: clicked Ruby Version button.'
|
111
|
-
|
112
|
-
assert($ie.pageContainsText("Version") )
|
113
|
-
|
114
|
-
$ie.button(:caption, "view platform").click
|
115
|
-
puts ' Action: clicked platform button.'
|
116
|
-
|
117
|
-
assert($ie.pageContainsText("Platform is") )
|
118
|
-
|
119
|
-
$ie.button(:caption, "View rwdtinker Version").click
|
120
|
-
puts ' Action: clicked rwdtinker version button.'
|
121
|
-
|
122
|
-
assert($ie.pageContainsText("rwdtinker version") )
|
123
|
-
|
124
|
-
end # end of test_d
|
125
|
-
|
126
|
-
def test_e_tabs
|
127
|
-
|
128
|
-
|
129
|
-
$ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_filelister";document.bodyform.submit();').click
|
130
|
-
|
131
|
-
|
132
|
-
assert($ie.pageContainsText("View the list") )
|
133
|
-
|
134
|
-
$ie.button(:caption, "List Files").click
|
135
|
-
puts ' Action: clicked the list files button.'
|
136
|
-
|
137
|
-
$ie.link(:url, 'javascript:document.bodyform.rwd_action.value="fillappletname/rwdviewlogo-0.4.inf";document.bodyform.submit();').click
|
138
|
-
|
139
|
-
|
140
|
-
$ie.button(:caption, "View Install Text").click
|
141
|
-
puts ' Action: clicked the View Install Text button.'
|
142
|
-
|
143
|
-
assert($ie.pageContainsText("rwdviewlogo") )
|
144
|
-
|
145
|
-
|
146
|
-
end
|
147
|
-
|
148
|
-
def test_f_tabs
|
149
|
-
|
150
|
-
$ie.link(:url, 'javascript:document.bodyform.rwd_action.value="rwd_tab_zipslister";document.bodyform.submit();').click
|
151
|
-
|
152
|
-
assert($ie.pageContainsText("File Name") )
|
153
|
-
|
154
|
-
assert($ie.pageContainsText("view the list of zip files") )
|
155
|
-
|
156
|
-
$ie.button(:caption, "List applets available for installing").click
|
157
|
-
puts ' Action: clicked the List applets available for installing button.'
|
158
|
-
|
159
|
-
$ie.link(:url, 'javascript:document.bodyform.rwd_action.value="fillziptoinstallname/rwdhelloworld-0.3.zip";document.bodyform.submit();').click
|
160
|
-
|
161
|
-
end
|
162
|
-
|
163
|
-
end #end of class TC_google_suite
|
data/tests/test.result
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
Loaded suite C:/ruby/sample/watir/examples/rwdtinkertestEN
|
2
|
-
Started
|
3
|
-
## Beginning of test: rwdtinker
|
4
|
-
|
5
|
-
Action: entered http://localhost:7705in the address bar.
|
6
|
-
Action: clicked the Help Window link
|
7
|
-
Action: clicked the nexttab link
|
8
|
-
Action: clicked the main tab link
|
9
|
-
Action: clicked the cancel button
|
10
|
-
Action: clicked tab one
|
11
|
-
Action: clicked the selectiontab
|
12
|
-
Action: clicked the Help Window link
|
13
|
-
Action: clicked the backone tab
|
14
|
-
pageContainsText: Looking for: previous window (string) - found it ok
|
15
|
-
Action: clicked the diagnostictab top link
|
16
|
-
Action: clicked Ruby Version button.
|
17
|
-
pageContainsText: Looking for: Version (string) - found it ok
|
18
|
-
Action: clicked platform button.
|
19
|
-
pageContainsText: Looking for: Platform is (string) - found it ok
|
20
|
-
Action: clicked rwdtinker version button.
|
21
|
-
pageContainsText: Looking for: rwdtinker version (string) - found it ok
|
22
|
-
pageContainsText: Looking for: View the list (string) - found it ok
|
23
|
-
Action: clicked the list files button.
|
24
|
-
Action: clicked the View Install Text button.
|
25
|
-
pageContainsText: Looking for: rwdviewlogo (string) - found it ok
|
26
|
-
pageContainsText: Looking for: File Name (string) - found it ok
|
27
|
-
pageContainsText: Looking for: view the list of zip files (string) - found it ok
|
28
|
-
Action: clicked the List applets available for installing button.
|
29
|
-
|
30
|
-
Finished in 32.716 seconds.
|
31
|
-
|
32
|
-
6 tests, 8 assertions, 0 failures, 0 errors
|
data/zips/rwdhelloworld-0.4.zip
DELETED
Binary file
|
data/zips/rwdrefreshacpi-0.4.zip
DELETED
Binary file
|
data/zips/rwdwcalc-0.4.zip
DELETED
Binary file
|
data/zips/rwdwshell-0.92.zip
DELETED
Binary file
|