source: branches/blt4/oldtest/src/matlab/test_get.m @ 3959

Last change on this file since 3959 was 3959, checked in by gah, 11 years ago

sync with trunk

File size: 927 bytes
Line 
1% ----------------------------------------------------------------------
2%  TEST: Matlab's Rappture Library Test Functions.
3%
4%   [err] = test_get(lib, path)
5%
6%
7% ======================================================================
8%  AUTHOR:  Derrick Kearney, Purdue University
9%  Copyright (c) 2004-2012  HUBzero Foundation, LLC
10%
11%  See the file "license.terms" for information on usage and
12%  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
13% ======================================================================
14
15function [err] = test_get(lib,path)
16    err = 1;
17    disp(sprintf('\n\nTESTING rpGet\n'));
18    [retStr,err] = rpLibGet(lib,path);
19    if ~err
20        if ~strcmp(retStr,'')
21            disp(sprintf ('rpGet Successful: %s\n',retStr));
22        else
23            disp(sprintf ('rpGet FAILED\n'));
24        end
25    else
26        disp(sprintf('Error within rpGet function\n'));
27    end
28return
Note: See TracBrowser for help on using the repository browser.