t_path_configuration.cpp

Go to the documentation of this file.
00001 /*****************************************************************************\
00002 *                                                                             *
00003 *  Name   : test_path_configuration                                           *
00004 *  Author : Chris Koeritz                                                     *
00005 *                                                                             *
00006 *******************************************************************************
00007 * Copyright (c) 2002-$now By Author.  This program is free software; you can  *
00008 * redistribute it and/or modify it under the terms of the GNU General Public  *
00009 * License as published by the Free Software Foundation; either version 2 of   *
00010 * the License or (at your option) any later version.  This is online at:      *
00011 *     http://www.fsf.org/copyleft/gpl.html                                    *
00012 * Please send any updates to: fred@gruntose.com                               *
00013 \*****************************************************************************/
00014 
00015 #include <basis/guards.h>
00016 #include <basis/istring.h>
00017 #include <loggers/console_logger.h>
00018 #include <opsystem/path_configuration.h>
00019 #include <data_struct/static_memory_gremlin.h>
00020 
00021 HOOPLE_STARTUP_CODE;
00022 
00023 int main(int argc, char *argv[])
00024 {
00025   console_logger out;
00026 
00027   istring jammed;
00028   for (int i = 0; i < argc; i++)
00029     jammed += istring(argv[i]) + " ";
00030   out.log(istring("command line=") + jammed);
00031 
00032   istring app_dir = path_configuration::application_directory();
00033   out.log(istring("app dir is: ") + app_dir);
00034 
00035   guards::alert_message("path_configuration:: works for those functions tested.");
00036   return 0;
00037 }
00038 

Generated on Fri Nov 28 04:29:39 2008 for HOOPLE Libraries by  doxygen 1.5.1