Skip to content

Fix the C++ unit tests. Use more specific EXPECT_ clauses#195

Merged
pavel-shirshov merged 3 commits intosonic-net:masterfrom
pavel-shirshov:pavelsh/test_fix
Apr 13, 2018
Merged

Fix the C++ unit tests. Use more specific EXPECT_ clauses#195
pavel-shirshov merged 3 commits intosonic-net:masterfrom
pavel-shirshov:pavelsh/test_fix

Conversation

@pavel-shirshov
Copy link
Contributor

I've converted a lot of EXPECT_TRUE to EXPECT_EQ, EXPECT_NE, EXPECT_LE which allows us to see wrong values when the test isn't correct.
For example it's hard to see values here:

Value of: numberOfKeysSet <= numberOfKeyDeleted
  Actual: false
Expected: true

@pavel-shirshov pavel-shirshov merged commit 947c86d into sonic-net:master Apr 13, 2018
@pavel-shirshov pavel-shirshov deleted the pavelsh/test_fix branch April 13, 2018 21:07
prgeor pushed a commit to prgeor/sonic-swss-common that referenced this pull request Feb 27, 2025
…on. (sonic-net#195)

Platform vendor can add their own logic to determine the pcie
conifiguration revision.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants