Changeset: 258 fdbozzo - 28/05/2014 19:26:38:

- Externalización del path de FoxUnit
This commit is contained in:
fdbozzo
2014-05-28 23:15:55 +02:00
parent ed4a2311f0
commit 3e7a80557e
5 changed files with 46 additions and 1 deletions

1
TESTS/foxunit_path.txt Normal file
View File

@@ -0,0 +1 @@
c:\desa\foxunit

View File

@@ -63,7 +63,8 @@ DEFINE CLASS CL_FXU_CONFIG AS CUSTOM
cOldPath = ''
cPath = 'FOXUNIT;TESTS;TESTS\DATOS_TEST'
cPath = 'TESTS;TESTS\DATOS_TEST'
cPathDatosReadOnly = 'TESTS\DATOS_READONLY'
cPathDatosTest = 'TESTS\DATOS_TEST'
cSetDate = ''
@@ -80,6 +81,13 @@ DEFINE CLASS CL_FXU_CONFIG AS CUSTOM
SET TALK OFF
THIS.cOldPath = SET("Path")
IF FILE("FOXUNIT_PATH.TXT")
THIS.cPath = THIS.cPath + ';' + FILETOSTR("FOXUNIT_PATH.TXT")
ELSE
THIS.cPath = THIS.cPath + ';FOXUNIT'
ENDIF
SET PATH TO (THIS.cPath)
ENDPROC