Skip to content

Not implemented tests in the example app #80

@DominikZajac

Description

@DominikZajac

These test pages are currently not implemented, some of them due to lack of the actual feature in the app:

  • CustomLoggingTests,
  • DocumentExpirationTests,
  • FileLoggingTests,
  • FragmentTests,
  • ListenerTests - this has only 1 test that has been reimplemented and extended in CollectionTests,
  • PredicateQueryTests,
  • VectorSearchTest.

There is also an issue with testCopyingDatabase() in DatabaseTests. Currently the test is not implemented and commented out. I tried implementing it by calling the .copy() method on the instance that we use in test suite (created in test-case.ts). I got these responses when calling the method:

  • Kotlin:
  {
    "message": "not found [1, 7] (CouchbaseLite, 7)  [CouchbaseLite Android v3.2.2-21@34 (EE/release, Commit/89a453d45e@4ac2f0bdc377 Core/3.2.2 (12) at 2025-02-24T21:01:56.058665049Z) on Java; Android 16; sdk_gphone64_arm64]"
  }
  • Swift:
 {
    "errorMessage": "Failed to copy database: The operation couldn't be completed. (CblIonic.DatabaseError error 5.)"
 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions