blob: 3fadaea6b54cebd24e081e9de27cf702d903c1b2 [file] [log] [blame]
// Copyright (c) 2021, 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:ffigen/src/code_generator.dart';
import 'package:ffigen/src/config_provider.dart';
import 'package:ffigen/src/header_parser.dart' as parser;
import 'package:ffigen/src/strings.dart' as strings;
import 'package:logging/logging.dart';
import 'package:test/test.dart';
import 'package:yaml/yaml.dart' as yaml;
import '../test_utils.dart';
late Library actual;
void main() {
group('comment_markup_test', () {
setUpAll(() {
actual = parser.parse(
${}: 'NativeLibrary'
${strings.description}: 'Comment Markup Test'
${strings.output}: 'unused'
- 'test/header_parser_tests/comment_markup.h'
${}: ${strings.any}
${strings.length}: ${strings.full}
''') as yaml.YamlMap),
test('Expected bindings', () {
matchLibraryWithExpected(actual, [
], [