[#25] Moved MemberBuilderValidator/MethodTest's helper functions into caseSetUp()
parent
2da2247c86
commit
9fe26e7582
|
@ -24,12 +24,10 @@
|
||||||
|
|
||||||
require( 'common' ).testCase(
|
require( 'common' ).testCase(
|
||||||
{
|
{
|
||||||
setUp: function()
|
caseSetUp: function()
|
||||||
{
|
{
|
||||||
var _self = this;
|
var _self = this;
|
||||||
|
|
||||||
this.sut = this.require( 'MemberBuilderValidator' )();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests to ensure that a method with the given keywords fails
|
* Tests to ensure that a method with the given keywords fails
|
||||||
* validation with an error message partially matching the provided
|
* validation with an error message partially matching the provided
|
||||||
|
@ -145,6 +143,12 @@ require( 'common' ).testCase(
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
setUp: function()
|
||||||
|
{
|
||||||
|
this.sut = this.require( 'MemberBuilderValidator' )();
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Private, abstract methods do not make sense. Private methods cannot be
|
* Private, abstract methods do not make sense. Private methods cannot be
|
||||||
* overridden.
|
* overridden.
|
||||||
|
|
Loading…
Reference in New Issue