summaryrefslogtreecommitdiffstats
path: root/tester/covoar/configfile_test.cc
blob: 406a81f6ef83eabc51093a53328e38abbb6d7ebe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "ConfigFile.h"
#include <stdio.h>

Configuration::Options_t Options[] = {
  { "projectName", NULL },
  { "verbose",     NULL },
  { NULL,          NULL }
};

int main(
  int   argc,
  char *argv[]
)
{
  Configuration::FileReader *config;

  config = new Configuration::FileReader(Options);

  config->processFile( "configFile.txt" );
  config->printOptions();

}