aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/all_functional_test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/tests/all_functional_test.rs')
-rw-r--r--crates/shirabe/tests/all_functional_test.rs19
1 files changed, 19 insertions, 0 deletions
diff --git a/crates/shirabe/tests/all_functional_test.rs b/crates/shirabe/tests/all_functional_test.rs
index 99a7ad0..7b3b228 100644
--- a/crates/shirabe/tests/all_functional_test.rs
+++ b/crates/shirabe/tests/all_functional_test.rs
@@ -3,11 +3,30 @@
// These build the composer.phar and run the .test integration fixtures by invoking the
// composer binary as a subprocess; the phar build and functional-test harness are not
// ported.
+
+// setUp only does cwd management (chdir into Fixtures/functional), which is intentionally
+// not ported, so it has no portable body.
+
+// The chdir back to oldcwd is cwd management (not ported); the removeDirectory of testDir
+// targets a path produced by the unported functional-test run.
+fn tear_down() {
+ todo!()
+}
+
+struct TearDown;
+
+impl Drop for TearDown {
+ fn drop(&mut self) {
+ tear_down();
+ }
+}
+
macro_rules! stub {
($name:ident) => {
#[test]
#[ignore = "not yet ported (builds composer.phar and runs the functional .test fixtures via the binary)"]
fn $name() {
+ let _tear_down = TearDown;
todo!()
}
};