MOD: added integration test and removed debug test
This commit is contained in:
parent
37d53398ef
commit
143427a5d5
|
|
@ -1,11 +0,0 @@
|
||||||
import 'package:integration_test/integration_test.dart';
|
|
||||||
import 'package:flutter_test/flutter_test.dart';
|
|
||||||
import 'package:ccc_cryptography/ccc_cryptography.dart';
|
|
||||||
|
|
||||||
void main() {
|
|
||||||
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
|
|
||||||
setUpAll(() async => await RustLib.init());
|
|
||||||
test('Can call rust function', () async {
|
|
||||||
expect(greet(name: "Tom"), "Hello, Tom!");
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
import 'package:integration_test/integration_test_driver.dart';
|
||||||
|
|
||||||
|
Future<void> main() => integrationDriver();
|
||||||
Loading…
Reference in New Issue