aboutsummaryrefslogtreecommitdiff
path: root/plugins/altair/tests
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2017-06-28 00:13:22 -0700
committerAleksander Morgado <aleksander@aleksander.es>2017-06-28 18:21:25 +0200
commit989ade7b8c2f8add2b670294453d2a93463b42f2 (patch)
tree36df4fed8291d57d4ea6367f7f8e631993391c4a /plugins/altair/tests
parent0fb0184a2f2c11927ef095fba71e0725e5a6e5e2 (diff)
enums: replace Roman numeral suffixes in MM_MODEM_BAND_EUTRAN_*
3GPP TS 36.101 Table 5.5-1 refers the E-UTRA operating bands as 1, 2, 3, ..., etc.
Diffstat (limited to 'plugins/altair/tests')
-rw-r--r--plugins/altair/tests/test-modem-helpers-altair-lte.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/altair/tests/test-modem-helpers-altair-lte.c b/plugins/altair/tests/test-modem-helpers-altair-lte.c
index 4d038ce1..a4901cd6 100644
--- a/plugins/altair/tests/test-modem-helpers-altair-lte.c
+++ b/plugins/altair/tests/test-modem-helpers-altair-lte.c
@@ -43,10 +43,10 @@ test_parse_bands (void)
bands = mm_altair_parse_bands_response ("0, 0, 1, 4,13,44,45");
g_assert (bands != NULL);
g_assert_cmpuint (bands->len, ==, 4);
- g_assert_cmpuint (g_array_index (bands, MMModemBand, 0), ==, MM_MODEM_BAND_EUTRAN_I);
- g_assert_cmpuint (g_array_index (bands, MMModemBand, 1), ==, MM_MODEM_BAND_EUTRAN_IV);
- g_assert_cmpuint (g_array_index (bands, MMModemBand, 2), ==, MM_MODEM_BAND_EUTRAN_XIII);
- g_assert_cmpuint (g_array_index (bands, MMModemBand, 3), ==, MM_MODEM_BAND_EUTRAN_XLIV);
+ g_assert_cmpuint (g_array_index (bands, MMModemBand, 0), ==, MM_MODEM_BAND_EUTRAN_1);
+ g_assert_cmpuint (g_array_index (bands, MMModemBand, 1), ==, MM_MODEM_BAND_EUTRAN_4);
+ g_assert_cmpuint (g_array_index (bands, MMModemBand, 2), ==, MM_MODEM_BAND_EUTRAN_13);
+ g_assert_cmpuint (g_array_index (bands, MMModemBand, 3), ==, MM_MODEM_BAND_EUTRAN_44);
g_array_free (bands, TRUE);
}