2012-11-20 16:32 UTC+0100 Viktor Szakats (harbour syenar.net)

* contrib/hbct/tests/*.prg
  * contrib/hbnetio/tests/*.prg
  * contrib/hbwin/tests/dlg.prg
  * contrib/hbwin/tests/oletst1.prg
  * contrib/hbwin/tests/oletst2.prg
  * contrib/hbwin/tests/oletst3.prg
  * contrib/hbwin/tests/oletst4.prg
  * contrib/hbwin/tests/pdfcreat.prg
  * contrib/hbwin/tests/testdir.prg
  * contrib/hbwin/tests/testole.prg
  * contrib/hbwin/tests/testprn2.prg
  * contrib/hbwin/tests/testprn3.prg
  * contrib/hbwin/tests/testprn4.prg
  * contrib/hbwin/tests/testrpc.prg
  * contrib/hbwin/tests/testwmtx.prg
    + added #require directives
      (only needed when hbrun doesn't have these loaded
      by default)
    ! hbct tests now allow again to run under Clipper
This commit is contained in:
Viktor Szakats
2012-11-20 15:39:43 +00:00
parent d5b8921e96
commit 6367987565
80 changed files with 286 additions and 12 deletions

View File

@@ -10,6 +10,27 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2012-11-20 16:32 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbct/tests/*.prg
* contrib/hbnetio/tests/*.prg
* contrib/hbwin/tests/dlg.prg
* contrib/hbwin/tests/oletst1.prg
* contrib/hbwin/tests/oletst2.prg
* contrib/hbwin/tests/oletst3.prg
* contrib/hbwin/tests/oletst4.prg
* contrib/hbwin/tests/pdfcreat.prg
* contrib/hbwin/tests/testdir.prg
* contrib/hbwin/tests/testole.prg
* contrib/hbwin/tests/testprn2.prg
* contrib/hbwin/tests/testprn3.prg
* contrib/hbwin/tests/testprn4.prg
* contrib/hbwin/tests/testrpc.prg
* contrib/hbwin/tests/testwmtx.prg
+ added #require directives
(only needed when hbrun doesn't have these loaded
by default)
! hbct tests now allow again to run under Clipper
2012-11-20 12:57 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbtpathy/hbtpathy.hbp
* contrib/hbtpathy/telepath.prg

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
LOCAL cStr := "This is a test!"

View File

@@ -52,7 +52,9 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
#include "ct.ch"

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,7 +52,9 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
#include "ct.ch"

View File

@@ -52,7 +52,9 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
#include "ct.ch"

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,7 +52,9 @@
*
*/
#ifndef __HARBOUR__
#ifdef __HARBOUR__
#require "hbct"
#else
#define hb_ntos( n ) LTrim( Str( n ) )
#endif

View File

@@ -52,7 +52,9 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
#include "ct.ch"

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
LOCAL nTotal := 0

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,7 +52,9 @@
*
*/
#ifndef __HARBOUR__
#ifdef __HARBOUR__
#require "hbct"
#else
#define hb_ntos( n ) LTrim( Str( n ) )
#endif

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,7 +52,9 @@
*
*/
#ifndef __HARBOUR__
#ifdef __HARBOUR__
#require "hbct"
#else
#define hb_ntos( n ) LTrim( Str( n ) )
#endif

View File

@@ -52,7 +52,9 @@
*
*/
#ifndef __HARBOUR__
#ifdef __HARBOUR__
#require "hbct"
#else
#define hb_ntos( n ) LTrim( Str( n ) )
#endif

View File

@@ -52,7 +52,9 @@
*
*/
#ifndef __HARBOUR__
#ifdef __HARBOUR__
#require "hbct"
#else
#define hb_ntos( n ) LTrim( Str( n ) )
#endif

View File

@@ -52,7 +52,9 @@
*
*/
#ifndef __HARBOUR__
#ifdef __HARBOUR__
#require "hbct"
#else
#define hb_ntos( n ) LTrim( Str( n ) )
#endif

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,14 +52,14 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#include "ct.ch"
#ifndef __HARBOUR__
#else
#define hb_ntos( n ) LTrim( Str( n ) )
#endif
#include "ct.ch"
PROCEDURE Main()
LOCAL cRet, olderr

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -10,6 +10,10 @@
* Donated to the public domain on 2006-02-11 by Przemyslaw Czerpak
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
#include "inkey.ch"
#include "setcurs.ch"

View File

@@ -2,6 +2,10 @@
* $Id$
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
// Testing Harbour dates management.
PROCEDURE Main()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
#include "inkey.ch"
#include "setcurs.ch"

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
LOCAL n

View File

@@ -54,6 +54,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -54,6 +54,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -10,6 +10,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
#include "simpleio.ch"
PROCEDURE Main()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
LOCAL cStr := ".,.This.,.is.,.a.,.test!"

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
LOCAL cWildcard := " "

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
LOCAL cStr, nLen

View File

@@ -52,7 +52,9 @@
*
*/
#ifndef __HARBOUR__
#ifdef __HARBOUR__
#require "hbct"
#else
#define hb_ntos( n ) LTrim( Str( n ) )
#endif

View File

@@ -60,6 +60,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
LOCAL cStr1 := "A,BB,CCC,DDDD,EEEEE,FFFFFF"

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
LOCAL cStr := ".,.This.,.is.,.a.,.test!"

View File

@@ -52,7 +52,9 @@
*
*/
#ifndef __HARBOUR__
#ifdef __HARBOUR__
#require "hbct"
#else
#define hb_ntos( n ) LTrim( Str( n ) )
#endif

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
LOCAL cStr := ".,.This.,.is.,.a.,.test!"

View File

@@ -61,6 +61,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
LOCAL X, Y

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -52,6 +52,10 @@
*
*/
#ifdef __HARBOUR__
#require "hbct"
#endif
PROCEDURE Main()
ctinit()

View File

@@ -11,6 +11,8 @@
*
*/
#require "hbnetio"
#define NETSERVER "127.0.0.1"
#define NETPORT 2940
#define NETPASSWD "toptopsecret"

View File

@@ -11,6 +11,7 @@
*
*/
#require "hbnetio"
/* to execute this code run server (netiosrv) on the same machine
* with support for RPC and "topsecret" password, i.e.:

View File

@@ -12,6 +12,8 @@
*
*/
#require "hbnetio"
/* net:127.0.0.1:2941:topsecret:data/_tst_ */
#define DBSERVER "127.0.0.1"

View File

@@ -12,6 +12,8 @@
*
*/
#require "hbnetio"
/* net:127.0.0.1:2941:topsecret:data/_tst_ */
#define DBSERVER "127.0.0.1"

View File

@@ -9,6 +9,8 @@
* 2010/06/10 - 00:16:41 - [vailtom]
*/
#require "hbwin"
// Some constants
#define IDD_DIALOG1 101
#define IDC_BUTTON1 4001

View File

@@ -11,6 +11,8 @@
*
*/
#require "hbwin"
#define NETSERVER "127.0.0.1"
#define NETPORT 2941
#define NETPASSWD "topsecret"

View File

@@ -12,6 +12,8 @@
* www - http://harbour-project.org
*/
#require "hbwin"
PROCEDURE Main()
LOCAL oObject

View File

@@ -11,6 +11,8 @@
* above WWW page.
*/
#require "hbwin"
PROCEDURE Main()
LOCAL oObject

View File

@@ -12,6 +12,8 @@
* www - http://harbour-project.org
*/
#require "hbwin"
PROCEDURE Main()
LOCAL oObject, oTime, oInfo

View File

@@ -20,6 +20,8 @@
*
*/
#require "hbwin"
PROCEDURE Main()
LOCAL oPC, nTime, cDefaultPrinter, cFilename, oPrinter, nEvent := 0

View File

@@ -10,6 +10,8 @@
*
*/
#require "hbwin"
#include "simpleio.ch"
PROCEDURE Main()

View File

@@ -16,6 +16,8 @@
*
*/
#require "hbwin"
PROCEDURE Main()
LOCAL nOption

View File

@@ -2,6 +2,8 @@
* $Id$
*/
#require "hbwin"
PROCEDURE Main()
LOCAL nPrn := 1

View File

@@ -10,6 +10,8 @@
*
*/
#require "hbwin"
#include "simpleio.ch"
PROCEDURE Main()

View File

@@ -10,6 +10,8 @@
*
*/
#require "hbwin"
#include "simpleio.ch"
PROCEDURE Main()

View File

@@ -10,6 +10,8 @@
*
*/
#require "hbwin"
#include "simpleio.ch"
PROCEDURE Main()

View File

@@ -2,6 +2,8 @@
* $Id$
*/
#require "hbwin"
STATIC s_hMutex
PROCEDURE Main()