Skip to content
GitHub Actions / Report (Medium test (Windows) (framework)) failed Aug 16, 2024 in 1s

24 passed, 1 failed and 1 skipped

Tests failed

❌ reports/test_report.log

26 tests were completed in 101s with 24 passed, 1 failed and 1 skipped.

Test suite Passed Failed Skipped Time
integration_test/framework/framework_test.dart 24✅ 1❌ 1⚪ 588ms

❌ integration_test/framework/framework_test.dart

Framework test DatabaseRepository
  ⚪ .receive
Framework test Database factory test: open
  ✅ : once.
  ✅ : twice.
Framework test Database accessor test: operations
  ✅ : insert.
  ✅ : count.
  ✅ : update.
  ✅ : delete.
Framework test DatabaseRepository .shipFileByNameIs
  ✅ on no receive.
  ✅ received.
Framework test DatabaseTupleRepository tests
  ✅ #new
Framework test DatabaseTupleRepository tests
  ✅ : count.
Framework test Database factory test: open : as no onTest
  ✅ : database has no "test_".
Framework test DatabaseTupleRepository tests operations #count
  ✅ : all.
  ❌ : condition.
	SqfliteFfiException(error, Invalid argument(s): Invalid sql argument type 'bool': false}) DatabaseException(Invalid argument(s): Invalid sql argument type 'bool': false)
Framework test DatabaseTupleRepository tests ship
  ✅ group by
  ✅ order by
Framework test Database factory test: open : upgrade
  ✅ : do not upgrade if have not been closed.
  ✅ : add table.
  ✅ : add column.
Framework test DatabaseTupleRepository tests operations #receive
  ✅ : received.
Framework test Database accessor test: operations : select
  ✅ : simple.
  ✅ group by.
  ✅ : where.
  ✅ : orderBy.
  ✅ : offset.
  ✅ : limit.

Annotations

Check failure on line 28 in integration_test/framework/framework_test.dart

See this annotation in the file changed.

@github-actions github-actions / Report (Medium test (Windows) (framework))

integration_test/framework/framework_test.dart ► Framework test DatabaseTupleRepository tests operations #count ► : condition.

Failed test found in:
  reports/test_report.log
Error:
  SqfliteFfiException(error, Invalid argument(s): Invalid sql argument type 'bool': false}) DatabaseException(Invalid argument(s): Invalid sql argument type 'bool': false)
Raw output
[T] TIME: 2024-08-16T13:37:21.517736 DatabaseTupleRepository.count [start] :: {
  condition: a = false,
}
[T] TIME: 2024-08-16T13:37:21.518739 DatabaseAccessor.count [start] :: {
  tableDefinition: TableDefinition: {name: test_object, columnDefinitions: (BooleanColumnDefinition: {name: a, type: INTEGER, notNull: true, isPrimaryKey: false}, IntegerColumnDefinition: {name: id, type: INTEGER, notNull: true, isPrimaryKey: true}, TimestampColumnDefinition: {name: createdAt, type: TIMESTAMP, notNull: true, isPrimaryKey: false}, TimestampColumnDefinition: {name: updatedAt, type: TIMESTAMP, notNull: false, isPrimaryKey: false}, TimestampColumnDefinition: {name: archivedAt, type: TIMESTAMP, notNull: false, isPrimaryKey: false}), singularName: null},
  where: a = ?,
  whereArgs: [
    false,
  ],
}
*** WARNING ***

Invalid argument false with type bool.
Only num, String and Uint8List are supported. See https://github.com/tekartik/sqflite/blob/master/sqflite/doc/supported_types.md for details

This will throw an exception in the future. For now it is displayed once per type.

    
[E] TIME: 2024-08-16T13:37:21.523743 responseToResultOrThrow [error] !!  ERROR: SqfliteFfiException(error, Invalid argument(s): Invalid sql argument type 'bool': false}) DatabaseException(Invalid argument(s): Invalid sql argument type 'bool': false)
[E] TIME: 2024-08-16T13:37:21.524741 responseToResultOrThrow [error] !!  ERROR: SqfliteFfiException(error, Invalid argument(s): Invalid sql argument type 'bool': false}) DatabaseException(Invalid argument(s): Invalid sql argument type 'bool': false)
package:sqflite_common_ffi/src/method_call.dart 125:9                                                           responseToResultOrThrow
package:sqflite_common_ffi/src/isolate.dart 33:12                                                               SqfliteIsolate.handle
===== asynchronous gap ===========================
package:stream_channel                                                                                          _GuaranteeSink.add
c:/Users/RUNNER~1/AppData/Local/Temp/flutter_tools.eec78bb6/flutter_test_listener.1fb71642/listener.dart 53:22  main.<fn>