1 | // |
---|---|
2 | // OAuth10CredentialsTest.h |
3 | // |
4 | // Definition of the OAuth10CredentialsTest class. |
5 | // |
6 | // Copyright (c) 2014, Applied Informatics Software Engineering GmbH. |
7 | // and Contributors. |
8 | // |
9 | // SPDX-License-Identifier: BSL-1.0 |
10 | // |
11 | |
12 | |
13 | #ifndef OAuth10CredentialsTest_INCLUDED |
14 | #define OAuth10CredentialsTest_INCLUDED |
15 | |
16 | |
17 | #include "Poco/Net/Net.h" |
18 | #include "Poco/CppUnit/TestCase.h" |
19 | |
20 | |
21 | class OAuth10CredentialsTest: public CppUnit::TestCase |
22 | { |
23 | public: |
24 | OAuth10CredentialsTest(const std::string& name); |
25 | ~OAuth10CredentialsTest(); |
26 | |
27 | void testCallback(); |
28 | void testParams(); |
29 | void testRealm(); |
30 | void testPlaintext(); |
31 | void testVerify(); |
32 | void testVerifyPlaintext(); |
33 | |
34 | void setUp(); |
35 | void tearDown(); |
36 | |
37 | static CppUnit::Test* suite(); |
38 | |
39 | private: |
40 | }; |
41 | |
42 | |
43 | #endif // OAuth10CredentialsTest_INCLUDED |
44 |