-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Native SDK unit tests part 1 #325
base: next
Are you sure you want to change the base?
Conversation
Core SDK - MFOS standalone sanity report: |
|
||
Firebolt::Advertising::AdvertisingId actualValues= Firebolt::IFireboltAccessor::Instance().AdvertisingInterface().advertisingId(options, &error); | ||
|
||
ASSERT_EQ(error, Firebolt::Error::None) << "Error occurred during advertisingId call"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Can we print the error we get if we get one?
- Can this logging be done in all tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified all tests with appropriate logging
} | ||
|
||
|
||
TEST_F(CapabilitiesTest, TestCapabilitiesinfo) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have some more clarity through comments on what's being tested here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this still needs to be addressed. but somehow became outdate. will keep this open until being addressed
EXPECT_EQ(actualValue.type, expectedValues.type); | ||
} | ||
|
||
TEST_F(DeviceTest, DeviceScreenResolution) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a difference between this test and the one at line 243?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good spot! there was a correction in test name, the correct name for the other test is TEST_F(DeviceTest, VideoResolution)
. Now corrected.
63b0c64
to
d34b44d
Compare
Core SDK - MFOS standalone sanity report: |
Core SDK - MFOS standalone sanity report: |
Core SDK - MFOS standalone sanity report: |
b3de5d7
to
eafe257
Compare
eafe257
to
24e2020
Compare
Core SDK - MFOS standalone sanity report: |
Core SDK - MFOS standalone sanity report: |
b'## WARNING: A Blackduck scan failure has been waived A prior failure has been upvoted
|
Moved to #328 |
Unit tests with google test framework, dependency updates
Changes pulled in from PR 315