[beast: 5/6] TESTS: remove sfidl procedure test
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 5/6] TESTS: remove sfidl procedure test
- Date: Tue, 3 Oct 2017 00:26:48 +0000 (UTC)
commit 8bd8d11298d8108772d58847efbb97486a3637e3
Author: Tim Janik <timj gnu org>
Date: Tue Oct 3 01:18:43 2017 +0200
TESTS: remove sfidl procedure test
Signed-off-by: Tim Janik <timj gnu org>
tests/bse/testplugin.cc | 16 ----------------
tests/bse/testplugin.idl | 5 -----
2 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/tests/bse/testplugin.cc b/tests/bse/testplugin.cc
index 68384a4..35f578c 100644
--- a/tests/bse/testplugin.cc
+++ b/tests/bse/testplugin.cc
@@ -35,27 +35,11 @@ public:
#endif
};
-SfiInt
-Procedure::test_exception::exec (SfiInt i,
- TestObject* o,
- SfiInt bar,
- FunkynessType ft)
-{
- printout ("testplugin.cc: test_exception: i=%d obj=%p bar=%d ft=%d (MODERATELY_FUNKY=%d)\n",
- i, o, bar, ft, (int) MODERATELY_FUNKY);
- if (ft != MODERATELY_FUNKY)
- throw std::runtime_error ("need to be moderately funky");
- if (!o)
- throw std::runtime_error ("object pointer is NULL");
- return i + bar;
-}
-
BSE_CXX_DEFINE_EXPORTS();
BSE_CXX_REGISTER_ENUM (FunkynessType);
BSE_CXX_REGISTER_RECORD (TestRecord);
BSE_CXX_REGISTER_SEQUENCE (TestSequence);
BSE_CXX_REGISTER_EFFECT (TestObject);
-BSE_CXX_REGISTER_PROCEDURE (test_exception);
} // Test
diff --git a/tests/bse/testplugin.idl b/tests/bse/testplugin.idl
index 6e25d69..2010cdc 100644
--- a/tests/bse/testplugin.idl
+++ b/tests/bse/testplugin.idl
@@ -33,9 +33,4 @@ interface TestObject : Bse::Effect {
property Bse::Item it; // C Object
};
-// test procedure
-Int test_exception (Int i, TestObject o, Int bar, FunkynessType ft) {
- Info category = "/Toys/Test Exception";
-}
-
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]