diff --git a/test/model/receiver_test.dart b/test/model/receiver_test.dart index 3852aa3..a644e45 100644 --- a/test/model/receiver_test.dart +++ b/test/model/receiver_test.dart @@ -17,40 +17,6 @@ void main() { expect(receiver.repairPort, -1); }); - test('Check the receivers start method when receiver is not active.', - () async { - final receiver = makeReceiver(); - expect(receiver.isStarted, false); - await receiver.requestAsyncStart(); - expect(receiver.isStarted, true); - }); - - test('Check the receivers start method when receiver is active.', () async { - final receiver = makeReceiver(); - expect(receiver.isStarted, false); - await receiver.requestAsyncStart(); - expect(receiver.isStarted, true); - await receiver.requestAsyncStart(); - expect(receiver.isStarted, true); - }); - - test('Check the receivers stop method when receiver is active.', () async { - final receiver = makeReceiver(); - expect(receiver.isStarted, false); - await receiver.requestAsyncStart(); - expect(receiver.isStarted, true); - await receiver.requestAsyncStop(); - expect(receiver.isStarted, false); - }); - - test('Check the receivers stop method when receiver is not active.', - () async { - final receiver = makeReceiver(); - expect(receiver.isStarted, false); - await receiver.requestAsyncStop(); - expect(receiver.isStarted, false); - }); - test('Check the receivers IPs setter method.', () async { final receiver = makeReceiver(); final testIPs = List.from(['1', '2', '3']); diff --git a/test/model/sender_test.dart b/test/model/sender_test.dart index 09d1d77..4d27c01 100644 --- a/test/model/sender_test.dart +++ b/test/model/sender_test.dart @@ -20,31 +20,6 @@ void main() { sender.captureSource, CaptureSourceType.currentlyPlayingApplications); }); - test('Check the senders start method when sender is not active.', () async { - final sender = makeSender(); - expect(sender.isStarted, false); - await sender.requestAsyncStart(); - expect(sender.isStarted, true); - }); - - test('Check the senders start method when sender is active.', () async { - final sender = makeSender(); - expect(sender.isStarted, false); - await sender.requestAsyncStart(); - expect(sender.isStarted, true); - await sender.requestAsyncStart(); - expect(sender.isStarted, true); - }); - - test('Check the senders stop method when sender is active.', () async { - final sender = makeSender(); - expect(sender.isStarted, false); - await sender.requestAsyncStart(); - expect(sender.isStarted, true); - await sender.requestAsyncStop(); - expect(sender.isStarted, false); - }); - test('Check the senders stop method when sender is not active.', () async { final sender = makeSender(); expect(sender.isStarted, false);