Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Test that basic storage devices do not claim multiscale support (#27)
Browse files Browse the repository at this point in the history
* Update acquire-core-libs. Test that basic storage devices do not claim multiscale support.

* update core-libs

* Update acquire-core-libs.

* Update acquire-core-libs.

---------

Co-authored-by: Nathan Clack <nclack@chanzuckerberg.com>
  • Loading branch information
aliddell and nclack authored Jul 11, 2023
1 parent ca362fd commit 25b2970
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Reflect in Storage capabilities interface that basic Storage devices do not support multiscale.

## [0.1.3](https://github.com/acquire-project/acquire-driver-common/compare/v0.1.2...v0.1.3) - 2023-06-27

### Changed
Expand Down
5 changes: 3 additions & 2 deletions tests/storage-get-meta.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// @file
/// @brief Check that all storage devices implement the get_meta function.
/// Also, since none of the storage devices support chunking, check that this is
/// reflected in the metadata.
/// Also, since none of the basic storage devices support chunking or
/// multiscale, check that this is reflected in the metadata.

#include "platform.h"
#include "logger.h"
Expand Down Expand Up @@ -73,6 +73,7 @@ main()

CHECK(Device_Ok == storage_get_meta(storage, &metadata));
CHECK(0 == metadata.chunking.supported);
CHECK(0 == metadata.multiscale.supported);

CHECK(Device_Ok == driver_close_device(device));
}
Expand Down

0 comments on commit 25b2970

Please sign in to comment.