add: suite = new TestSuite( new this.MyTest()); this.assertEquals( 0, suite.countTestCases()); this.assertUndefined( suite.getName()); suite = new TestSuite( new this.MyTest( "name" )); this.assertEquals( 0, suite.countTestCases()); this.assertEquals( "name", suite.getName()); 
context: function TestSuiteTest_testCtor(){	var undef;	var suite = new TestSuite();	this.assertEquals( 0, suite.countTestCases());	this.assertEquals( "all", suite.getName());	suite = new TestSuite( null );	this.assertEquals( 0, suite.countTestCases());	this.assertEquals( "all", suite.getName());	suite = new TestSuite( undef );	this.assertEquals( 0, suite.countTestCases());	this.assertEquals( "all", suite.getName());	suite = new TestSuite( "name" );	this.assertEquals( 0, suite.countTestCases());	this.assertEquals( "name", suite.getName());	suite = new TestSuite( this.MyTest );	this.assertEquals( 2, suite.countTestCases());	this.assertEquals( "MyTest", suite.getName());}
meta: 8928	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8928/85e3bba10717f8ad92f79f17dd0bd4f7fd558eb5/JsUnitTest.js/buggy/trunk/jsunit/tests/JsUnitTest.js