diff options
author | Anas Nashif <nashif@intel.com> | 2006-11-24 13:44:07 +0000 |
---|---|---|
committer | Anas Nashif <nashif@intel.com> | 2006-11-24 13:44:07 +0000 |
commit | c8fd4c7dff8fc63f9965f647cb9773fbe92de896 (patch) | |
tree | 2eb2427f07bdb224d9f6b43ff06cd6aba80e554d /tests/cunit/enumeration.c | |
parent | 96c999a3e5640bd4095bcaf2600c75449855f6ac (diff) | |
download | wsmancli-c8fd4c7dff8fc63f9965f647cb9773fbe92de896.tar.gz wsmancli-c8fd4c7dff8fc63f9965f647cb9773fbe92de896.tar.xz wsmancli-c8fd4c7dff8fc63f9965f647cb9773fbe92de896.zip |
added more tests, still need to add xpath expression for testing results
Diffstat (limited to 'tests/cunit/enumeration.c')
-rw-r--r-- | tests/cunit/enumeration.c | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/tests/cunit/enumeration.c b/tests/cunit/enumeration.c index 599c1ab..ed9bf80 100644 --- a/tests/cunit/enumeration.c +++ b/tests/cunit/enumeration.c @@ -70,6 +70,62 @@ static TestData tests[] = { 0 }, { + "Enumeration with non existent Resource URI. (Optimized)", + "http://schema.omc-project.org/wbem/wscim/1/cim-schema/2/OMC_InitdService", + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + 200, + FLAG_ENUMERATION_OPTIMIZATION, + 200 + }, + { + "Enumeration with non existent Resource URI. (Optimized/EPR/Count)", + "http://schema.omc-project.org/wbem/wscim/1/cim-schema/2/OMC_InitdService", + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + 200, + FLAG_ENUMERATION_OPTIMIZATION | FLAG_ENUMERATION_ENUM_EPR | FLAG_ENUMERATION_COUNT_ESTIMATION , + 200 + }, + { + "Enumeration with non existent Resource URI. (Optimized/EPR)", + "http://schema.omc-project.org/wbem/wscim/1/cim-schema/2/OMC_InitdService", + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + 200, + FLAG_ENUMERATION_OPTIMIZATION | FLAG_ENUMERATION_ENUM_EPR, + 200 + }, + { + "Enumeration with non existent Resource URI. (Optimized/ObjEPR)", + "http://schema.omc-project.org/wbem/wscim/1/cim-schema/2/OMC_InitdService", + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + 200, + FLAG_ENUMERATION_OPTIMIZATION | FLAG_ENUMERATION_ENUM_OBJ_AND_EPR, + 200 + }, + { "Enumeration with valid Resource URI and Items Count Estimation.", "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ComputerSystem", NULL, |