1//
2// OAuth20CredentialsTest.h
3//
4// Definition of the OAuth20CredentialsTest 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 OAuth20CredentialsTest_INCLUDED
14#define OAuth20CredentialsTest_INCLUDED
15
16
17#include "Poco/Net/Net.h"
18#include "Poco/CppUnit/TestCase.h"
19
20
21class OAuth20CredentialsTest: public CppUnit::TestCase
22{
23public:
24 OAuth20CredentialsTest(const std::string& name);
25 ~OAuth20CredentialsTest();
26
27 void testAuthorize();
28 void testAuthorizeCustomScheme();
29 void testExtract();
30 void testExtractCustomScheme();
31 void testExtractNoCreds();
32
33 void setUp();
34 void tearDown();
35
36 static CppUnit::Test* suite();
37
38private:
39};
40
41
42#endif // OAuth20CredentialsTest_INCLUDED
43