Skip to content

Commit

Permalink
remove obsolete tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Izchomatik committed Oct 26, 2024
1 parent a7126f9 commit 956f154
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 59 deletions.
34 changes: 0 additions & 34 deletions test/model/receiver_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>.from(['1', '2', '3']);
Expand Down
25 changes: 0 additions & 25 deletions test/model/sender_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 956f154

Please sign in to comment.