feat: Fix moxxmpp_socket_tcp's pubspec

This commit is contained in:
PapaTutuWawa 2022-11-08 20:11:56 +01:00
parent 7d3ec12b8b
commit 5dc4286e74
4 changed files with 12 additions and 42 deletions

View File

@ -8,23 +8,23 @@ environment:
sdk: '>=2.18.0 <3.0.0' sdk: '>=2.18.0 <3.0.0'
dependencies: dependencies:
cryptography: 2.0.5 cryptography: ^2.0.5
freezed: ^2.1.0+1 freezed: ^2.1.0+1
freezed_annotation: 2.1.0 freezed_annotation: ^2.1.0
hex: 0.2.0 hex: ^0.2.0
json_serializable: ^6.3.1 json_serializable: ^6.3.1
logging: 1.0.2 logging: ^1.0.2
meta: ^1.7.0 meta: ^1.7.0
moxlib: moxlib:
hosted: https://git.polynom.me/api/packages/Moxxy/pub hosted: https://git.polynom.me/api/packages/Moxxy/pub
version: 0.1.5 version: ^0.1.5
omemo_dart: omemo_dart:
hosted: https://git.polynom.me/api/packages/PapaTutuWawa/pub hosted: https://git.polynom.me/api/packages/PapaTutuWawa/pub
version: 0.3.2 version: ^0.3.2
random_string: 2.3.1 random_string: ^2.3.1
saslprep: 1.0.2 saslprep: ^1.0.2
synchronized: 3.0.0+2 synchronized: ^3.0.0+2
uuid: 3.0.5 uuid: ^3.0.5
xml: ^6.1.0 xml: ^6.1.0
dev_dependencies: dev_dependencies:

View File

@ -1,3 +1,3 @@
## 1.0.0 ## 0.1.0
- Initial version. - Initial version.

View File

@ -12,7 +12,7 @@ dependencies:
meta: ^1.6.0 meta: ^1.6.0
moxxmpp: moxxmpp:
hosted: https://git.polynom.me/api/packages/Moxxy/pub hosted: https://git.polynom.me/api/packages/Moxxy/pub
version: 0.1.0 version: ^0.1.0
dev_dependencies: dev_dependencies:
lints: ^2.0.0 lints: ^2.0.0

View File

@ -1,30 +0,0 @@
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility in the flutter_test package. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:moxxmpp_socket/main.dart';
void main() {
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(const MyApp());
// Verify that our counter starts at 0.
expect(find.text('0'), findsOneWidget);
expect(find.text('1'), findsNothing);
// Tap the '+' icon and trigger a frame.
await tester.tap(find.byIcon(Icons.add));
await tester.pump();
// Verify that our counter has incremented.
expect(find.text('0'), findsNothing);
expect(find.text('1'), findsOneWidget);
});
}