-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Add a test suite for TranslationServer #79317
Conversation
52cc7f7
to
e7c3ffe
Compare
I've fixed formatting issues and removed unneeded includes. Also squished 2 commits into one. There's also a typo in my commit message ('suit' -> 'suite'), should I change it? |
int l_count_before = ts->get_loaded_locales().size(); | ||
ts->add_translation(t); | ||
int l_count_after = ts->get_loaded_locales().size(); | ||
// Newly created Translation object should be added to the list, so the counter should increase, too |
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.
// Newly created Translation object should be added to the list, so the counter should increase, too | |
// Newly created Translation object should be added to the list, so the counter should increase, too. |
Comments should start with a capital and end with a period, same elsewhere
|
||
CHECK(res == loc); | ||
|
||
// No such variant in variant_map; should return everyting except the variant |
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.
// No such variant in variant_map; should return everyting except the variant | |
// No such variant in variant_map; should return everything except the variant |
Go ahead and update the commit message spelling when fixing the issues |
e7c3ffe
to
ef155c1
Compare
You accidentally reset your branch to |
Superseded by #79331. |
A test suit that covers
TranslationServer
, see #43440 for more details.