gnome-shell/tests/testcommon
Aleksander Morgado 70736be4eb mobile-providers: new country-specific type to gather providers
shell_mobile_providers_parse() was returning the country information split
into a hash table with providers and a hash table with country names. This
patch merges both outputs into a single per-country object, so the parse()
method now returns a GHashTable with the following element-type:
   (element-type utf8 ShellCountryMobileProvider>)
This also avoids more complex setups like returning lists inside of hash tables,
which was actually breaking either g-i or gtk-doc.

shell_mobile_providers_parse() was also modified to allow inputting the paths
of the country codes and provider list files to use. If paths are not given, the
default ones will be used. This helps us to provide test files during unit
tests.

Both the findProviderForMCCMNC() and findProviderForSid() methods are exported
out of the GSM and CDMA specific classes, and new unit tests for them are
implemented. Tests can be run manually with:
    $> ./tests/run-test.sh tests/unit/mobileProviders.js

https://bugzilla.gnome.org/show_bug.cgi?id=687356.
2012-11-05 22:20:08 +01:00
..
100-200.svg St: Implement background-size CSS property 2011-12-23 14:23:23 -05:00
200-100.svg St: Implement background-size CSS property 2011-12-23 14:23:23 -05:00
200-200.svg St: Implement background-size CSS property 2011-12-23 14:23:23 -05:00
border-image.png Add support for colored borders 2009-10-01 14:41:19 -04:00
face-plain.png tests: showcase borders with non-solid backgrounds 2011-01-24 12:23:11 -05:00
iso3166-test.tab mobile-providers: new country-specific type to gather providers 2012-11-05 22:20:08 +01:00
serviceproviders-test.xml mobile-providers: new country-specific type to gather providers 2012-11-05 22:20:08 +01:00
test.css st-theme-node: Add repeating backgrounds 2012-08-03 12:27:20 -03:00
ui.js tests: Run each test in a function 2012-06-24 19:20:48 -04:00