Subversion Repositories DevTools

Rev

Rev 5168 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5168 Rev 5172
Line 180... Line 180...
180
            function(txt){ el.innerHTML = "Test Failed:" + txt}
180
            function(txt){ el.innerHTML = "Test Failed:" + txt}
181
           );
181
           );
182
}
182
}
183
 
183
 
184
///////////////////////////////////////////////
184
///////////////////////////////////////////////
185
//  Function:       eventTestWsh
-
 
186
//  Description:    Test that the server can send an Event via the WSH subsystem
-
 
187
//
-
 
188
function eventTestWsh()
-
 
189
{
-
 
190
    //  Show that testing has started
-
 
191
    var el = document.getElementById("eventTestWsh");
-
 
192
    el.innerHTML = 'Sending';
-
 
193
 
-
 
194
    ajaxOpr('_json_RmTests.asp',
-
 
195
            'Opr=eventTestWsh', 
-
 
196
            function(myJson){ el.innerHTML = 'Sent OK'; },
-
 
197
            function(txt){ el.innerHTML = "Test Failed:" + txt}
-
 
198
           );
-
 
199
}
-
 
200
 
-
 
201
///////////////////////////////////////////////
-
 
202
//  Function:       reportEvent
185
//  Function:       reportEvent
203
//  Description:    Test that the server can report and event
186
//  Description:    Test that the server can report and event
204
//
187
//
205
function reportEvent()
188
function reportEvent()
206
{
189
{
Line 247... Line 230...
247
            function(txt){ el.innerHTML = "Test Failed:" + txt}
230
            function(txt){ el.innerHTML = "Test Failed:" + txt}
248
           );
231
           );
249
}
232
}
250
 
233
 
251
///////////////////////////////////////////////
234
///////////////////////////////////////////////
252
//  Function:       emailTest2
-
 
253
//  Description:    Test that the server can send an email from a WSH script
-
 
254
//
-
 
255
function emailTest2()
-
 
256
{
-
 
257
    //  Show that testing has started
-
 
258
    var el = document.getElementById("emailTest2");
-
 
259
    el.innerHTML = 'Sending';
-
 
260
 
-
 
261
    ajaxOpr('_json_RmTests.asp',
-
 
262
            'Opr=emailWshTest', 
-
 
263
            function(myJson){ el.innerHTML = 'Sent OK'; },
-
 
264
            function(txt){ el.innerHTML = "Test Failed:" + txt}
-
 
265
           );
-
 
266
}
-
 
267
 
-
 
268
///////////////////////////////////////////////
-
 
269
//  Function:       ddpTest
-
 
270
//  Description:    
-
 
271
//
-
 
272
function ddpTest()
-
 
273
{
-
 
274
    //  Show that testing has started
-
 
275
    var el = document.getElementById("ddpTest");
-
 
276
    el.innerHTML = 'Sending';
-
 
277
 
-
 
278
    ajaxOpr('_json_RmTests.asp',
-
 
279
            'Opr=ddpTest', 
-
 
280
            function(myJson){ el.innerHTML = 'Sent OK'; },
-
 
281
            function(txt){ el.innerHTML = 'Test Failed:' + txt}
-
 
282
           );
-
 
283
}
-
 
284
 
-
 
285
///////////////////////////////////////////////
-
 
286
//  Function:       remExec
235
//  Function:       remExec
287
//  Description:    Test Remote Execution (Wsh)
236
//  Description:    Test Remote Execution
288
//
237
//
289
function remExec()
238
function remExec()
290
{
239
{
291
    //  Show that testing has started
240
    //  Show that testing has started
292
    var el = document.getElementById("remExec");
241
    var el = document.getElementById("remExec");
Line 299... Line 248...
299
           );
248
           );
300
}
249
}
301
 
250
 
302
///////////////////////////////////////////////
251
///////////////////////////////////////////////
303
//  Function:       pkgAccess
252
//  Function:       pkgAccess
304
//  Description:    Test Remote Execution (Wsh)
253
//  Description:    http access of package
305
//
254
//
306
function pkgAccess()
255
function pkgAccess()
307
{
256
{
308
    //  Show that testing has started
257
    //  Show that testing has started
309
    var el = document.getElementById("pkgAccess");
258
    var el = document.getElementById("pkgAccess");
Line 387... Line 336...
387
      <td><%=dpkgArchiveAvailable%></td>
336
      <td><%=dpkgArchiveAvailable%></td>
388
   </tr>
337
   </tr>
389
 
338
 
390
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
339
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
391
   <tr class="body_row">
340
   <tr class="body_row">
392
      <td>Package Archive Access - Map File System</td>
341
      <td>Package Archive Access - Check Presence</td>
393
      <td><%=makeAjaxButton("Test", "pkgAccess")%></td>
342
      <td><%=makeAjaxButton("Test", "pkgAccess")%></td>
394
   </tr>
343
   </tr>
395
 
344
 
396
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
345
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
397
   <tr class="body_row">
346
   <tr class="body_row">
Line 442... Line 391...
442
   </tr>
391
   </tr>
443
   <tr class="body_row">
392
   <tr class="body_row">
444
      <td>Send Email With attachment</td>
393
      <td>Send Email With attachment</td>
445
      <td><%=makeAjaxButton("eMail", "emailTest1")%></td>
394
      <td><%=makeAjaxButton("eMail", "emailTest1")%></td>
446
   </tr>
395
   </tr>
447
   <tr class="body_row">
-
 
448
     <td>Send Email from WSH script</td>
-
 
449
     <td><%=makeAjaxButton("eMail", "emailTest2")%></td>
-
 
450
   </tr>
-
 
451
 
396
 
452
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
397
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
453
   <tr class="body_row">
398
   <tr class="body_row">
454
    <td>Generate error event</td>
399
    <td>Generate error event</td>
455
    <td><%=makeAjaxButton("Event", "eventTest")%></td>
400
    <td><%=makeAjaxButton("Event", "eventTest")%></td>
456
   </tr>
401
   </tr>
457
 
402
 
458
   <tr class="body_row">
403
   <tr class="body_row">
459
    <td>Generate error event via WSH script</td>
-
 
460
    <td><%=makeAjaxButton("Event", "eventTestWsh")%></td>
-
 
461
   </tr>
-
 
462
 
-
 
463
   <tr class="body_row">
-
 
464
    <td>Report Event</td>
404
    <td>Report Event</td>
465
    <td><%=makeAjaxButton("Report", "reportEvent")%></td>
405
    <td><%=makeAjaxButton("Report", "reportEvent")%></td>
466
   </tr>
406
   </tr>
467
 
407
 
468
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
408
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
Line 473... Line 413...
473
   <tr class="body_row">
413
   <tr class="body_row">
474
      <td>Jira Test</td>
414
      <td>Jira Test</td>
475
      <td><%=makeAjaxButton("Test", "jiraTest")%></td>
415
      <td><%=makeAjaxButton("Test", "jiraTest")%></td>
476
   </tr>
416
   </tr>
477
 
417
 
478
   <tr class="body_row">
-
 
479
     <td>DDP TESTING</td>
-
 
480
     <td><%=makeAjaxButton("ddpTest", "ddpTest")%></td>
-
 
481
   </tr>
-
 
482
 
-
 
483
 
-
 
484
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
418
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
485
   <tr class="body_col tablehdr">
419
   <tr class="body_col tablehdr">
486
      <td>End of Tests</td>
420
      <td>End of Tests</td>
487
      <td><a class="form_btn" href="admin_build_test_page.asp" title="Refresh Page">Refresh</a></td>
421
      <td><a class="form_btn" href="admin_build_test_page.asp" title="Refresh Page">Refresh</a></td>
488
   </tr>
422
   </tr>