Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
ONCatHelper.h File Reference
#include "MantidCatalog/ONCat.h"
#include "MantidKernel/Exception.h"
#include "MantidKernel/InternetHelper.h"
#include <map>
#include <memory>

Go to the source code of this file.

Classes

class  Mantid::FrameworkTestHelpers::MockONCatAPI
 
class  Mantid::FrameworkTestHelpers::MockTokenStore
 

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::FrameworkTestHelpers
 

Typedefs

using Mantid::FrameworkTestHelpers::MockResponseCallCounts = std::map< std::string, unsigned int >
 
using Mantid::FrameworkTestHelpers::MockResponseCallMapping = std::pair< const std::basic_string< char >, unsigned int >
 
using Mantid::FrameworkTestHelpers::MockResponseMap = std::map< std::string, std::pair< InternetHelper::HTTPStatus, std::string > >
 

Functions

std::shared_ptr< MockONCatAPI > Mantid::FrameworkTestHelpers::make_mock_oncat_api (const MockResponseMap &responseMap)
 
IOAuthTokenStore_uptr Mantid::FrameworkTestHelpers::make_mock_token_store ()
 
IOAuthTokenStore_uptr Mantid::FrameworkTestHelpers::make_mock_token_store_already_logged_in ()
 
std::unique_ptr< ONCat > Mantid::FrameworkTestHelpers::make_oncat_with_mock_api (const std::shared_ptr< MockONCatAPI > &mockAPI)