bool TestExtStream::test_stream_wrapper_unregister() { try { f_stream_wrapper_unregister(""); } catch (NotSupportedException e) { return Count(true); } return Count(false); }
bool TestExtStream::test_stream_wrapper_restore() { int64_t count = f_count(f_stream_get_wrappers()); VS(f_stream_wrapper_unregister("http"), true); VS(f_count(f_stream_get_wrappers()), count - 1); VS(f_stream_wrapper_restore("http"), true); VS(f_count(f_stream_get_wrappers()), count); return Count(true); }