After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 696409 - ATK tests fail because of incorrect hyphenation
ATK tests fail because of incorrect hyphenation
Status: RESOLVED FIXED
Product: atk
Classification: Platform
Component: atk
2.7.x
Other Windows
: Normal minor
: ---
Assigned To: ATK maintainer(s)
ATK maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-03-22 17:24 UTC by John E
Modified: 2013-03-27 18:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove incorrect hyphenation from ATK 'testrelation' tests. (1.21 KB, patch)
2013-03-22 17:24 UTC, John E
committed Details | Review

Description John E 2013-03-22 17:24:17 UTC
Created attachment 239565 [details] [review]
Remove incorrect hyphenation from ATK 'testrelation' tests.

The module 'atk/tests/testrelation.c' compiles and builds correctly but it fails at run time. Failure is due to the fact that some strings are retrieved from an array called "roles" (defined in atk/atkobject.c). Immediately after retrieval, the strings are compared to see if they match an expected string, such as "page-tab", "layered-pane" and "list-item". It looks like the array strings must have gotten changed at some point because (in the array) they're no longer hyphenated.

The attached patch fixes testrelation.c to use the equivalent, un-hyphenated string in each case, namely:- "page tab", "layered pane" and "list item".
Comment 1 Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-03-22 17:31:56 UTC
(In reply to comment #0)
> Created an attachment (id=239565) [details]
> Remove incorrect hyphenation from ATK 'testrelation' tests.

Looks good.

I will commit it as soon as the hard code freeze [1] ends. 

One question: do you have access to commit the patch or do you need me to commit it on your behalf?


[1] https://live.gnome.org/ThreePointSeven
Comment 2 John E 2013-03-22 17:40:16 UTC
You should do it please, Alejandro. I don't have write access upstream. Thanks.

John
Comment 3 Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-03-27 14:48:05 UTC
(In reply to comment #2)
> You should do it please, Alejandro. I don't have write access upstream. Thanks.
> 
> John

Patch committed. Closing the bug. Thanks.
Comment 4 John E 2013-03-27 18:04:31 UTC
Is this patch commited upstream yet? A git pull still gives me the previous (hyphenated) text. I'm pulling from 'master' AFAIK.
Comment 5 Alejandro Piñeiro Iglesias (IRC: infapi00) 2013-03-27 18:13:27 UTC
(In reply to comment #4)
> Is this patch commited upstream yet? A git pull still gives me the previous
> (hyphenated) text. I'm pulling from 'master' AFAIK.

Yeah sorry, I only pushed this to the branch gnome-3-8. I have just pushed it also to master. Thanks for pointing it.
Comment 6 John E 2013-03-27 18:25:40 UTC
Thanks Alejandro - that seems to have done the trick!