Skip to content

Commit

Permalink
Add sairedis api tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kcudnik committed Aug 23, 2021
1 parent 9a96cd7 commit bc27a04
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions unittest/lib/test_sai_redis_interfacequery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,29 @@ TEST(libsairedis, sai_switch_id_query)
{
EXPECT_EQ(SAI_NULL_OBJECT_ID, sai_switch_id_query(SAI_NULL_OBJECT_ID));
}


TEST(libsairedis, sai_bulk_get_attribute)
{
EXPECT_EQ(SAI_STATUS_NOT_IMPLEMENTED, sai_bulk_get_attribute(0,SAI_OBJECT_TYPE_NULL,0,0,0,0,0));
}

TEST(libsairedis, sai_get_maximum_attribute_count)
{
EXPECT_EQ(SAI_STATUS_NOT_IMPLEMENTED, sai_get_maximum_attribute_count(0, SAI_OBJECT_TYPE_NULL,0));
}

TEST(libsairedis, sai_get_object_count)
{
EXPECT_EQ(SAI_STATUS_NOT_IMPLEMENTED, sai_get_object_count(0,SAI_OBJECT_TYPE_NULL,0));
}

TEST(libsairedis, sai_get_object_key)
{
EXPECT_EQ(SAI_STATUS_NOT_IMPLEMENTED, sai_get_object_key(0,SAI_OBJECT_TYPE_NULL,0,0));
}

TEST(libsairedis, sai_query_stats_capability)
{
EXPECT_EQ(SAI_STATUS_NOT_IMPLEMENTED, sai_query_stats_capability(0,SAI_OBJECT_TYPE_NULL,0));
}

0 comments on commit bc27a04

Please sign in to comment.