Files
oak-editor/crates/oakengine/src/test_support/mod.rs
T
Mike-Solar 4e5d8747b5 refactor(oakengine): absorb oakcore host symbols into the dylib
The 'host-provided' oakcore_audioparams_* runtime imports dated from
the deleted C++ host; the facade is their only caller. The dylib now
defines and exports the six symbols itself (repr(C) AudioParams mirror,
liboakcore-compatible semantics), -Wl,-undefined,dynamic_lookup is gone,
and the Windows DLL undefined-symbol blocker is removed by construction
(Windows CI/packaging stays off until a real toolchain verifies links).
2026-08-16 18:05:03 +08:00

56 lines
1.9 KiB
Rust

// Oak Video Editor - Non-Linear Video Editor
// Copyright (C) 2026 Oak Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//! Unit-test aggregation for the oakengine facade (single-lib unification).
//!
//! The facade's crate-type is cdylib-only (no rlib), so the former
//! `tests/*.rs` integration tests cannot link `oakengine` as a crate.
//! They moved here (`src/test_support/`, pulled in by `src/lib.rs` under
//! `#[cfg(test)]`) and run as unit tests against `crate::*` instead of
//! `oakengine::*`. The old `#[path = "common/mod.rs"] mod common;` include
//! is replaced by the single [`common`] declaration below — its
//! `oakcore_audioparams_*` re-exports may exist only once per binary.
//!
//! The node/timeline/render-graph families (and the graph-op tests that
//! built fixtures through the deleted handle-based module C ABIs) are
//! part of the pending domain-model redesign; their test files were
//! deleted with this migration (see the migration report).
#![allow(dead_code)]
#[path = "common/mod.rs"]
pub mod common;
mod audio;
mod codec;
mod common_smoke;
mod it_audio;
mod it_codec;
mod it_common;
mod it_export;
mod it_library;
mod it_plugin;
mod it_storage;
mod it_task;
mod it_timeline;
mod it_undo;
mod linkage;
mod node;
mod plugin;
mod render;
mod task;
mod undo;