Bug 1013153 - Part 2: test cases for mvno type 'spn'. r=hsinyi

This commit is contained in:
Jessica Jong 2014-07-01 02:10:00 +02:00
Родитель f1b7947015
Коммит a2006df884
1 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -17,8 +17,11 @@ let testCases = [
["imsi", "310260000000000", true, true ],
["imsi", "310260000000000123", true, false ],
["imsi", "", false, "InvalidParameter"],
// Currently we only support imsi match.
["spn", "Android", false, "ModeNotSupported"]
["spn", "Android", true, true ],
["spn", "", false, "InvalidParameter"],
["spn", "OneTwoThree", true, false ],
// mvno type gid is not supported yet.
["gid", "A1", false, "ModeNotSupported"]
];
function matchMvno(mvnoType, mvnoData, success, expectedResult) {