From b954073e14a4d5d3b3d1dd3663c982b0680feb23 Mon Sep 17 00:00:00 2001 From: Herbert Poul Date: Sun, 30 Aug 2020 11:57:19 +0200 Subject: [PATCH] tagging tests with kdbx3 and kdbx4 --- test/kdbx4_test.dart | 2 ++ test/kdbx_binaries_test.dart | 4 ++-- test/kdbx_history_test.dart | 2 +- test/kdbx_test.dart | 2 ++ test/kdbx_upgrade_test.dart | 2 ++ 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/test/kdbx4_test.dart b/test/kdbx4_test.dart index 0adac0d..cd588ba 100644 --- a/test/kdbx4_test.dart +++ b/test/kdbx4_test.dart @@ -1,3 +1,5 @@ +@Tags(['kdbx4']) + import 'dart:io'; import 'package:kdbx/kdbx.dart'; diff --git a/test/kdbx_binaries_test.dart b/test/kdbx_binaries_test.dart index 4d2bdd4..9a6fe7d 100644 --- a/test/kdbx_binaries_test.dart +++ b/test/kdbx_binaries_test.dart @@ -122,7 +122,7 @@ void main() { // make sure the file can still be saved. await file.save(); }); - }); + }, tags: ['kdbx3']); group('kdbx4 attachment', () { test('read binary', () async { final file = @@ -171,7 +171,7 @@ void main() { test('Add new attachment kdbx4', () async { await _testAddNewAttachment('test/keepass2kdbx4binaries.kdbx'); }); - }); + }, tags: ['kdbx4']); } class IsUtf8String extends CustomMatcher { diff --git a/test/kdbx_history_test.dart b/test/kdbx_history_test.dart index 3dad37f..376c37d 100644 --- a/test/kdbx_history_test.dart +++ b/test/kdbx_history_test.dart @@ -97,5 +97,5 @@ void main() { await pumpEventQueue(); dirtyExpect.expectFinished(); }); - }); + }, tags: ['kdbx3']); } diff --git a/test/kdbx_test.dart b/test/kdbx_test.dart index 0516a60..05774e1 100644 --- a/test/kdbx_test.dart +++ b/test/kdbx_test.dart @@ -1,3 +1,5 @@ +@Tags(['kdbx3']) + import 'dart:io'; import 'package:kdbx/kdbx.dart'; diff --git a/test/kdbx_upgrade_test.dart b/test/kdbx_upgrade_test.dart index 6f31d08..85327c9 100644 --- a/test/kdbx_upgrade_test.dart +++ b/test/kdbx_upgrade_test.dart @@ -1,3 +1,5 @@ +@Tags(['kdbx3', 'kdbx4']) + import 'package:kdbx/kdbx.dart'; import 'package:kdbx/src/kdbx_header.dart'; import 'package:test/test.dart';