Skip to content

Commit

Permalink
Merge pull request #30 from eclipse-iceoryx/iox2-27-create-trait-test…
Browse files Browse the repository at this point in the history
…s-for-iceoryx2-bb

[#27] Move iceoryx2-bb trait tests to separate crate
  • Loading branch information
elBoberido authored Dec 13, 2023
2 parents 4ae1d6b + 3812c42 commit 60d1520
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
[commit-guidelines]: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
[eca]: http://www.eclipse.org/legal/ECA.php
[testing]: https://github.com/eclipse-iceoryx/iceoryx/blob/master/doc/website/concepts/best-practice-for-testing.md
[changelog]: https://github.com/larry-robotics/iceoryx2/blob/main/doc/release-notes/iceoryx2-unreleased.md
[changelog]: https://github.com/eclipse-iceoryx/iceoryx2/blob/main/doc/release-notes/iceoryx2-unreleased.md

## Checklist for the PR Reviewer

Expand Down
31 changes: 16 additions & 15 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ members = [
"iceoryx2-bb/posix",
"iceoryx2-bb/system-types",
"iceoryx2-bb/testing",
"iceoryx2-bb/trait-tests",

"iceoryx2-cal",
"iceoryx2",
Expand All @@ -32,26 +33,26 @@ license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/eclipse-iceoryx/iceoryx2"
rust-version = "1.72.1"
version = "0.0.1"
version = "0.0.2"

[workspace.dependencies]
iceoryx2-bb-threadsafe = { version = "0.0.1", path = "iceoryx2-bb/threadsafe/" }
iceoryx2-bb-lock-free = { version = "0.0.1", path = "iceoryx2-bb/lock-free/" }
iceoryx2-bb-container = { version = "0.0.1", path = "iceoryx2-bb/container/" }
iceoryx2-bb-elementary = { version = "0.0.1", path = "iceoryx2-bb/elementary/" }
iceoryx2-bb-log = { version = "0.0.1", path = "iceoryx2-bb/log/" }
iceoryx2-bb-memory = { version = "0.0.1", path = "iceoryx2-bb/memory/" }
iceoryx2-bb-posix = { version = "0.0.1", path = "iceoryx2-bb/posix/" }
iceoryx2-bb-system-types = { version = "0.0.1", path = "iceoryx2-bb/system-types/" }
iceoryx2-bb-testing = { version = "0.0.1", path = "iceoryx2-bb/testing/" }
iceoryx2-bb-threadsafe = { version = "0.0.2", path = "iceoryx2-bb/threadsafe/" }
iceoryx2-bb-lock-free = { version = "0.0.2", path = "iceoryx2-bb/lock-free/" }
iceoryx2-bb-container = { version = "0.0.2", path = "iceoryx2-bb/container/" }
iceoryx2-bb-elementary = { version = "0.0.2", path = "iceoryx2-bb/elementary/" }
iceoryx2-bb-log = { version = "0.0.2", path = "iceoryx2-bb/log/" }
iceoryx2-bb-memory = { version = "0.0.2", path = "iceoryx2-bb/memory/" }
iceoryx2-bb-posix = { version = "0.0.2", path = "iceoryx2-bb/posix/" }
iceoryx2-bb-system-types = { version = "0.0.2", path = "iceoryx2-bb/system-types/" }
iceoryx2-bb-testing = { version = "0.0.2", path = "iceoryx2-bb/testing/" }

iceoryx2-pal-concurrency-sync = { version = "0.0.1", path = "iceoryx2-pal/concurrency-sync/" }
iceoryx2-pal-posix = { version = "0.0.1", path = "iceoryx2-pal/posix/" }
iceoryx2-pal-configuration = { version = "0.0.1", path = "iceoryx2-pal/configuration/" }
iceoryx2-pal-concurrency-sync = { version = "0.0.2", path = "iceoryx2-pal/concurrency-sync/" }
iceoryx2-pal-posix = { version = "0.0.2", path = "iceoryx2-pal/posix/" }
iceoryx2-pal-configuration = { version = "0.0.2", path = "iceoryx2-pal/configuration/" }

iceoryx2-cal = { version = "0.0.1", path = "iceoryx2-cal" }
iceoryx2-cal = { version = "0.0.2", path = "iceoryx2-cal" }

iceoryx2 = { version = "0.0.1", path = "iceoryx2/" }
iceoryx2 = { version = "0.0.2", path = "iceoryx2/" }

bindgen = { version = "0.65.1" }
bitflags = { version = "1.3.2" }
Expand Down
1 change: 0 additions & 1 deletion iceoryx2-bb/container/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ iceoryx2-bb-log = { workspace = true }
pin-init = { workspace = true }
generic-tests = { workspace = true }
iceoryx2-bb-memory = { workspace = true }
iceoryx2-bb-system-types = { workspace = true }
iceoryx2-bb-testing = { workspace = true }
3 changes: 0 additions & 3 deletions iceoryx2-bb/elementary/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ rust-version = { workspace = true }
version = { workspace = true }

[dev-dependencies]
iceoryx2-bb-container = { workspace = true }
iceoryx2-bb-memory = { workspace = true }
iceoryx2-bb-lock-free = { workspace = true }
iceoryx2-bb-testing = { workspace = true }

generic-tests = { workspace = true }
Expand Down
24 changes: 24 additions & 0 deletions iceoryx2-bb/trait-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[package]
name = "iceoryx2-bb-trait-tests"
description = "Iceoryx2: [internal] tests for implementations of iceoryx2-bb traits"
categories = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
keywords = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
version = { workspace = true }

[dependencies]

[dev-dependencies]
iceoryx2-bb-container = { workspace = true }
iceoryx2-bb-elementary = { workspace = true }
iceoryx2-bb-memory = { workspace = true }
iceoryx2-bb-lock-free = { workspace = true }
iceoryx2-bb-testing = { workspace = true }
iceoryx2-bb-system-types = { workspace = true }

generic-tests = { workspace = true }
pin-init = { workspace = true }
13 changes: 13 additions & 0 deletions iceoryx2-bb/trait-tests/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Copyright (c) 2023 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

// dummy lib.rs

0 comments on commit 60d1520

Please sign in to comment.