Skip to content

Commit

Permalink
run import_sorter.
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwebrtc committed May 8, 2024
1 parent 8d88300 commit b2fab26
Show file tree
Hide file tree
Showing 16 changed files with 23 additions and 15 deletions.
1 change: 0 additions & 1 deletion lib/src/event_manager/notifier_events.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'package:sip_ua/src/sip_message.dart';

import 'events.dart';

class EventTerminated extends EventType {
Expand Down
3 changes: 2 additions & 1 deletion lib/src/grammar_parser.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// This code was generated by a tool.
// Processing tool available at https://github.com/mezoni/peg

import 'dart:core';
import 'dart:convert';
import 'dart:core';

import 'data.dart';
import 'name_addr_header.dart';
import 'uri.dart';
Expand Down
2 changes: 2 additions & 0 deletions lib/src/rtc_session.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import 'dart:async';
import 'dart:convert';

import 'package:crypto/crypto.dart';
import 'package:flutter_webrtc/flutter_webrtc.dart';
import 'package:sdp_transform/sdp_transform.dart' as sdp_transform;
import 'package:sdp_transform/sdp_transform.dart';

import 'package:sip_ua/sip_ua.dart';
import 'constants.dart' as DartSIP_C;
import 'constants.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/sanity_check.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import 'constants.dart' as DartSIP_C;
import 'constants.dart';
import 'logger.dart';
import 'sip_message.dart';
import 'socket_transport.dart';
import 'transactions/invite_server.dart';
import 'transactions/non_invite_server.dart';
import 'socket_transport.dart';
import 'ua.dart';
import 'utils.dart' as Utils;

Expand Down
2 changes: 1 addition & 1 deletion lib/src/sip_ua_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import 'dart:async';

import 'package:flutter_webrtc/flutter_webrtc.dart';
import 'package:logger/logger.dart';

import 'package:sip_ua/sip_ua.dart';
import 'package:sip_ua/src/map_helper.dart';

import 'package:sip_ua/src/transports/socket_interface.dart';
import 'package:sip_ua/src/transports/tcp_socket.dart';
import 'config.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/transactions/invite_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import '../constants.dart';
import '../event_manager/internal_events.dart';
import '../logger.dart';
import '../sip_message.dart';
import '../timers.dart';
import '../socket_transport.dart';
import '../timers.dart';
import '../ua.dart';
import '../utils.dart';
import 'transaction_base.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/transactions/invite_server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import 'dart:async';
import '../event_manager/internal_events.dart';
import '../logger.dart';
import '../sip_message.dart';
import '../timers.dart';
import '../socket_transport.dart';
import '../timers.dart';
import '../ua.dart';
import 'transaction_base.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/src/transactions/non_invite_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import '../event_manager/event_manager.dart';
import '../event_manager/internal_events.dart';
import '../logger.dart';
import '../sip_message.dart';
import '../timers.dart';
import '../socket_transport.dart';
import '../timers.dart';
import '../ua.dart';
import '../utils.dart';
import 'transaction_base.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/transactions/non_invite_server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import 'dart:async';
import 'package:sip_ua/src/sip_message.dart';
import '../event_manager/internal_events.dart';
import '../logger.dart';
import '../timers.dart';
import '../socket_transport.dart';
import '../timers.dart';
import '../ua.dart';
import 'transaction_base.dart';

Expand Down
3 changes: 2 additions & 1 deletion test/test_classes.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:test/test.dart';

import 'package:sip_ua/src/name_addr_header.dart';
import 'package:sip_ua/src/uri.dart';
import 'package:test/test.dart';

List<void Function()> testFunctions = <void Function()>[
() => test('Class: URI', () {
Expand Down
3 changes: 2 additions & 1 deletion test/test_digest_authentication.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:test/test.dart';

import 'package:sip_ua/src/constants.dart';
import 'package:sip_ua/src/digest_authentication.dart';
import 'package:test/test.dart';

// Results of this tests originally obtained from RFC 2617 and:
// 'https://pernau.at/kd/sipdigest.php'
Expand Down
3 changes: 2 additions & 1 deletion test/test_normalize_target.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:test/test.dart';

import 'package:sip_ua/src/uri.dart';
import 'package:sip_ua/src/utils.dart' as Utils;
import 'package:test/test.dart';

List<void Function()> testFunctions = <void Function()>[
() => test('NormalizeTarget: valid targets', () {
Expand Down
3 changes: 2 additions & 1 deletion test/test_parser.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import 'package:test/test.dart';

import 'package:sip_ua/src/data.dart';
import 'package:sip_ua/src/grammar.dart';
import 'package:sip_ua/src/name_addr_header.dart';
import 'package:sip_ua/src/uri.dart';
import 'package:test/test.dart';

List<void Function()> testFunctions = <void Function()>[
() => test('Parser: Host => [ domain, ipv4, ipv6 ].', () {
Expand Down
2 changes: 1 addition & 1 deletion test/test_sip_message_parser.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:sip_ua/src/parser.dart';
import 'package:test/test.dart';

import 'package:sip_ua/src/parser.dart';
import 'data/sip_message.dart';

List<void Function()> testFunctions = <void Function()>[
Expand Down
3 changes: 2 additions & 1 deletion test/test_sip_ua.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import 'dart:async';

import 'package:test/test.dart';

import 'package:sip_ua/src/config.dart' as config;
import 'package:sip_ua/src/event_manager/event_manager.dart';
import 'package:sip_ua/src/transports/socket_interface.dart';
import 'package:sip_ua/src/transports/web_socket.dart';
import 'package:sip_ua/src/ua.dart';
import 'package:test/test.dart';

late UA ua;
void main() {
Expand Down
3 changes: 2 additions & 1 deletion test/test_websocket.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import 'dart:async';
import 'dart:io';

import 'package:test/test.dart';

import 'package:sip_ua/src/event_manager/events.dart';
import 'package:sip_ua/src/socket_transport.dart';
import 'package:sip_ua/src/transports/socket_interface.dart';
import 'package:sip_ua/src/transports/web_socket.dart';
import 'package:test/test.dart';

List<void Function()> testFunctions = <void Function()>[
() => test(' WebSocket: EchoTest', () async {
Expand Down

0 comments on commit b2fab26

Please sign in to comment.