rwdshell 0.94 → 0.95

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. data/Readme.txt +8 -0
  2. data/code/{ag1core/aa0begin.rb → 01rwdcore/01rwdcore.rb} +2 -0
  3. data/code/01rwdcore/02helptexthashbegin.rb +4 -0
  4. data/code/01rwdcore/03helptexthash.rb +31 -0
  5. data/code/01rwdcore/04helptextend.rb +6 -0
  6. data/code/01rwdcore/openhelpwindow.rb +31 -0
  7. data/code/01rwdcore/returntomain.rb +10 -0
  8. data/code/01rwdcore/rwdwindowreturn.rb +11 -0
  9. data/code/superant.com.rwdshell/helptexthashrubyslippers.rb +81 -0
  10. data/code/superant.com.rwdshell/listrubyscripts.rb +13 -0
  11. data/code/superant.com.rwdshell/loadconfigurationrecord.rb +33 -0
  12. data/code/superant.com.rwdshell/loadconfigurationvariables.rb +13 -0
  13. data/code/superant.com.rwdshell/openhelpwindowrubyslippers.rb +50 -0
  14. data/code/superant.com.rwdshell/playrubyscript.rb +22 -0
  15. data/code/superant.com.rwdshell/returntomain.rb +10 -0
  16. data/code/superant.com.rwdshell/runrwdshellbackwindow.rb +10 -0
  17. data/code/superant.com.rwdshell/runrwdshellmenu1.rb +57 -0
  18. data/code/superant.com.rwdshell/saveconfigurationrecord.rb +18 -0
  19. data/code/superant.com.rwdshell/viewrubyscript.rb +18 -0
  20. data/code/superant.com.rwdtinkerbackwindow/controlclient.rb +100 -0
  21. data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +37 -0
  22. data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/installapplet.rb +8 -8
  23. data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +21 -0
  24. data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +54 -0
  25. data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/loadconfigurationrecord.rb +1 -1
  26. data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/loadconfigurationvariables.rb +1 -1
  27. data/code/superant.com.rwdtinkerbackwindow/network.rb +87 -0
  28. data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +39 -0
  29. data/code/{xa5rwdtinkercallable/callable.rb → superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb} +2 -3
  30. data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +21 -0
  31. data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +21 -0
  32. data/configuration/rwdapplicationidentity.cnf +3 -0
  33. data/configuration/rwdshellversion.cnf +1 -1
  34. data/configuration/rwdtinker.cnf +6 -2
  35. data/configuration/rwdtinkerversion.cnf +1 -1
  36. data/configuration/tinkerwin2variables.cnf +3 -3
  37. data/configuration/tinkerwin2version.cnf +1 -1
  38. data/ev/rwd.rb +4 -3
  39. data/gui/00coreguibegin/applicationguitop.rwd +1 -1
  40. data/gui/frontwindowselectionbegin/selectiontabbegin/selectiontabbegin.rwd +1 -1
  41. data/gui/frontwindowselections/superant.com.rwdshellselectiontab/rwdshellbackwindowselectiontab.rwd +12 -0
  42. data/gui/frontwindowtdocumentbegin/superant.com.documentsbegin/tt0documentbegin.rwd +1 -1
  43. data/gui/frontwindowtdocumentzend/superant.com.documentsend/ww0documentend.rwd +5 -0
  44. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/1appname.rwd +5 -0
  45. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/44listplayscripts.rwd +19 -0
  46. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/45listscripts.rwd +25 -0
  47. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/46editscriptrecord.rwd +30 -0
  48. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/92viewconfiguration.rwd +38 -0
  49. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/v9returntab.rwd +11 -0
  50. data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/zbackend.rwd +6 -0
  51. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +43 -0
  52. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +1 -1
  53. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +38 -0
  54. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +33 -0
  55. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdcontrol.rwd +33 -0
  56. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/80tab1.rwd +1 -1
  57. data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +31 -0
  58. data/init.rb +38 -2
  59. data/lang/templangfile.rb +15 -15
  60. data/lang/xlocallangfile.rb +15 -15
  61. data/rwd_files/HowTo_Shell.txt +8 -0
  62. data/rwd_files/HowTo_Tinker.txt +56 -7
  63. data/scripts/test02.rb +2 -0
  64. data/zips/rwdwcalc-0.50.zip +0 -0
  65. metadata +86 -50
  66. data/gui/tinkerbackwindows/superant.com.tinercallablewindow/1appname.rwd +0 -17
  67. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40editconfiguration.rwd +0 -36
  68. data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistzips.rwd +0 -35
  69. data/installed/rwdtinkerwin2-0.5.inf +0 -8
  70. data/installed/rwdviewlogo-0.4.inf +0 -4
  71. data/tests/rwdtinkertestEN.rb +0 -163
  72. data/tests/test.result +0 -32
  73. data/zips/rwdcalc-0.4.zip +0 -0
  74. /data/code/{ag1core → 01rwdcore}/rwdtinkerversion.rb +0 -0
  75. /data/code/{dd0shelleval → superant.com.rwdshell}/changescriptname.rb +0 -0
  76. /data/code/{dd0shelleval → superant.com.rwdshell}/clearscriptscreendisplay.rb +0 -0
  77. /data/code/{dd0shelleval → superant.com.rwdshell}/deletescriptrecord.rb +0 -0
  78. /data/code/{dd0shelleval → superant.com.rwdshell}/listscripts.rb +0 -0
  79. /data/code/{dd0shelleval → superant.com.rwdshell}/loadscriptrecord.rb +0 -0
  80. /data/code/{dd0shelleval → superant.com.rwdshell}/playscript.rb +0 -0
  81. /data/code/{dd0shelleval → superant.com.rwdshell}/rubyeval.rb +0 -0
  82. /data/code/{dd0shelleval → superant.com.rwdshell}/runrwdshellwindow.rb +0 -0
  83. /data/code/{dd0shelleval → superant.com.rwdshell}/rwdshellversion.rb +0 -0
  84. /data/code/{dd0shelleval → superant.com.rwdshell}/savechangedscript.rb +0 -0
  85. /data/code/{dd0shelleval → superant.com.rwdshell}/shelleval.rb +0 -0
  86. /data/code/{dd0shelleval → superant.com.rwdshell}/viewscript.rb +0 -0
  87. /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/diagnostictab.rb +0 -0
  88. /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/listinstalledfiles.rb +0 -0
  89. /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/listzips.rb +0 -0
  90. /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/openappletname.rb +0 -0
  91. /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/removeapplet.rb +0 -0
  92. /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/rwdtinkerwin2version.rb +0 -0
  93. /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/saveconfigurationrecord.rb +0 -0
  94. /data/gui/tinkerbackwindows/{superant.com.tinkerbackwindow/3arwddiagnostics.rwd → superant.com.rwdshellbackwindow/94rwddiagnostics.rwd} +0 -0
  95. /data/gui/tinkerbackwindows/{superant.com.tinercallablewindow → superant.com.tinkerhelpwindow}/9end.rwd +0 -0
  96. /data/installed/{rwdshell-0.93.inf → rwdshell-0.95.inf} +0 -0
@@ -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/rwdcalc-0.4.zip DELETED
Binary file
File without changes
File without changes