LibreOffice Module unotest (master) 1
Classes | Public Member Functions | Static Public Member Functions | Protected Attributes | Private Attributes | List of all members
unotest::MacrosTest Class Reference

#include <macros_test.hxx>

Classes

class  Resetter
 

Public Member Functions

 MacrosTest ()
 
 ~MacrosTest ()
 
css::uno::Reference< css::lang::XComponent > loadFromDesktop (const OUString &rURL, const OUString &rDocService=OUString(), const css::uno::Sequence< css::beans::PropertyValue > &rExtra_args=css::uno::Sequence< css::beans::PropertyValue >())
 
void setUpNssGpg (const test::Directories &rDirectories, const OUString &rTestName)
 
void tearDownNssGpg ()
 

Static Public Member Functions

static css::uno::Any dispatchCommand (const css::uno::Reference< css::lang::XComponent > &xComponent, const OUString &rCommand, const css::uno::Sequence< css::beans::PropertyValue > &rPropertyValues)
 
static std::unique_ptr< SvStreamparseExportStream (const OUString &url, const OUString &rStreamName)
 Opens rStreamName from rTempFile, assuming it's a ZIP storage. More...
 
static bool IsValid (const css::uno::Reference< css::security::XCertificate > &cert, const css::uno::Reference< css::xml::crypto::XSecurityEnvironment > &env)
 
static css::uno::Reference< css::security::XCertificate > GetValidCertificate (const css::uno::Sequence< css::uno::Reference< css::security::XCertificate > > &certs, const css::uno::Reference< css::xml::crypto::XSecurityEnvironment > &env, const css::uno::Sequence< css::beans::PropertyValue > &rFilterData={})
 

Protected Attributes

css::uno::Reference< css::frame::XDesktop2 > mxDesktop
 

Private Attributes

std::unique_ptr< BasicDLLmpDll
 

Detailed Description

Definition at line 55 of file macros_test.hxx.

Constructor & Destructor Documentation

◆ MacrosTest()

unotest::MacrosTest::MacrosTest ( )

Definition at line 39 of file macros_test.cxx.

◆ ~MacrosTest()

unotest::MacrosTest::~MacrosTest ( )
default

References dispatchCommand().

Member Function Documentation

◆ dispatchCommand()

css::uno::Any unotest::MacrosTest::dispatchCommand ( const css::uno::Reference< css::lang::XComponent > &  xComponent,
const OUString &  rCommand,
const css::uno::Sequence< css::beans::PropertyValue > &  rPropertyValues 
)
static

Definition at line 80 of file macros_test.cxx.

References Scheduler::ProcessEventsToIdle(), xController, and xFrame.

◆ GetValidCertificate()

css::uno::Reference< css::security::XCertificate > unotest::MacrosTest::GetValidCertificate ( const css::uno::Sequence< css::uno::Reference< css::security::XCertificate > > &  certs,
const css::uno::Reference< css::xml::crypto::XSecurityEnvironment > &  env,
const css::uno::Sequence< css::beans::PropertyValue > &  rFilterData = {} 
)
static

Definition at line 220 of file macros_test.cxx.

References env.

◆ IsValid()

bool unotest::MacrosTest::IsValid ( const css::uno::Reference< css::security::XCertificate > &  cert,
const css::uno::Reference< css::xml::crypto::XSecurityEnvironment > &  env 
)
static

Definition at line 213 of file macros_test.cxx.

References env.

◆ loadFromDesktop()

uno::Reference< css::lang::XComponent > unotest::MacrosTest::loadFromDesktop ( const OUString &  rURL,
const OUString &  rDocService = OUString(),
const css::uno::Sequence< css::beans::PropertyValue > &  rExtra_args = css::uno::Sequence<css::beans::PropertyValue>() 
)

◆ parseExportStream()

std::unique_ptr< SvStream > unotest::MacrosTest::parseExportStream ( const OUString &  url,
const OUString &  rStreamName 
)
static

Opens rStreamName from rTempFile, assuming it's a ZIP storage.

Definition at line 100 of file macros_test.cxx.

References utl::UcbStreamHelper::CreateStream(), and comphelper::getProcessComponentContext().

◆ setUpNssGpg()

void unotest::MacrosTest::setUpNssGpg ( const test::Directories rDirectories,
const OUString &  rTestName 
)

◆ tearDownNssGpg()

void unotest::MacrosTest::tearDownNssGpg ( )

Definition at line 169 of file macros_test.cxx.

Member Data Documentation

◆ mpDll

std::unique_ptr<BasicDLL> unotest::MacrosTest::mpDll
private

Definition at line 113 of file macros_test.hxx.

◆ mxDesktop

css::uno::Reference<css::frame::XDesktop2> unotest::MacrosTest::mxDesktop
protected

Definition at line 110 of file macros_test.hxx.

Referenced by loadFromDesktop().


The documentation for this class was generated from the following files: