Skip to content

[MPQEditor] Implement 'validateMPQName'#1516

Merged
seanshpark merged 1 commit into
Samsung:mainfrom
stamalakhov:manual_MPQ_defautMPQ_br
Apr 5, 2023
Merged

[MPQEditor] Implement 'validateMPQName'#1516
seanshpark merged 1 commit into
Samsung:mainfrom
stamalakhov:manual_MPQ_defautMPQ_br

Conversation

@stamalakhov

Copy link
Copy Markdown
Contributor

This commit implements 'validateMPQName' and adds tests for it.

Fresh draft: #1511
Previous draft: #1505
Related: #1491

ONE-vscode-DCO-1.0-Signed-off-by: s.malakhov s.malakhov@partner.samsung.com

@stamalakhov
stamalakhov requested review from dayo09 and seanshpark April 3, 2023 08:48
@stamalakhov stamalakhov self-assigned this Apr 3, 2023
@stamalakhov
stamalakhov force-pushed the manual_MPQ_defautMPQ_br branch from 53357da to 84d8f1e Compare April 3, 2023 08:55
Comment thread src/Tests/MPQEditor/MPQEditor.test.ts Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
assert(retValue === undefined);
assert(retValue === undefined);

You can use assert.isUndefined(retvalue)
From clean code's view, better to read the human language. :-D

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ah. Thank you!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed.

Comment thread src/Tests/MPQEditor/MPQEditor.test.ts Outdated
@dayo09

dayo09 commented Apr 3, 2023

Copy link
Copy Markdown
Contributor

Thanks! It's even better to understand the code with the unit test.

@stamalakhov
stamalakhov force-pushed the manual_MPQ_defautMPQ_br branch from eaaab7a to 69525fd Compare April 3, 2023 09:41
Comment thread src/Tests/MPQEditor/MPQEditor.test.ts Outdated
@stamalakhov
stamalakhov force-pushed the manual_MPQ_defautMPQ_br branch 2 times, most recently from 97fa678 to b06c973 Compare April 3, 2023 10:38
dayo09
dayo09 previously approved these changes Apr 3, 2023

@dayo09 dayo09 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, Thanks :-D

Comment thread src/MPQEditor/MPQEditor.ts Outdated
Comment thread src/MPQEditor/MPQEditor.ts Outdated
This commit implements 'validateMPQName' and adds tests for it.

ONE-vscode-DCO-1.0-Signed-off-by: s.malakhov <s.malakhov@partner.samsung.com>
@stamalakhov
stamalakhov force-pushed the manual_MPQ_defautMPQ_br branch from bb2094a to dd260dc Compare April 4, 2023 09:50

@seanshpark seanshpark left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM thank you!

@stamalakhov
stamalakhov requested a review from dayo09 April 4, 2023 10:20
@seanshpark

Copy link
Copy Markdown
Contributor

landing this PR without confirm from @dayo09 as @dayo09 is absent this week for edu. course.

@seanshpark
seanshpark merged commit 27d7fa2 into Samsung:main Apr 5, 2023
@stamalakhov
stamalakhov deleted the manual_MPQ_defautMPQ_br branch April 5, 2023 08:38
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.

3 participants