站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

ParametricTestCase (NB JUnit) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.nbjunit/1 1.41

org.netbeans.junit
Class ParametricTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.netbeans.junit.NbTestCase
              extended by org.netbeans.junit.MultiTestCase
                  extended by org.netbeans.junit.ParametricTestCase
All Implemented Interfaces:
junit.framework.Test, NbTest

public abstract class ParametricTestCase
extends MultiTestCase

Extension to MultiTestCase class.


Constructor Summary
ParametricTestCase()
          Creates a new instance of ParametricTestCase.
ParametricTestCase(String name)
          Creates a new instance of ParametricTestCase with the given name.
 
Method Summary
protected  void parametrize(Object parameter)
          Is called by ParametricTestSuite before calling execute().
 
Methods inherited from class org.netbeans.junit.MultiTestCase
execute, runTest
 
Methods inherited from class org.netbeans.junit.NbTestCase
assertFile, assertFile, assertFile, assertFile, assertFile, assertFile, assertFile, assertFile, assertFile, assertFile, assertGC, assertGC, assertSize, assertSize, assertSize, assertSize, canRun, clearWorkDir, compareReferenceFiles, compareReferenceFiles, convertNBFSURL, failByBug, failByBug, getDataDir, getExpectedFail, getGoldenFile, getGoldenFile, getLog, getLog, getRef, getTestNumber, getWorkDir, getWorkDirPath, log, log, logLevel, ref, run, runBare, runInEQ, setFilter, timeOut
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface junit.framework.Test
countTestCases
 

Constructor Detail

ParametricTestCase

public ParametricTestCase()
Creates a new instance of ParametricTestCase.


ParametricTestCase

public ParametricTestCase(String name)
Creates a new instance of ParametricTestCase with the given name.

Method Detail

parametrize

protected void parametrize(Object parameter)
Is called by ParametricTestSuite before calling execute(). Can be overridden to perform some initializing.

Parameters:
initializing - parameter of type Object.

org.netbeans.modules.nbjunit/1 1.41

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.