blob: 0f595d2ff4f41270f319c314e55d491a328eedf8 [file]
// Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:jnigen/jnigen.dart';
import 'package:test/test.dart';
import 'generate.dart';
import '../test_util/test_util.dart';
void main() async {
await checkLocallyBuiltDependencies();
generateAndCompareBothModes(
'Generate and compare bindings for simple_package java files',
getConfig(BindingsType.cBased),
getConfig(BindingsType.dartOnly),
);
test("Generate and analyze bindings for simple_package - pure dart",
() async {
await generateAndAnalyzeBindings(
getConfig(BindingsType.dartOnly),
);
}); // test if generated file == expected file
}