Changeset 3246 for trunk/psLib/test/astronomy/tst_psTime_04.c
- Timestamp:
- Feb 16, 2005, 3:58:43 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astronomy/tst_psTime_04.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astronomy/tst_psTime_04.c
r3220 r3246 14 14 * @author Ross Harman, MHPCC 15 15 * 16 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $17 * @date $Date: 2005-02-1 5 03:02:53 $16 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-02-17 01:58:43 $ 18 18 * 19 19 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 30 30 // Test A - Initialize time 31 31 printPositiveTestHeader(stdout, "psTime", "Test A - Initialize time"); 32 psLibInit(true, p_psGetConfigFileName());32 psLibInit(true, "psTime.config"); 33 33 psLibFinalize(); 34 34 printFooter(stdout, "psTime", "Test A - Initialize time", true); … … 45 45 printNegativeTestHeader(stdout,"psTime", "Test C - Attempt to open non-existant time data files", 46 46 "Failed to open file 'zzz'. Check if it exists and it has the proper permissions.", 0); 47 psLibInit(true, " ./test.psTime.config1");47 psLibInit(true, "test.psTime.config1"); 48 48 psLibFinalize(); 49 49 printFooter(stdout, "psTime", "Test C - Attempt to open non-existant time data files", true); … … 53 53 printNegativeTestHeader(stdout,"psTime", "Test D - Attempt to read incorrect number of files", 54 54 "Incorrect number of table files entered. Found: 3. Expected: 4.", 0); 55 psLibInit(true, " ./test.psTime.config2");55 psLibInit(true, "test.psTime.config2"); 56 56 psLibFinalize(); 57 57 printFooter(stdout, "psTime", "Test D - Attempt to read incorrect number of files", true); … … 61 61 printNegativeTestHeader(stdout,"psTime", "Test E - Attempt to read incorrect number of from values", 62 62 "Incorrect vector size. Size: 3, Expected 4.", 0); 63 psLibInit(true, " ./test.psTime.config3");63 psLibInit(true, "test.psTime.config3"); 64 64 psLibFinalize(); 65 65 printFooter(stdout, "psTime", "Test E - Attempt to read incorrect number of from values", true); … … 69 69 printNegativeTestHeader(stdout,"psTime", "Test F - Attempt to read data file with typo in number", 70 70 "Unable to parse string, number on line 16.", 0); 71 psLibInit(true, " ./test.psTime.config4");71 psLibInit(true, "test.psTime.config4"); 72 72 psLibFinalize(); 73 73 printFooter(stdout, "psTime", "Test F - Attempt to read data file with typo in number", true);
Note:
See TracChangeset
for help on using the changeset viewer.
