Skip to content

[Internal review] Script for issue 2451#194

Open
GetmanetsIrina wants to merge 2 commits intodevelopfrom
defects/2451
Open

[Internal review] Script for issue 2451#194
GetmanetsIrina wants to merge 2 commits intodevelopfrom
defects/2451

Conversation

@GetmanetsIrina
Copy link
Copy Markdown

@GetmanetsIrina GetmanetsIrina commented Jun 17, 2022

ATF Test Scripts to check #FORDTCN-5999

This PR is ready for review.

Summary

Scripts to check 2451 issue

ATF version

latest

Changelog

  • Added new scripts
  • Updated 8_1 test set

Note

Both scripts are failed:

  • fist one because SDL does send 0 value
  • second one because DSL does not cut off out of bound elements

CLA


--[[ Local Variables ]]
local maxValue = "0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x21," ..
"0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x41,0x42,0x43,0x44,0x45,0x46," ..
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add indents

Suggested change
"0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x41,0x42,0x43,0x44,0x45,0x46," ..
"0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x41,0x42,0x43,0x44,0x45,0x46," ..

---------------------------------------------------------------------------------------------------
-- Issue: https://github.com/smartdevicelink/sdl_core/issues/2451
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
---------------------------------------------------------------------------------------------------

Comment on lines +26 to +28
"0x98,0x99,0x10,0x20,0x30,0x40,0x50,0x60,0x70,0x80,0x90,0x9A"
local tcs = {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"0x98,0x99,0x10,0x20,0x30,0x40,0x50,0x60,0x70,0x80,0x90,0x9A"
local tcs = {
"0x98,0x99,0x10,0x20,0x30,0x40,0x50,0x60,0x70,0x80,0x90,0x9A"
local tcs = {

-- 3. Mobile app requests RAI
-- SDL does:
-- - not send supportedDiagModes parameter in RAI response in case value is out of min size
-- - send supportedDiagModes value with cutted off elememts number to allowed size in RAI response
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
-- - send supportedDiagModes value with cutted off elememts number to allowed size in RAI response
-- - send supportedDiagModes value with cutted off elements number to allowed size in RAI response

@GetmanetsIrina
Copy link
Copy Markdown
Author

@VjKlepikov, please find update in 976a614

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants