summaryrefslogtreecommitdiff
path: root/protocols/Twitter/oauth/tests/commontest.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Twitter/oauth/tests/commontest.h')
-rw-r--r--protocols/Twitter/oauth/tests/commontest.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/protocols/Twitter/oauth/tests/commontest.h b/protocols/Twitter/oauth/tests/commontest.h
new file mode 100644
index 0000000000..d90d381569
--- /dev/null
+++ b/protocols/Twitter/oauth/tests/commontest.h
@@ -0,0 +1,7 @@
+int test_encoding(char *param, char *expected);
+#ifdef TEST_UNICODE
+int test_uniencoding(wchar_t *src, char *expected);
+#endif
+int test_normalize(char *param, char *expected);
+int test_request(char *http_method, char *request, char *expected);
+int test_sha1(char *c_secret, char *t_secret, char *base, char *expected);