44#include " TestUtils.h"
55#include " ResourceRegistry.h"
66#include " RestuneParser.h"
7- #include " Extensions.h"
87#include " URMTests.h"
98
109#define TEST_CLASS " COMPONENT"
11-
12- URM_REGISTER_CONFIG (RESOURCE_CONFIG , " /etc/urm/tests/configs/ResourcesConfig.yaml" )
13- URM_REGISTER_CONFIG (PROPERTIES_CONFIG , " /etc/urm/tests/configs/PropertiesConfig.yaml" )
14- URM_REGISTER_CONFIG (SIGNALS_CONFIG , " /etc/urm/tests/configs/SignalsConfig.yaml" )
15- URM_REGISTER_CONFIG (TARGET_CONFIG , " /etc/urm/tests/configs/TargetConfig.yaml" )
16- URM_REGISTER_CONFIG (INIT_CONFIG , " /etc/urm/tests/configs/InitConfig.yaml" )
10+ #define TEST_SUBCAT " 1_URM_EXTN_INTF"
1711
1812static int8_t funcCalled = false ;
1913static int32_t invokeCounter = 0 ;
@@ -33,17 +27,13 @@ static void customTear1(void* context) {
3327 funcCalled = true ;
3428}
3529
36- URM_REGISTER_RES_APPLIER_CB (0x00ff0000 , customApplier1)
37- URM_REGISTER_RES_TEAR_CB (0x00ff0001 , customTear1)
38- URM_REGISTER_RES_APPLIER_CB (0x00ff0002 , customApplier2)
39-
4030static void Init () {
4131 static int8_t initDone = false ;
4232 if (!initDone) {
4333 initDone = true ;
44-
45- RestuneParser configProcessor;
46- configProcessor. parseResourceConfigs ( Extensions::getResourceConfigFilePath ());
34+ URM_REGISTER_RES_APPLIER_CB ( 0x00ff0000 , customApplier1)
35+ URM_REGISTER_RES_TEAR_CB ( 0x00ff0001 , customTear1)
36+ URM_REGISTER_RES_APPLIER_CB ( 0x00ff0002 , customApplier2)
4737 ResourceRegistry::getInstance ()->pluginModifications ();
4838 }
4939}
0 commit comments