Testcase changes to satisfy pep8 E742 and E743 checks

Closes #1110
This commit is contained in:
William S Fulton 2017-10-09 07:21:41 +01:00
commit d6077129e4
6 changed files with 25 additions and 25 deletions

View file

@ -3,7 +3,7 @@
%module class_scope_namespace %module class_scope_namespace
%warnfilter(SWIGWARN_PARSE_NAMED_NESTED_CLASS) H::HH; %warnfilter(SWIGWARN_PARSE_NAMED_NESTED_CLASS) H::HH;
%warnfilter(SWIGWARN_PARSE_NAMED_NESTED_CLASS) Space8::I::II; %warnfilter(SWIGWARN_PARSE_NAMED_NESTED_CLASS) Space8::I_::II;
%inline %{ %inline %{
struct A; struct A;
@ -107,12 +107,12 @@ void hhh(H::HH) {}
namespace Space8 { namespace Space8 {
struct II; struct II;
struct I { struct I_ {
struct II { struct II {
void ii(Space8::I::II, I::II) {} void ii(Space8::I_::II, I_::II) {}
}; };
}; };
void iii(Space8::I::II, I::II) {} void iii(Space8::I_::II, I_::II) {}
} }
struct J; struct J;

View file

@ -22,7 +22,7 @@ public class class_scope_namespace_runme {
F f = new F(); F f = new F();
G g = new G(); G g = new G();
H.HH h = new H.HH(); H.HH h = new H.HH();
I.II i = new I.II(); I_.II i = new I_.II();
J j = new J(); J j = new J();
K k = new K(); K k = new K();
L l = new L(); L l = new L();

View file

@ -23,10 +23,10 @@ public class template_partial_specialization_runme {
new G().g(); new G().g();
new H().h(); new H().h();
new I().i();
new J().j(); new J().j();
new K().k(); new K().k();
new L().l(); new M().m();
new N().n();
new BB().b(); new BB().b();
new BBB().b(); new BBB().b();

View file

@ -23,10 +23,10 @@ public class template_partial_specialization_typedef_runme {
new G().g(); new G().g();
new H().h(); new H().h();
new I().i();
new J().j(); new J().j();
new K().k(); new K().k();
new L().l(); new M().m();
new N().n();
new BB().b(); new BB().b();
new BBB().b(); new BBB().b();

View file

@ -12,10 +12,10 @@ namespace One {
template <> struct OneParm<int * const &> { void g() {} }; template <> struct OneParm<int * const &> { void g() {} };
template <> struct OneParm<int **> { void h() {} }; template <> struct OneParm<int **> { void h() {} };
template <> struct OneParm<float> { void i() {} }; template <> struct OneParm<float> { void j() {} };
template <> struct OneParm<float *> { void j() {} }; template <> struct OneParm<float *> { void k() {} };
template <> struct OneParm<float **> { void k() {} }; template <> struct OneParm<float **> { void m() {} };
template <> struct OneParm<float ***> { void l() {} }; template <> struct OneParm<float ***> { void n() {} };
} }
%} %}
@ -33,12 +33,12 @@ namespace One {
// %template scope explicit specializations // %template scope explicit specializations
namespace One { namespace One {
%template(I) One::OneParm<float>; %template(J) One::OneParm<float>;
%template(J) ::One::OneParm<float *>; %template(K) ::One::OneParm<float *>;
} }
%template(K) ::One::OneParm<float **>; %template(M) ::One::OneParm<float **>;
namespace One { namespace One {
%template(L) OneParm<float ***>; %template(N) OneParm<float ***>;
} }
// %template scope partial specializations // %template scope partial specializations

View file

@ -39,10 +39,10 @@ namespace One {
template <> struct OneParm<int * const &> { void g() {} }; template <> struct OneParm<int * const &> { void g() {} };
template <> struct OneParm<int **> { void h() {} }; template <> struct OneParm<int **> { void h() {} };
template <> struct OneParm<float> { void i() {} }; template <> struct OneParm<float> { void j() {} };
template <> struct OneParm<float *> { void j() {} }; template <> struct OneParm<float *> { void k() {} };
template <> struct OneParm<float **> { void k() {} }; template <> struct OneParm<float **> { void m() {} };
template <> struct OneParm<float ***> { void l() {} }; template <> struct OneParm<float ***> { void n() {} };
} }
%} %}
@ -60,12 +60,12 @@ namespace One {
// %template scope explicit specializations // %template scope explicit specializations
namespace One { namespace One {
%template(I) One::OneParm<TypeDef::Float>; %template(J) One::OneParm<TypeDef::Float>;
%template(J) ::One::OneParm<TypeDef::FloatPtr>; %template(K) ::One::OneParm<TypeDef::FloatPtr>;
} }
%template(K) ::One::OneParm<TypeDef::FloatPtrPtr>; %template(M) ::One::OneParm<TypeDef::FloatPtrPtr>;
namespace One { namespace One {
%template(L) OneParm<TypeDef::FloatPtrPtrPtr>; %template(N) OneParm<TypeDef::FloatPtrPtrPtr>;
} }
// %template scope partial specializations // %template scope partial specializations