Home
last modified time | relevance | path

Searched refs:SourceLineInfo (Results 1 – 25 of 46) sorted by relevance

12

/external/catch2/include/internal/
Dcatch_common.h47 struct SourceLineInfo { struct
49 SourceLineInfo() = delete;
50 SourceLineInfo( char const* _file, std::size_t _line ) noexcept in SourceLineInfo() function
55 SourceLineInfo( SourceLineInfo const& other ) = default;
56 SourceLineInfo& operator = ( SourceLineInfo const& ) = default; argument
57 SourceLineInfo( SourceLineInfo&& ) noexcept = default;
58 SourceLineInfo& operator = ( SourceLineInfo&& ) noexcept = default; argument
61 bool operator == ( SourceLineInfo const& other ) const noexcept;
62 bool operator < ( SourceLineInfo const& other ) const noexcept;
68 std::ostream& operator << ( std::ostream& os, SourceLineInfo const& info ); argument
[all …]
Dcatch_common.cpp18 bool SourceLineInfo::empty() const noexcept { in empty()
21 bool SourceLineInfo::operator == ( SourceLineInfo const& other ) const noexcept { in operator ==()
24 bool SourceLineInfo::operator < ( SourceLineInfo const& other ) const noexcept { in operator <()
30 std::ostream& operator << ( std::ostream& os, SourceLineInfo const& info ) { in operator <<()
Dcatch_section_info.h20 ( SourceLineInfo const& _lineInfo,
25 ( SourceLineInfo const& _lineInfo, in SectionInfo()
31 SourceLineInfo lineInfo;
Dcatch_message.h24 SourceLineInfo const& _lineInfo,
29 SourceLineInfo lineInfo;
52 SourceLineInfo const& lineInfo,
80 …Capturer( StringRef macroName, SourceLineInfo const& lineInfo, ResultWas::OfType resultType, Strin…
Dcatch_test_case_info.h42 SourceLineInfo const& _lineInfo );
58 SourceLineInfo lineInfo;
83 SourceLineInfo const& lineInfo );
Dcatch_tag_alias.h18 TagAlias(std::string const& _tag, SourceLineInfo _lineInfo);
21 SourceLineInfo lineInfo;
Dcatch_message.cpp19 SourceLineInfo const& _lineInfo, in MessageInfo()
42 SourceLineInfo const& lineInfo, in MessageBuilder()
69 …Capturer::Capturer( StringRef macroName, SourceLineInfo const& lineInfo, ResultWas::OfType resultT… in Capturer()
Dcatch_test_case_info.cpp43 void enforceNotReservedTag( std::string const& tag, SourceLineInfo const& _lineInfo ) { in enforceNotReservedTag()
54 SourceLineInfo const& _lineInfo ) in makeTestCase()
111 SourceLineInfo const& _lineInfo ) in TestCaseInfo()
Dcatch_interfaces_capture.h28 struct SourceLineInfo;
42 … virtual auto acquireGeneratorTracker( SourceLineInfo const& lineInfo ) -> IGeneratorTracker& = 0;
Dcatch_test_case_tracker.h23 SourceLineInfo location;
25 NameAndLocation( std::string const& _name, SourceLineInfo const& _location );
Dcatch_section_info.cpp13 ( SourceLineInfo const& _lineInfo, in SectionInfo()
Dcatch_tag_alias.cpp4 …TagAlias::TagAlias(std::string const & _tag, SourceLineInfo _lineInfo): tag(_tag), lineInfo(_lineI… in TagAlias()
Dcatch_assertioninfo.h20 SourceLineInfo lineInfo;
Dcatch_tag_alias_autoregistrar.cpp7 …gAliases::RegistrarForTagAliases(char const* alias, char const* tag, SourceLineInfo const& lineInf… in RegistrarForTagAliases()
Dcatch_generators.cpp27 auto acquireGeneratorTracker( SourceLineInfo const& lineInfo ) -> IGeneratorTracker& { in acquireGeneratorTracker()
Dcatch_tag_alias_autoregistrar.h15 … RegistrarForTagAliases( char const* alias, char const* tag, SourceLineInfo const& lineInfo );
Dcatch_tag_alias_registry.h23 … void add( std::string const& alias, std::string const& tag, SourceLineInfo const& lineInfo );
Dcatch_test_registry.cpp21 …AutoReg::AutoReg( ITestInvoker* invoker, SourceLineInfo const& lineInfo, StringRef const& classOrM… in AutoReg()
Dcatch_generators.hpp182 auto acquireGeneratorTracker( SourceLineInfo const& lineInfo ) -> IGeneratorTracker&;
188 …auto generate( SourceLineInfo const& lineInfo, L const& generatorExpression ) -> decltype(std::dec… in generate()
Dcatch_assertionresult.h49 SourceLineInfo getSourceInfo() const;
Dcatch_interfaces_registry_hub.h48 … registerTagAlias( std::string const& alias, std::string const& tag, SourceLineInfo const& lineInf…
/external/catch2/projects/SelfTest/IntrospectiveTests/
DTagAlias.tests.cpp17 registry.add( "[@zzz]", "[one][two]", Catch::SourceLineInfo( "file", 2 ) );
22 registry.add( "[@zzz]", "[one][two]", Catch::SourceLineInfo( "file", 10 ) );
38 CHECK_THROWS( registry.add( "[no ampersat]", "", Catch::SourceLineInfo( "file", 3 ) ) );
39 …CHECK_THROWS( registry.add( "[the @ is not at the start]", "", Catch::SourceLineInfo( "file", 3 ) …
40 …CHECK_THROWS( registry.add( "@no square bracket at start]", "", Catch::SourceLineInfo( "file", 3 )…
41 …CHECK_THROWS( registry.add( "[@no square bracket at end", "", Catch::SourceLineInfo( "file", 3 ) )…
/external/bcc/tests/cc/
Dcatch.hpp378 struct SourceLineInfo { struct
380 SourceLineInfo();
381 SourceLineInfo( char const* _file, std::size_t _line );
382 SourceLineInfo( SourceLineInfo const& other );
384 SourceLineInfo( SourceLineInfo && ) = default;
385 SourceLineInfo& operator = ( SourceLineInfo const& ) = default;
386 SourceLineInfo& operator = ( SourceLineInfo && ) = default;
389 bool operator == ( SourceLineInfo const& other ) const;
390 bool operator < ( SourceLineInfo const& other ) const;
396 std::ostream& operator << ( std::ostream& os, SourceLineInfo const& info );
[all …]
/external/catch2/single_include/catch2/
Dcatch.hpp417 struct SourceLineInfo { struct
419 SourceLineInfo() = delete;
420 SourceLineInfo( char const* _file, std::size_t _line ) noexcept in SourceLineInfo() argument
425 SourceLineInfo( SourceLineInfo const& other ) = default;
426 SourceLineInfo& operator = ( SourceLineInfo const& ) = default;
427 SourceLineInfo( SourceLineInfo&& ) noexcept = default;
428 SourceLineInfo& operator = ( SourceLineInfo&& ) noexcept = default;
431 bool operator == ( SourceLineInfo const& other ) const noexcept;
432 bool operator < ( SourceLineInfo const& other ) const noexcept;
438 std::ostream& operator << ( std::ostream& os, SourceLineInfo const& info );
[all …]
/external/catch2/include/reporters/
Dcatch_reporter_xml.h27 void writeSourceInfo(SourceLineInfo const& sourceInfo);

12