Searched refs:mustFail (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/android/net/nsd/ |
D | NsdManagerTest.java | 464 mustFail(() -> { manager.unregisterService(null); }); in doTestInvalidCalls() method 465 mustFail(() -> { manager.registerService(null, -1, null); }); in doTestInvalidCalls() method 466 mustFail(() -> { manager.registerService(null, PROTOCOL, listener1); }); in doTestInvalidCalls() method 467 mustFail(() -> { manager.registerService(invalidService, PROTOCOL, listener1); }); in doTestInvalidCalls() method 468 mustFail(() -> { manager.registerService(validService, -1, listener1); }); in doTestInvalidCalls() method 469 mustFail(() -> { manager.registerService(validService, PROTOCOL, null); }); in doTestInvalidCalls() method 470 mustFail(() -> { in doTestInvalidCalls() method 472 mustFail(() -> { in doTestInvalidCalls() method 476 mustFail(() -> { manager.registerService(validServiceDuplicate, PROTOCOL, listener1); }); in doTestInvalidCalls() method 486 mustFail(() -> { manager.registerService(dotSyntaxSubtypeUpdate, PROTOCOL, listener1); }); in doTestInvalidCalls() method [all …]
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | ConnectivityManagerTest.java | 355 mustFail(() -> manager.requestNetwork(null, callback)); in testArgumentValidation() 356 mustFail(() -> manager.requestNetwork(request, nullCallback)); in testArgumentValidation() 357 mustFail(() -> manager.requestNetwork(request, callback, null)); in testArgumentValidation() 358 mustFail(() -> manager.requestNetwork(request, callback, -1)); in testArgumentValidation() 359 mustFail(() -> manager.requestNetwork(request, nullIntent)); in testArgumentValidation() 361 mustFail(() -> manager.requestBackgroundNetwork(null, callback, handler)); in testArgumentValidation() 362 mustFail(() -> manager.requestBackgroundNetwork(request, null, handler)); in testArgumentValidation() 363 mustFail(() -> manager.requestBackgroundNetwork(request, callback, null)); in testArgumentValidation() 365 mustFail(() -> manager.registerNetworkCallback(null, callback, handler)); in testArgumentValidation() 366 mustFail(() -> manager.registerNetworkCallback(request, null, handler)); in testArgumentValidation() [all …]
|