From 49dae5ced5247dc81ea466d3b34ed1d77ece23d4 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Wed, 26 Jun 2024 14:28:03 -0500 Subject: [PATCH] remove test --- .github/workflows/clippy.yml | 2 -- .github/workflows/test.yml | 6 ++---- crates/tests/debug_inspectable/Cargo.toml | 15 --------------- crates/tests/debug_inspectable/src/lib.rs | 1 - crates/tests/debug_inspectable/tests/tests.rs | 15 --------------- 5 files changed, 2 insertions(+), 37 deletions(-) delete mode 100644 crates/tests/debug_inspectable/Cargo.toml delete mode 100644 crates/tests/debug_inspectable/src/lib.rs delete mode 100644 crates/tests/debug_inspectable/tests/tests.rs diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 2095a6fd4a..57988144fd 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -160,8 +160,6 @@ jobs: run: cargo clippy -p test_core - name: Clippy test_debug run: cargo clippy -p test_debug - - name: Clippy test_debug_inspectable - run: cargo clippy -p test_debug_inspectable - name: Clippy test_debugger_visualizer run: cargo clippy -p test_debugger_visualizer - name: Clippy test_deprecated diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e6944e4e45..84c509d81a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -186,8 +186,6 @@ jobs: run: cargo test -p test_core --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test test_debug run: cargo test -p test_debug --target ${{ matrix.target }} ${{ matrix.etc }} - - name: Test test_debug_inspectable - run: cargo test -p test_debug_inspectable --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test test_debugger_visualizer run: cargo test -p test_debugger_visualizer --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test test_deprecated @@ -258,10 +256,10 @@ jobs: run: cargo test -p test_riddle --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test test_standalone run: cargo test -p test_standalone --target ${{ matrix.target }} ${{ matrix.etc }} - - name: Clean - run: cargo clean - name: Test test_string_param run: cargo test -p test_string_param --target ${{ matrix.target }} ${{ matrix.etc }} + - name: Clean + run: cargo clean - name: Test test_strings run: cargo test -p test_strings --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test test_structs diff --git a/crates/tests/debug_inspectable/Cargo.toml b/crates/tests/debug_inspectable/Cargo.toml deleted file mode 100644 index 5eefdf6bfc..0000000000 --- a/crates/tests/debug_inspectable/Cargo.toml +++ /dev/null @@ -1,15 +0,0 @@ -[package] -name = "test_debug_inspectable" -version = "0.0.0" -edition = "2021" -publish = false - -[lib] -doc = false -doctest = false - -[dependencies.windows] -path = "../../libs/windows" -features = [ - "Foundation_Collections", -] diff --git a/crates/tests/debug_inspectable/src/lib.rs b/crates/tests/debug_inspectable/src/lib.rs deleted file mode 100644 index 8b13789179..0000000000 --- a/crates/tests/debug_inspectable/src/lib.rs +++ /dev/null @@ -1 +0,0 @@ - diff --git a/crates/tests/debug_inspectable/tests/tests.rs b/crates/tests/debug_inspectable/tests/tests.rs deleted file mode 100644 index b61a5d1cfe..0000000000 --- a/crates/tests/debug_inspectable/tests/tests.rs +++ /dev/null @@ -1,15 +0,0 @@ -use windows::{core::*, Foundation::Collections::*, Foundation::*}; - -#[test] -fn test() -> Result<()> { - let stringable: IInspectable = Uri::CreateUri(h!("https://kennykerr.ca"))?.cast()?; - let non_stringable: IInspectable = PropertySet::new()?.cast()?; - - assert_eq!(format!("{:?}", stringable), "\"https://kennykerr.ca/\""); - assert_eq!( - format!("{:?}", non_stringable), - "\"Windows.Foundation.Collections.PropertySet\"" - ); - - Ok(()) -}