Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > c3d74e728f0eb23a7aa41caaeb74521a > files > 13

simfqt-doc-1.00.0-2.fc18.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
		  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
	<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
	<meta name="robots" content="index,follow"/>
	<title>Command-Line Test to Demonstrate How To Test the SimFQT Project</title>
	<link rel="shortcut icon" href="favicon.ico">
	<link href="tabs.css" rel="stylesheet" type="text/css"/>
	<link href="simfqt.css" rel="stylesheet" type="text/css"/>
	<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
	<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
	<script type="text/javascript">
	  var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', 'UA-25242815-1']);
	  _gaq.push(['_setDomainName', 'none']);
	  _gaq.push(['_setAllowLinker', true]);
	  _gaq.push(['_trackPageview']);
	  (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	  })();
	</script>
	<script type="text/javascript"
			src="https://apis.google.com/js/plusone.js"></script>
  </head>
  <body>
	<div id="top"><!-- do not remove this div! -->
	  <div id="titlearea">
		<table width="100%">
		  <tbody>
			<tr style="height: 56px;">
			  <td style="padding-left: 0.5em;">
				<div id="projectname"><a href="http://simfqt.sourceforge.net"><img height="45px" alt="SimFQT Logo" src="simfqt_logo.png"></a>
				  &#160;<span id="projectnumber">1.00.0</span>
				</div>
				<div id="projectbrief">C++ Simulated Fare Quote System Library</div>
			  </td>
			  <!-- begin SOURCEFORGE_CUSTOM-->
			  <td>
				<div id="sflogo"><a href="http://simfqt.sourceforge.net"><img height="45px" alt="SourceForge Logo" src="sfx_logo.png"></a></div>
			  </td>
			  <!-- end SOURCEFORGE_CUSTOM-->
			</tr>
		  </tbody>
		</table>
	  </div>
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('FQTTestSuite_cpp.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Command-Line Test to Demonstrate How To Test the SimFQT Project </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><div class="fragment"><div class="line"> */</div>
<div class="line"><span class="comment">// //////////////////////////////////////////////////////////////////////</span></div>
<div class="line"><span class="comment">// Import section</span></div>
<div class="line"><span class="comment">// //////////////////////////////////////////////////////////////////////</span></div>
<div class="line"><span class="comment">// STL</span></div>
<div class="line"><span class="preprocessor">#include &lt;sstream&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;fstream&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><span class="comment">// Boost Unit Test Framework (UTF)</span></div>
<div class="line"><span class="preprocessor">#define BOOST_TEST_DYN_LINK</span></div>
<div class="line"><span class="preprocessor"></span><span class="preprocessor">#define BOOST_TEST_MAIN</span></div>
<div class="line"><span class="preprocessor"></span><span class="preprocessor">#define BOOST_TEST_MODULE FQTTestSuite</span></div>
<div class="line"><span class="preprocessor"></span><span class="preprocessor">#include &lt;boost/test/unit_test.hpp&gt;</span></div>
<div class="line"><span class="comment">// StdAir</span></div>
<div class="line"><span class="preprocessor">#include &lt;stdair/basic/BasLogParams.hpp&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;stdair/basic/BasDBParams.hpp&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;stdair/basic/BasFileMgr.hpp&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;stdair/service/Logger.hpp&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;stdair/bom/TravelSolutionStruct.hpp&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;stdair/bom/BookingRequestStruct.hpp&gt;</span></div>
<div class="line"><span class="comment">// SimFQT</span></div>
<div class="line"><span class="preprocessor">#include &lt;<a class="code" href="SIMFQT__Service_8hpp.html">simfqt/SIMFQT_Service.hpp</a>&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;<a class="code" href="simfqt-paths_8hpp.html">simfqt/config/simfqt-paths.hpp</a>&gt;</span></div>
<div class="line"></div>
<div class="line"><span class="keyword">namespace </span>boost_utf = boost::unit_test;</div>
<div class="line"></div>
<div class="line"><span class="keyword">struct </span>UnitTestConfig {</div>
<div class="line">  UnitTestConfig() {</div>
<div class="line">    <span class="keyword">static</span> std::ofstream _test_log (<span class="stringliteral">&quot;FQTTestSuite_utfresults.xml&quot;</span>);</div>
<div class="line">    boost_utf::unit_test_log.set_stream (_test_log);</div>
<div class="line">    boost_utf::unit_test_log.set_format (boost_utf::XML);</div>
<div class="line">    boost_utf::unit_test_log.set_threshold_level (boost_utf::log_test_units);</div>
<div class="line">    <span class="comment">//boost_utf::unit_test_log.set_threshold_level (boost_utf::log_successful_tests);</span></div>
<div class="line">  }</div>
<div class="line"></div>
<div class="line">  ~UnitTestConfig() {</div>
<div class="line">  }</div>
<div class="line">};</div>
<div class="line"></div>
<div class="line"><span class="comment">// //////////////////////////////////////////////////////////////////////</span></div>
<div class="line"><span class="comment"></span><span class="keywordtype">void</span> testFareQuoterHelper (<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> iTestFlag,</div>
<div class="line">                           <span class="keyword">const</span> stdair::Filename_T iFareInputFilename,</div>
<div class="line">                           <span class="keyword">const</span> <span class="keywordtype">bool</span> isBuiltin) {</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Output log File</span></div>
<div class="line">  std::ostringstream oStr;</div>
<div class="line">  oStr &lt;&lt; <span class="stringliteral">&quot;FQTTestSuite_&quot;</span> &lt;&lt; iTestFlag &lt;&lt; <span class="stringliteral">&quot;.log&quot;</span>;</div>
<div class="line">  <span class="keyword">const</span> stdair::Filename_T lLogFilename (oStr.str());</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Set the log parameters</span></div>
<div class="line">  std::ofstream logOutputFile;</div>
<div class="line">  <span class="comment">// Open and clean the log outputfile</span></div>
<div class="line">  logOutputFile.open (lLogFilename.c_str());</div>
<div class="line">  logOutputFile.clear();</div>
<div class="line">    </div>
<div class="line">  <span class="comment">// Initialise the SimFQT service object</span></div>
<div class="line">  <span class="keyword">const</span> stdair::BasLogParams lLogParams (stdair::LOG::DEBUG,</div>
<div class="line">                                         logOutputFile);</div>
<div class="line">  </div>
<div class="line">  <span class="comment">// Initialise the Simfqt service object</span></div>
<div class="line">  <a class="code" href="classSIMFQT_1_1SIMFQT__Service.html" title="Interface for the SIMFQT Services.">SIMFQT::SIMFQT_Service</a> simfqtService (lLogParams);</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Check wether or not a (CSV) input file should be read</span></div>
<div class="line">  <span class="keywordflow">if</span> (isBuiltin == <span class="keyword">true</span>) {</div>
<div class="line"></div>
<div class="line">    <span class="comment">// Build the default sample BOM tree (filled with fares) for Simfqt</span></div>
<div class="line">    simfqtService.buildSampleBom();</div>
<div class="line"></div>
<div class="line">  } <span class="keywordflow">else</span> {</div>
<div class="line"></div>
<div class="line">    <span class="comment">// Build the BOM tree from parsing the fare input file    </span></div>
<div class="line">    <a class="code" href="classSIMFQT_1_1FareFilePath.html">SIMFQT::FareFilePath</a> lFareFilePath (iFareInputFilename);</div>
<div class="line">    simfqtService.parseAndLoad (lFareFilePath);</div>
<div class="line">  }</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Build a sample list of travel solutions and a booking request.</span></div>
<div class="line">  stdair::TravelSolutionList_T lTravelSolutionList;</div>
<div class="line">  simfqtService.buildSampleTravelSolutions (lTravelSolutionList);</div>
<div class="line">  stdair::BookingRequestStruct lBookingRequest =</div>
<div class="line">    simfqtService.buildBookingRequest();</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Try to fareQuote the sample list of travel solutions</span></div>
<div class="line">  simfqtService.quotePrices (lBookingRequest, lTravelSolutionList);</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Close the log file</span></div>
<div class="line">  logOutputFile.close();</div>
<div class="line"></div>
<div class="line">}</div>
<div class="line"></div>
<div class="line"><span class="comment">// /////////////// Main: Unit Test Suite //////////////</span></div>
<div class="line"></div>
<div class="line"><span class="comment">// Set the UTF configuration (re-direct the output to a specific file)</span></div>
<div class="line">BOOST_GLOBAL_FIXTURE (UnitTestConfig);</div>
<div class="line"></div>
<div class="line"><span class="comment">// Start the test suite</span></div>
<div class="line">BOOST_AUTO_TEST_SUITE (master_test_suite)</div>
<div class="line"></div>
<div class="line"></div>
<div class="line">BOOST_AUTO_TEST_CASE (simfqt_simple_pricing_test) {</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Input file name</span></div>
<div class="line">  <span class="keyword">const</span> stdair::Filename_T lFareInputFilename (<a class="code" href="simfqt-paths_8hpp.html#af06cd429ada6c5a061032f4278de45d1">STDAIR_SAMPLE_DIR</a> <span class="stringliteral">&quot;/fare01.csv&quot;</span>);</div>
<div class="line"></div>
<div class="line">  <span class="comment">// State whether the BOM tree should be built-in or parsed from an input file</span></div>
<div class="line">  <span class="keyword">const</span> <span class="keywordtype">bool</span> isBuiltin = <span class="keyword">false</span>;</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Try to fareQuote the sample default list of travel solutions</span></div>
<div class="line">  BOOST_CHECK_NO_THROW (testFareQuoterHelper (0, lFareInputFilename, isBuiltin));</div>
<div class="line"> </div>
<div class="line">}</div>
<div class="line"></div>
<div class="line">BOOST_AUTO_TEST_CASE (simfqt_error_pricing_test_01) {</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Input file name</span></div>
<div class="line">  <span class="keyword">const</span> stdair::Filename_T lFareInputFilename (<a class="code" href="simfqt-paths_8hpp.html#af06cd429ada6c5a061032f4278de45d1">STDAIR_SAMPLE_DIR</a> <span class="stringliteral">&quot;/fareError01.csv&quot;</span>);</div>
<div class="line"></div>
<div class="line">  <span class="comment">// State whether the BOM tree should be built-in or parsed from an input file</span></div>
<div class="line">  <span class="keyword">const</span> <span class="keywordtype">bool</span> isBuiltin = <span class="keyword">false</span>;</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Try to fareQuote the sample default list of travel solutions</span></div>
<div class="line">  BOOST_CHECK_THROW (testFareQuoterHelper (1, lFareInputFilename, isBuiltin),</div>
<div class="line">                     <a class="code" href="classSIMFQT_1_1AirportPairNotFoundException.html">SIMFQT::AirportPairNotFoundException</a>);</div>
<div class="line">}</div>
<div class="line"></div>
<div class="line">BOOST_AUTO_TEST_CASE (simfqt_error_pricing_test_02) {</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Input file name</span></div>
<div class="line">  <span class="keyword">const</span> stdair::Filename_T lFareInputFilename (<a class="code" href="simfqt-paths_8hpp.html#af06cd429ada6c5a061032f4278de45d1">STDAIR_SAMPLE_DIR</a> <span class="stringliteral">&quot;/fareError02.csv&quot;</span>);</div>
<div class="line"></div>
<div class="line">  <span class="comment">// State whether the BOM tree should be built-in or parsed from an input file</span></div>
<div class="line">  <span class="keyword">const</span> <span class="keywordtype">bool</span> isBuiltin = <span class="keyword">false</span>;</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Try to fareQuote the sample default list of travel solutions</span></div>
<div class="line">  BOOST_CHECK_THROW (testFareQuoterHelper (2, lFareInputFilename, isBuiltin),</div>
<div class="line">                     <a class="code" href="classSIMFQT_1_1PosOrChannelNotFoundException.html">SIMFQT::PosOrChannelNotFoundException</a>);</div>
<div class="line">}</div>
<div class="line"></div>
<div class="line">BOOST_AUTO_TEST_CASE (simfqt_error_pricing_test_03) {</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Input file name</span></div>
<div class="line">  <span class="keyword">const</span> stdair::Filename_T lFareInputFilename (<a class="code" href="simfqt-paths_8hpp.html#af06cd429ada6c5a061032f4278de45d1">STDAIR_SAMPLE_DIR</a> <span class="stringliteral">&quot;/fareError03.csv&quot;</span>);</div>
<div class="line"></div>
<div class="line">  <span class="comment">// State whether the BOM tree should be built-in or parsed from an input file</span></div>
<div class="line">  <span class="keyword">const</span> <span class="keywordtype">bool</span> isBuiltin = <span class="keyword">false</span>;</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Try to fareQuote the sample default list of travel solutions</span></div>
<div class="line">  BOOST_CHECK_THROW (testFareQuoterHelper (3, lFareInputFilename, isBuiltin),</div>
<div class="line">                     <a class="code" href="classSIMFQT_1_1FlightDateNotFoundException.html">SIMFQT::FlightDateNotFoundException</a>);</div>
<div class="line">}</div>
<div class="line"></div>
<div class="line">BOOST_AUTO_TEST_CASE (simfqt_error_pricing_test_04) {</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Input file name</span></div>
<div class="line">  <span class="keyword">const</span> stdair::Filename_T lFareInputFilename (<a class="code" href="simfqt-paths_8hpp.html#af06cd429ada6c5a061032f4278de45d1">STDAIR_SAMPLE_DIR</a> <span class="stringliteral">&quot;/fareError04.csv&quot;</span>);</div>
<div class="line"></div>
<div class="line">  <span class="comment">// State whether the BOM tree should be built-in or parsed from an input file</span></div>
<div class="line">  <span class="keyword">const</span> <span class="keywordtype">bool</span> isBuiltin = <span class="keyword">false</span>;</div>
<div class="line">  </div>
<div class="line">  <span class="comment">// Try to fareQuote the sample default list of travel solutions</span></div>
<div class="line">  BOOST_CHECK_THROW (testFareQuoterHelper (4, lFareInputFilename, isBuiltin),</div>
<div class="line">                     <a class="code" href="classSIMFQT_1_1FlightTimeNotFoundException.html">SIMFQT::FlightTimeNotFoundException</a>);</div>
<div class="line">}</div>
<div class="line"></div>
<div class="line">BOOST_AUTO_TEST_CASE (simfqt_error_pricing_test_05) {</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Input file name</span></div>
<div class="line">  <span class="keyword">const</span> stdair::Filename_T lFareInputFilename (<a class="code" href="simfqt-paths_8hpp.html#af06cd429ada6c5a061032f4278de45d1">STDAIR_SAMPLE_DIR</a> <span class="stringliteral">&quot;/fareError05.csv&quot;</span>);</div>
<div class="line"></div>
<div class="line">  <span class="comment">// State whether the BOM tree should be built-in or parsed from an input file</span></div>
<div class="line">  <span class="keyword">const</span> <span class="keywordtype">bool</span> isBuiltin = <span class="keyword">false</span>;</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Try to fareQuote the sample default list of travel solutions</span></div>
<div class="line">  BOOST_CHECK_THROW (testFareQuoterHelper (5, lFareInputFilename, isBuiltin),</div>
<div class="line">                     <a class="code" href="classSIMFQT_1_1FeaturesNotFoundException.html">SIMFQT::FeaturesNotFoundException</a>);</div>
<div class="line">}</div>
<div class="line"></div>
<div class="line">BOOST_AUTO_TEST_CASE (simfqt_error_pricing_test_06) {</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Input file name</span></div>
<div class="line">  <span class="keyword">const</span> stdair::Filename_T lFareInputFilename (<a class="code" href="simfqt-paths_8hpp.html#af06cd429ada6c5a061032f4278de45d1">STDAIR_SAMPLE_DIR</a> <span class="stringliteral">&quot;/fareError06.csv&quot;</span>);</div>
<div class="line"></div>
<div class="line">  <span class="comment">// State whether the BOM tree should be built-in or parsed from an input file</span></div>
<div class="line">  <span class="keyword">const</span> <span class="keywordtype">bool</span> isBuiltin = <span class="keyword">false</span>;</div>
<div class="line">    </div>
<div class="line">  <span class="comment">// Try to fareQuote the sample default list of travel solutions</span></div>
<div class="line">  BOOST_CHECK_THROW (testFareQuoterHelper (6, lFareInputFilename, isBuiltin),</div>
<div class="line">                     <a class="code" href="classSIMFQT_1_1AirlineNotFoundException.html">SIMFQT::AirlineNotFoundException</a>);</div>
<div class="line">}</div>
<div class="line"></div>
<div class="line">BOOST_AUTO_TEST_CASE (simfqt_error_pricing_test_07) {</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Input file name</span></div>
<div class="line">  <span class="keyword">const</span> stdair::Filename_T lFareInputFilename (<a class="code" href="simfqt-paths_8hpp.html#af06cd429ada6c5a061032f4278de45d1">STDAIR_SAMPLE_DIR</a> <span class="stringliteral">&quot;/fareError07.csv&quot;</span>);</div>
<div class="line"></div>
<div class="line">  <span class="comment">// State whether the BOM tree should be built-in or parsed from an input file</span></div>
<div class="line">  <span class="keyword">const</span> <span class="keywordtype">bool</span> isBuiltin = <span class="keyword">false</span>;</div>
<div class="line">    </div>
<div class="line">  <span class="comment">// Try to fareQuote the sample default list of travel solutions</span></div>
<div class="line">  BOOST_CHECK_THROW (testFareQuoterHelper (7, lFareInputFilename, isBuiltin),</div>
<div class="line">                     <a class="code" href="classSIMFQT_1_1FareFileParsingFailedException.html">SIMFQT::FareFileParsingFailedException</a>);</div>
<div class="line">}</div>
<div class="line"></div>
<div class="line">BOOST_AUTO_TEST_CASE (simfqt_error_pricing_test_08) {</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Input file name</span></div>
<div class="line">  <span class="keyword">const</span> stdair::Filename_T lFareInputFilename (<a class="code" href="simfqt-paths_8hpp.html#af06cd429ada6c5a061032f4278de45d1">STDAIR_SAMPLE_DIR</a> <span class="stringliteral">&quot;/missingFile.csv&quot;</span>);</div>
<div class="line"></div>
<div class="line">  <span class="comment">// State whether the BOM tree should be built-in or parsed from an input file</span></div>
<div class="line">  <span class="keyword">const</span> <span class="keywordtype">bool</span> isBuiltin = <span class="keyword">false</span>;</div>
<div class="line">    </div>
<div class="line">  <span class="comment">// Try to fareQuote the sample default list of travel solutions</span></div>
<div class="line">  BOOST_CHECK_THROW (testFareQuoterHelper (8, lFareInputFilename, isBuiltin),</div>
<div class="line">                     <a class="code" href="classSIMFQT_1_1FareInputFileNotFoundException.html">SIMFQT::FareInputFileNotFoundException</a>);</div>
<div class="line">}</div>
<div class="line"></div>
<div class="line">BOOST_AUTO_TEST_CASE (simfqt_error_pricing_test_09) {</div>
<div class="line"></div>
<div class="line">  <span class="comment">// Input file name</span></div>
<div class="line">  <span class="keyword">const</span> stdair::Filename_T lEmptyInputFilename (<a class="code" href="simfqt-paths_8hpp.html#af06cd429ada6c5a061032f4278de45d1">STDAIR_SAMPLE_DIR</a> <span class="stringliteral">&quot;/ &quot;</span>);</div>
<div class="line"></div>
<div class="line">  <span class="comment">// State whether the BOM tree should be built-in or parsed from an input file</span></div>
<div class="line">  <span class="keyword">const</span> <span class="keywordtype">bool</span> isBuiltin = <span class="keyword">true</span>;</div>
<div class="line">    </div>
<div class="line">  <span class="comment">// Try to fareQuote the sample default list of travel solutions</span></div>
<div class="line">  BOOST_CHECK_NO_THROW(testFareQuoterHelper (9, lEmptyInputFilename, isBuiltin));</div>
<div class="line">}</div>
<div class="line"></div>
<div class="line"></div>
<div class="line"><span class="comment">// End the test suite</span></div>
<div class="line">BOOST_AUTO_TEST_SUITE_END()</div>
<div class="line"></div>
<div class="line"><span class="comment">/*!</span></div>
</div><!-- fragment --> </div></div><!-- contents -->
</div><!-- doc-content -->
		
		<li class="footer">Generated on Wed May 22 2013 21:31:10 for SimFQT by
		  <a href="http://www.doxygen.org/index.html">
			<img class="footer" src="doxygen.png" alt="doxygen"/></a> 
		  1.8.3.1
		</li>
		<li class="footer">
		  <a href="http://sourceforge.net/projects/simfqt"><img class="footer" src="http://sflogo.sourceforge.net/sflogo.php?group_id=295242&type=12&format=.png" alt="SourceForge Logo"></a>
		</li>
	  </ul>
	</div>
  </body>
</html>