Changeset 493 for library/tests
- Timestamp:
- 08/11/09 08:32:02 (16 years ago)
- Location:
- library/tests
- Files:
-
- 11 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/datalink_test.cpp
r477 r493 1 #define BDMLIB // not an ideal way to prevent double registration of UI factories...2 1 #include "../bdm/stat/exp_family.h" 3 2 #include "UnitTest++.h" -
library/tests/egiw_harness.h
r477 r493 29 29 void from_setting ( const Setting &set ); 30 30 }; 31 UIREGISTER(egiw_harness); 31 32 32 33 } -
library/tests/egiw_test.cpp
r477 r493 1 #define BDMLIB // not an ideal way to prevent double registration of UI factories...2 1 #include "base/bdmbase.h" 3 2 #include "base/user_info.h" … … 12 11 13 12 using namespace bdm; 14 15 template<>16 const ParticularUI<egiw> &ParticularUI<egiw>::factory (17 ParticularUI<egiw> ( "egiw" ) );18 19 template<>20 const ParticularUI<egiw_harness> &ParticularUI<egiw_harness>::factory (21 ParticularUI<egiw_harness> ( "egiw_harness" ) );22 13 23 14 TEST ( test_egiw ) { -
library/tests/epdf_harness.cpp
r489 r493 10 10 namespace bdm { 11 11 12 template<>13 const ParticularUI<epdf_harness> &ParticularUI<epdf_harness>::factory (14 ParticularUI<epdf_harness> ( "epdf_harness" ) );15 16 12 void epdf_harness::test_config ( const char *config_file_name ) { 17 13 RV::clear_all(); -
library/tests/epdf_harness.h
r482 r493 13 13 #ifndef EPDF_HARNESS_H 14 14 #define EPDF_HARNESS_H 15 16 #define BDMLIB // not an ideal way to prevent double registration of UI factories...17 15 18 16 #include "bdmroot.h" … … 76 74 void check_cond_covariance( mprod &mep ); 77 75 }; 76 UIREGISTER(epdf_harness); 78 77 79 78 } -
library/tests/epdf_test.cpp
r477 r493 1 #define BDMLIB // not an ideal way to prevent double registration of UI factories...2 1 #include "base/user_info.h" 3 2 #include "stat/exp_family.h" … … 6 5 7 6 using namespace bdm; 8 9 template<>10 const ParticularUI<egamma> &ParticularUI<egamma>::factory (11 ParticularUI<egamma> ( "egamma" ) );12 13 template<>14 const ParticularUI<enorm<ldmat> > &ParticularUI<enorm<ldmat> >::factory (15 ParticularUI<enorm<ldmat> > ( "enorm<ldmat>" ) );16 17 template<>18 const ParticularUI<enorm<fsqmat> > &ParticularUI<enorm<fsqmat> >::factory (19 ParticularUI<enorm<fsqmat> > ( "enorm<fsqmat>" ) );20 21 template<>22 const ParticularUI<enorm<chmat> > &ParticularUI<enorm<chmat> >::factory (23 ParticularUI<enorm<chmat> > ( "enorm<chmat>" ) );24 7 25 8 TEST ( test_egamma ) { -
library/tests/loggers_test.cpp
r477 r493 1 #define BDMLIB // not an ideal way to prevent double registration of UI factories...2 1 #include "base/loggers.h" 3 2 #include "test_util.h" -
library/tests/mpdf_harness.cpp
r484 r493 8 8 9 9 namespace bdm { 10 11 template<>12 const ParticularUI<mpdf_harness> &ParticularUI<mpdf_harness>::factory (13 ParticularUI<mpdf_harness> ( "mpdf_harness" ) );14 10 15 11 void mpdf_harness::test_config ( const char *config_file_name ) { -
library/tests/mpdf_harness.h
r484 r493 13 13 #ifndef MPDF_HARNESS_H 14 14 #define MPDF_HARNESS_H 15 16 #define BDMLIB // not an ideal way to prevent double registration of UI factories...17 15 18 16 #include "bdmroot.h" … … 54 52 void check_covariance(); 55 53 }; 54 UIREGISTER(mpdf_harness); 56 55 57 56 } -
library/tests/mpdf_test.cpp
r492 r493 1 #define BDMLIB // not an ideal way to prevent double registration of UI factories...2 1 #include "base/bdmbase.h" 3 2 #include "base/user_info.h" … … 9 8 10 9 using namespace bdm; 11 12 template<>13 const ParticularUI<mgamma> &ParticularUI<mgamma>::factory (14 ParticularUI<mgamma> ( "mgamma" ) );15 16 template<>17 const ParticularUI<mlnorm<ldmat> > &ParticularUI<mlnorm<ldmat> >::factory (18 ParticularUI<mlnorm<ldmat> > ( "mlnorm<ldmat>" ) );19 20 template<>21 const ParticularUI<mlnorm<chmat> > &ParticularUI<mlnorm<chmat> >::factory (22 ParticularUI<mlnorm<chmat> > ( "mlnorm<chmat>" ) );23 10 24 11 TEST ( test_mepdf ) { -
library/tests/test_util.cpp
r486 r493 1 #define BDMLIB // not an ideal way to prevent double registration of UI factories...2 1 #include "test_util.h" 3 2 #include "stat/exp_family.h"