new version sdk
This commit is contained in:
@@ -1,41 +1,5 @@
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
void main() {
|
||||
/* const MethodChannel channel = MethodChannel('flutter_openim_sdk');
|
||||
|
||||
TestWidgetsFlutterBinding.ensureInitialized();
|
||||
|
||||
setUp(() {
|
||||
channel.setMockMethodCallHandler((MethodCall methodCall) async {
|
||||
return '42';
|
||||
});
|
||||
});
|
||||
|
||||
tearDown(() {
|
||||
channel.setMockMethodCallHandler(null);
|
||||
});
|
||||
|
||||
test('getPlatformVersion', () async {});*/
|
||||
|
||||
// Message m1 = new Message(clientMsgID: '1', content: 'c1');
|
||||
// Message m2 = new Message(clientMsgID: '2', content: 'c2');
|
||||
// Message m3 = new Message(clientMsgID: '3', content: 'c3');
|
||||
// Message m4 = new Message(clientMsgID: '3', content: 'c4');
|
||||
// List list = List.of([m1, m2, m3]);
|
||||
//
|
||||
// print(list.contains(m4));
|
||||
// print(m1 == m4);
|
||||
// print(m2 == m4);
|
||||
// print(m3 == m4);
|
||||
// var input = "1234 @abc @bbc @hha 开什么玩笑";
|
||||
// RegExp exp = new RegExp(r"(@\w+) ");
|
||||
// final ms = exp.allMatches(input);
|
||||
// for (Match m in ms) {
|
||||
// String match = m.group(0)??'';
|
||||
// print('====$match ${m.start} ${m.end}');
|
||||
// }
|
||||
|
||||
// DateTime now = DateTime.now();
|
||||
// print('${now.millisecond}');
|
||||
// print('${now.microsecondsSinceEpoch}');
|
||||
// print('${now.millisecondsSinceEpoch}');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user