Test: Don't check results when no type-c ports

For those devices without type-c ports, the queryPortStatus test is
always failed.Because there are no PortStatus for the callbacks.
Adding an additional condition branch to skip the results checking when
there are no PortStatus.

Bug: 281643316
(https://partnerissuetracker.corp.google.com/issues/281643316)
Change-Id: Ibf599038b542d5d81a2af9ab2097f2f868be0447
Signed-off-by: Haotien Hsu <haotienh@nvidia.com>
1 file changed