X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/b04fe171f0375ecd5d8a24747ca1dff85720a0ca..6b200bc335dc93c5516ccb52f14bd896d8c7fad7:/SecurityTests/regressions/ut/ut-00-errors.cpp?ds=sidebyside diff --git a/SecurityTests/regressions/ut/ut-00-errors.cpp b/SecurityTests/regressions/ut/ut-00-errors.cpp deleted file mode 100755 index a06e85f3..00000000 --- a/SecurityTests/regressions/ut/ut-00-errors.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include - -#include "testcpp.h" - -using namespace Security; - -int main(int argc, char *const *argv) -{ - plan_tests(5); - - no_throw(, "doesn't throw"); - does_throw(throw 1, "does throw"); - does_throw(UnixError::throwMe(1), "throws something."); - is_throw(UnixError::throwMe(1), CommonError, unixError(), 1, - "throws UnixError 1"); - is_throw(UnixError::throwMe(1), CommonError, osStatus(), 100001, - "throws osStatus 100001"); -}