Skip to content

Commit

Permalink
better test
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Apr 22, 2023
1 parent a84e5b8 commit 0071ebc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion tests/code_layout/sipify/sipifyheader.expected.sip
Expand Up @@ -443,11 +443,16 @@ class TemplateInheritance5 : SomethingElse
#include "sipifyheader.h"
%End
}
class TemplateInheritance6 : SomethingElse, QList<Abc, Def, Ghi>

typedef YourSuperTemplate<Abc,Def,Ghi> YourSuperTemplateAbcDefGhiBase;

class TemplateInheritance6 : SomethingElse, YourSuperTemplateAbcDefGhiBase
{

%TypeHeaderCode
#include "sipifyheader.h"
#include "yoursupertemplate.h"
typedef YourSuperTemplate<Abc,Def,Ghi> YourSuperTemplateAbcDef{cls3}Base;
%End
}

Expand Down
2 changes: 1 addition & 1 deletion tests/code_layout/sipify/sipifyheader.h
Expand Up @@ -523,7 +523,7 @@ class CORE_EXPORT TemplateInheritance4 : public SomethingElse1, public QList<Som
class CORE_EXPORT TemplateInheritance5 : public SomethingElse, public QList<Something>
{
}
class CORE_EXPORT TemplateInheritance6 : public SomethingElse, public QList<Abc, Def, Ghi>
class CORE_EXPORT TemplateInheritance6 : public SomethingElse, public YourSuperTemplate<Abc, Def, Ghi>
{
}

Expand Down

0 comments on commit 0071ebc

Please sign in to comment.