rwdtinker 1.60 → 1.61
Sign up to get free protection for your applications and to get access to all the features.
- data/code/01rwdcore/01rwdcore.rb +4 -2
- data/code/01rwdcore/test_cases.rb +126 -0
- data/code/01rwdcore/test_harness.rb +15 -0
- data/configuration/rwdtinker.dist +2 -2
- data/gui/helpaboutinstalled/superant.com.tinkerhelpabout/3copyright.rwd +1 -1
- data/init.rb +3 -0
- data/rwd_files/HowTo_Tinker.txt +3 -0
- data/rwdconfig.dist +6 -2
- metadata +4 -6
- data/gui/helpaboutinstalled/superant.com.rwdwin2helpabout/1appname.rwd +0 -4
- data/gui/helpaboutinstalled/superant.com.rwdwin2helpabout/3copyright.rwd +0 -3
- data/gui/helpaboutinstalled/superant.com.rwdwin2helpabout/5version.rwd +0 -10
data/code/01rwdcore/01rwdcore.rb
CHANGED
@@ -0,0 +1,126 @@
|
|
1
|
+
# test harness
|
2
|
+
def rwdtinker_all_tests
|
3
|
+
print "in rwdtinker all tests\n"
|
4
|
+
test_runrwdtinkerbackwindow
|
5
|
+
end
|
6
|
+
|
7
|
+
|
8
|
+
def test_runrwdtinkerbackwindow
|
9
|
+
|
10
|
+
require 'test/unit'
|
11
|
+
begin
|
12
|
+
|
13
|
+
runrwdtinkerbackwindow
|
14
|
+
|
15
|
+
raise NotImplementedError, 'Need to write test_runrwdtinkerbackwindow'
|
16
|
+
|
17
|
+
rescue NotImplementedError
|
18
|
+
$stderr.print $!
|
19
|
+
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
def test_choosenewhelptopic
|
26
|
+
raise NotImplementedError, 'Need to write test_choosenewhelptopic'
|
27
|
+
end
|
28
|
+
|
29
|
+
|
30
|
+
def test_listinstalledfiles
|
31
|
+
raise NotImplementedError, 'Need to write test_listinstalledfiles'
|
32
|
+
end
|
33
|
+
|
34
|
+
|
35
|
+
def test_listzipfilestoinstall
|
36
|
+
raise NotImplementedError, 'Need to write test_listzipfilestoinstall'
|
37
|
+
end
|
38
|
+
|
39
|
+
def test_loadconfigurationrecord
|
40
|
+
raise NotImplementedError, 'Need to write test_loadconfigurationrecord'
|
41
|
+
end
|
42
|
+
|
43
|
+
def test_loadconfigurationvariables
|
44
|
+
raise NotImplementedError, 'Need to write test_loadconfigurationvariables'
|
45
|
+
end
|
46
|
+
|
47
|
+
def test_loadgemspecrecord
|
48
|
+
raise NotImplementedError, 'Need to write test_loadgemspecrecord'
|
49
|
+
end
|
50
|
+
|
51
|
+
def test_loadrubyslippersconfiguration
|
52
|
+
raise NotImplementedError, 'Need to write test_loadrubyslippersconfiguration'
|
53
|
+
end
|
54
|
+
|
55
|
+
def test_loadrubyslippersconfigurationvariables
|
56
|
+
raise NotImplementedError, 'Need to write test_loadrubyslippersconfigurationvariables'
|
57
|
+
end
|
58
|
+
|
59
|
+
def test_main
|
60
|
+
raise NotImplementedError, 'Need to write test_main'
|
61
|
+
end
|
62
|
+
|
63
|
+
def test_network_demon
|
64
|
+
raise NotImplementedError, 'Need to write test_network_demon'
|
65
|
+
end
|
66
|
+
|
67
|
+
def test_network_start
|
68
|
+
raise NotImplementedError, 'Need to write test_network_start'
|
69
|
+
end
|
70
|
+
|
71
|
+
def test_openappletname
|
72
|
+
raise NotImplementedError, 'Need to write test_openappletname'
|
73
|
+
end
|
74
|
+
|
75
|
+
def test_removeapplet
|
76
|
+
raise NotImplementedError, 'Need to write test_removeapplet'
|
77
|
+
end
|
78
|
+
|
79
|
+
def test_returntomain
|
80
|
+
raise NotImplementedError, 'Need to write test_returntomain'
|
81
|
+
end
|
82
|
+
|
83
|
+
def test_runcontrolcommand
|
84
|
+
raise NotImplementedError, 'Need to write test_runcontrolcommand'
|
85
|
+
end
|
86
|
+
|
87
|
+
|
88
|
+
def test_runhelpwindow
|
89
|
+
raise NotImplementedError, 'Need to write test_runhelpwindow'
|
90
|
+
end
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
def test_runrwdtinkerversion
|
96
|
+
raise NotImplementedError, 'Need to write test_runrwdtinkerversion'
|
97
|
+
end
|
98
|
+
|
99
|
+
def test_runrwdtinkerwin2version
|
100
|
+
raise NotImplementedError, 'Need to write test_runrwdtinkerwin2version'
|
101
|
+
end
|
102
|
+
|
103
|
+
def test_runviewplatform
|
104
|
+
raise NotImplementedError, 'Need to write test_runviewplatform'
|
105
|
+
end
|
106
|
+
|
107
|
+
def test_rwdtinkerversiondiagnostic
|
108
|
+
raise NotImplementedError, 'Need to write test_rwdtinkerversiondiagnostic'
|
109
|
+
end
|
110
|
+
|
111
|
+
def test_rwdwindowreturn
|
112
|
+
raise NotImplementedError, 'Need to write test_rwdwindowreturn'
|
113
|
+
end
|
114
|
+
|
115
|
+
def test_saveconfigurationrecord
|
116
|
+
raise NotImplementedError, 'Need to write test_saveconfigurationrecord'
|
117
|
+
end
|
118
|
+
|
119
|
+
|
120
|
+
def test_viewappletcontents
|
121
|
+
raise NotImplementedError, 'Need to write test_viewappletcontents'
|
122
|
+
end
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
@@ -1,4 +1,4 @@
|
|
1
|
-
##VERSION:1.
|
1
|
+
##VERSION:1.61
|
2
2
|
ConfigurationDir = "configuration" # for use in program - init.rb has this value without using this constant
|
3
3
|
CodeName = "rwdtinker"
|
4
4
|
CodeNameFile = CodeName + ".rb"
|
@@ -12,4 +12,4 @@ LangDir = "lang"
|
|
12
12
|
$rwdcontrolports =["13713","13714","13715","13716","13717","13718"]
|
13
13
|
$port = 7705
|
14
14
|
|
15
|
-
RwdTinkerVersion = "1.
|
15
|
+
RwdTinkerVersion = "1.61"
|
data/init.rb
CHANGED
@@ -65,6 +65,9 @@ MAINconfignew = "rwdconfig.cnf"
|
|
65
65
|
MAINconfigdist = "rwdconfig.dist"
|
66
66
|
Rconftool::install(MAINconfigdist,MAINconfignew)
|
67
67
|
|
68
|
+
#load main config file
|
69
|
+
load 'rwdconfig.cnf'
|
70
|
+
|
68
71
|
Dir.chdir("configuration") #changes the current working directory
|
69
72
|
|
70
73
|
fileList = Dir.new(".").entries.sort.reverse.delete_if { |x| ! (x =~ /dist$/) } #creates an Array separated with \n
|
data/rwd_files/HowTo_Tinker.txt
CHANGED
data/rwdconfig.dist
CHANGED
@@ -1,6 +1,10 @@
|
|
1
|
-
##VERSION:1.
|
1
|
+
##VERSION:1.61
|
2
2
|
# rwdtinker core configuration file
|
3
3
|
##NAME: ConfigLocation:0
|
4
4
|
ConfigLocation=""
|
5
5
|
##NAME: ZipsLocation:0
|
6
|
-
ZipsLocation=""
|
6
|
+
ZipsLocation=""
|
7
|
+
##NAME:$testharnessarray:0
|
8
|
+
$testharnessarray = ["rwdtinker_all_tests"]
|
9
|
+
##NAME:TestNow:0
|
10
|
+
TestNow=false
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.6
|
|
3
3
|
specification_version: 1
|
4
4
|
name: rwdtinker
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: "1.
|
7
|
-
date: 2005-03-
|
6
|
+
version: "1.61"
|
7
|
+
date: 2005-03-20
|
8
8
|
summary: rwdtinker application is a framework to program for RubyWebDialogs.
|
9
9
|
require_paths:
|
10
10
|
- "."
|
@@ -36,6 +36,8 @@ files:
|
|
36
36
|
- code/01rwdcore/rwdtinkerversion.rb
|
37
37
|
- code/01rwdcore/rwdwindowreturn.rb
|
38
38
|
- code/01rwdcore/uploadreturns.rb
|
39
|
+
- code/01rwdcore/test_cases.rb
|
40
|
+
- code/01rwdcore/test_harness.rb
|
39
41
|
- code/dd0viewphoto/dd0viewphoto.rb
|
40
42
|
- code/superant.com.rwdtinkerbackwindow/controlclient.rb
|
41
43
|
- code/superant.com.rwdtinkerbackwindow/diagnostictab.rb
|
@@ -101,11 +103,7 @@ files:
|
|
101
103
|
- gui/frontwindowz1end/frontwindowend/xx0rwdfirsttab.rwd
|
102
104
|
- gui/helpaboutbegin/superant.com.helpaboutbegin
|
103
105
|
- gui/helpaboutbegin/superant.com.helpaboutbegin/ya0helpscreenstart.rwd
|
104
|
-
- gui/helpaboutinstalled/superant.com.rwdwin2helpabout
|
105
106
|
- gui/helpaboutinstalled/superant.com.tinkerhelpabout
|
106
|
-
- gui/helpaboutinstalled/superant.com.rwdwin2helpabout/1appname.rwd
|
107
|
-
- gui/helpaboutinstalled/superant.com.rwdwin2helpabout/3copyright.rwd
|
108
|
-
- gui/helpaboutinstalled/superant.com.rwdwin2helpabout/5version.rwd
|
109
107
|
- gui/helpaboutinstalled/superant.com.tinkerhelpabout/1appname.rwd
|
110
108
|
- gui/helpaboutinstalled/superant.com.tinkerhelpabout/3copyright.rwd
|
111
109
|
- gui/helpaboutinstalled/superant.com.tinkerhelpabout/5version.rwd
|