Searched refs:validateModule (Results 1 – 2 of 2) sorted by relevance
278 assertThrows(IllegalArgumentException.class, () -> AndroidUri.validateModule("reserved")); in validateModule_disallowsReservedModules()279 assertThrows(IllegalArgumentException.class, () -> AndroidUri.validateModule("RESERVED")); in validateModule_disallowsReservedModules()284 AndroidUri.validateModule("a"); in validateModule_allowsNonEmptyLowercaseLetters()285 assertThrows(IllegalArgumentException.class, () -> AndroidUri.validateModule("")); in validateModule_allowsNonEmptyLowercaseLetters()286 assertThrows(IllegalArgumentException.class, () -> AndroidUri.validateModule("A")); in validateModule_allowsNonEmptyLowercaseLetters()287 assertThrows(IllegalArgumentException.class, () -> AndroidUri.validateModule("Aa")); in validateModule_allowsNonEmptyLowercaseLetters()289 assertThrows(IllegalArgumentException.class, () -> AndroidUri.validateModule("mymodule0")); in validateModule_allowsNonEmptyLowercaseLetters()290 assertThrows(IllegalArgumentException.class, () -> AndroidUri.validateModule("myModule")); in validateModule_allowsNonEmptyLowercaseLetters()295 AndroidUri.validateModule("mymodule"); in validateModule_allowsInterleavedUnderscores()296 AndroidUri.validateModule("my_module"); in validateModule_allowsInterleavedUnderscores()[all …]
110 static void validateModule(String module) { in validateModule() method in AndroidUri199 AndroidUri.validateModule(module); in setModule()