source: trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Parameters_test.cpp @ 82

Last change on this file since 82 was 82, checked in by rosiere, 16 years ago
  • support locale (now must "just" translate)
  • update all component with new test format
  • update all component with usage
  • New component : decod queue and prediction_unit
  • Property svn:keywords set to Id
File size: 598 bytes
Line 
1/*
2 * $Id: Parameters_test.cpp 82 2008-05-01 16:48:45Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/include/Parameters.h"
9
10
11namespace morpheo              {
12namespace behavioural          {
13
14#undef  FUNCTION
15#define FUNCTION "Parameters::test"
16  void Parameters::test (void)         
17  {
18    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
19 
20    Parameters_test x = msg_error();
21   
22    std::cerr << x.print();
23
24    if (x.have_error())
25      throw (ErrorMorpheo ("Error(s) in parameters"));
26
27    log_printf(FUNC,Behavioural,FUNCTION,"End");
28  };
29 
30}; // end namespace behavioural         
31}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.