概要
パッケージ
クラス
使用
階層ツリー
非推奨 API
索引
ヘルプ
前 次
フレームあり
フレームなし
すべてのクラス
A
B
C
D
E
F
G
H
I
J
L
M
N
P
R
S
T
U
V
W
A
ActiveTestSuite
- class junit.extensions.
ActiveTestSuite
.
A TestSuite for active Tests.
ActiveTestSuite()
- class junit.extensions.
ActiveTestSuite
のコンストラクタ
ActiveTestSuite(Class)
- class junit.extensions.
ActiveTestSuite
のコンストラクタ
ActiveTestSuite(String)
- class junit.extensions.
ActiveTestSuite
のコンストラクタ
ActiveTestSuite(Class, String)
- class junit.extensions.
ActiveTestSuite
のコンストラクタ
AllTests
- class junit.samples.
AllTests
.
TestSuite that runs all the sample tests
AllTests()
- class junit.samples.
AllTests
のコンストラクタ
Assert
- class junit.framework.
Assert
.
A set of assert methods.
Assert()
- class junit.framework.
Assert
のコンストラクタ
Protect constructor since it is a static only class
AssertionFailedError
- error junit.framework.
AssertionFailedError
.
Thrown when an assertion failed.
AssertionFailedError()
- class junit.framework.
AssertionFailedError
のコンストラクタ
AssertionFailedError(String)
- class junit.framework.
AssertionFailedError
のコンストラクタ
aboutToStart(Test, TestResult)
- class junit.swingui.
FailureRunView
のメソッド
aboutToStart(Test, TestResult)
- class junit.swingui.
TestHierarchyRunView
のメソッド
aboutToStart(Test)
- class junit.swingui.
TestRunner
のメソッド
activate()
- class junit.swingui.
FailureRunView
のメソッド
activate()
- class junit.swingui.
TestHierarchyRunView
のメソッド
add(IMoney)
- interface junit.samples.money.
IMoney
のメソッド
Adds a money to this money.
add(IMoney)
- class junit.samples.money.
Money
のメソッド
Adds a money to this money.
addError(Test, Throwable)
- interface junit.framework.
TestListener
のメソッド
An error occurred.
addError(Test, Throwable)
- class junit.framework.
TestResult
のメソッド
Adds an error to the list of errors.
addError(Test, Throwable)
- class junit.runner.
BaseTestRunner
のメソッド
addError(Test, Throwable)
- class junit.textui.
ResultPrinter
のメソッド
addFailure(Test, AssertionFailedError)
- interface junit.framework.
TestListener
のメソッド
A failure occurred.
addFailure(Test, AssertionFailedError)
- class junit.framework.
TestResult
のメソッド
Adds a failure to the list of failures.
addFailure(Test, AssertionFailedError)
- class junit.runner.
BaseTestRunner
のメソッド
addFailure(Test, AssertionFailedError)
- class junit.textui.
ResultPrinter
のメソッド
addGrid(Panel, Component, int, int, int, int, double, int)
- class junit.awtui.
TestRunner
のメソッド
addListener(TestListener)
- class junit.framework.
TestResult
のメソッド
Registers a TestListener
addMoney(Money)
- interface junit.samples.money.
IMoney
のメソッド
Adds a simple Money to this money.
addMoney(Money)
- class junit.samples.money.
Money
のメソッド
addMoneyBag(MoneyBag)
- interface junit.samples.money.
IMoney
のメソッド
Adds a MoneyBag to this money.
addMoneyBag(MoneyBag)
- class junit.samples.money.
Money
のメソッド
addTab(JTabbedPane)
- class junit.swingui.
FailureRunView
のメソッド
addTab(JTabbedPane)
- class junit.swingui.
TestHierarchyRunView
のメソッド
addTest(Test)
- class junit.framework.
TestSuite
のメソッド
Adds a test to the suite.
addTestSuite(Class)
- class junit.framework.
TestSuite
のメソッド
Adds the tests from the given class to the suite
addToGrid(Component, int, int, int, int, double, double, int, int, Insets)
- class junit.swingui.
CounterPanel
のメソッド
amount()
- class junit.samples.money.
Money
のメソッド
appendTo(MoneyBag)
- interface junit.samples.money.
IMoney
のメソッド
Append this to a MoneyBag m.
appendTo(MoneyBag)
- class junit.samples.money.
Money
のメソッド
assertEquals(String, Object, Object)
- class junit.framework.
Assert
の static メソッド
Asserts that two objects are equal.
assertEquals(Object, Object)
- class junit.framework.
Assert
の static メソッド
Asserts that two objects are equal.
assertEquals(String, String, String)
- class junit.framework.
Assert
の static メソッド
Asserts that two Strings are equal.
assertEquals(String, String)
- class junit.framework.
Assert
の static メソッド
Asserts that two Strings are equal.
assertEquals(String, double, double, double)
- class junit.framework.
Assert
の static メソッド
Asserts that two doubles are equal concerning a delta.
assertEquals(double, double, double)
- class junit.framework.
Assert
の static メソッド
Asserts that two doubles are equal concerning a delta.
assertEquals(String, float, float, float)
- class junit.framework.
Assert
の static メソッド
Asserts that two floats are equal concerning a delta.
assertEquals(float, float, float)
- class junit.framework.
Assert
の static メソッド
Asserts that two floats are equal concerning a delta.
assertEquals(String, long, long)
- class junit.framework.
Assert
の static メソッド
Asserts that two longs are equal.
assertEquals(long, long)
- class junit.framework.
Assert
の static メソッド
Asserts that two longs are equal.
assertEquals(String, boolean, boolean)
- class junit.framework.
Assert
の static メソッド
Asserts that two booleans are equal.
assertEquals(boolean, boolean)
- class junit.framework.
Assert
の static メソッド
Asserts that two booleans are equal.
assertEquals(String, byte, byte)
- class junit.framework.
Assert
の static メソッド
Asserts that two bytes are equal.
assertEquals(byte, byte)
- class junit.framework.
Assert
の static メソッド
Asserts that two bytes are equal.
assertEquals(String, char, char)
- class junit.framework.
Assert
の static メソッド
Asserts that two chars are equal.
assertEquals(char, char)
- class junit.framework.
Assert
の static メソッド
Asserts that two chars are equal.
assertEquals(String, short, short)
- class junit.framework.
Assert
の static メソッド
Asserts that two shorts are equal.
assertEquals(short, short)
- class junit.framework.
Assert
の static メソッド
Asserts that two shorts are equal.
assertEquals(String, int, int)
- class junit.framework.
Assert
の static メソッド
Asserts that two ints are equal.
assertEquals(int, int)
- class junit.framework.
Assert
の static メソッド
Asserts that two ints are equal.
assertFalse(String, boolean)
- class junit.framework.
Assert
の static メソッド
Asserts that a condition is false.
assertFalse(boolean)
- class junit.framework.
Assert
の static メソッド
Asserts that a condition is false.
assertNotNull(Object)
- class junit.framework.
Assert
の static メソッド
Asserts that an object isn't null.
assertNotNull(String, Object)
- class junit.framework.
Assert
の static メソッド
Asserts that an object isn't null.
assertNotSame(String, Object, Object)
- class junit.framework.
Assert
の static メソッド
Asserts that two objects do not refer to the same object.
assertNotSame(Object, Object)
- class junit.framework.
Assert
の static メソッド
Asserts that two objects do not refer to the same object.
assertNull(Object)
- class junit.framework.
Assert
の static メソッド
Asserts that an object is null.
assertNull(String, Object)
- class junit.framework.
Assert
の static メソッド
Asserts that an object is null.
assertSame(String, Object, Object)
- class junit.framework.
Assert
の static メソッド
Asserts that two objects refer to the same object.
assertSame(Object, Object)
- class junit.framework.
Assert
の static メソッド
Asserts that two objects refer to the same object.
assertTrue(String, boolean)
- class junit.framework.
Assert
の static メソッド
Asserts that a condition is true.
assertTrue(boolean)
- class junit.framework.
Assert
の static メソッド
Asserts that a condition is true.
B
BOLD_FONT
- class junit.swingui.
StatusLine
の static 変数
BaseTestRunner
- class junit.runner.
BaseTestRunner
.
Base class for all test runners.
BaseTestRunner()
- class junit.runner.
BaseTestRunner
のコンストラクタ
basicRun(TestResult)
- class junit.extensions.
TestDecorator
のメソッド
The basic run behaviour.
browseTestClasses()
- class junit.swingui.
TestRunner
のメソッド
C
ClassPathTestCollector
- class junit.runner.
ClassPathTestCollector
.
An implementation of a TestCollector that consults the class path.
ClassPathTestCollector()
- class junit.runner.
ClassPathTestCollector
のコンストラクタ
ComparisonFailure
- error junit.framework.
ComparisonFailure
.
Thrown when an assert equals for Strings failed.
ComparisonFailure(String, String, String)
- class junit.framework.
ComparisonFailure
のコンストラクタ
Constructs a comparison failure.
CounterPanel
- class junit.swingui.
CounterPanel
.
A panel with test run counters
CounterPanel()
- class junit.swingui.
CounterPanel
のコンストラクタ
classNameFromFile(String)
- class junit.runner.
ClassPathTestCollector
のメソッド
clear()
- interface junit.runner.
FailureDetailView
のメソッド
Clears the view
clear()
- class junit.swingui.
DefaultFailureDetailView
のメソッド
Clears the output.
clear()
- class junit.swingui.
StatusLine
のメソッド
clearStatus()
- class junit.awtui.
TestRunner
のメソッド
clearStatus()
- class junit.runner.
BaseTestRunner
のメソッド
Clears the status message.
clearStatus()
- class junit.swingui.
TestRunner
のメソッド
collectFilesInPath(String)
- class junit.runner.
ClassPathTestCollector
のメソッド
collectTests()
- class junit.runner.
ClassPathTestCollector
のメソッド
collectTests()
- interface junit.runner.
TestCollector
のメソッド
Returns an enumeration of Strings with qualified class names
countTestCases()
- class junit.extensions.
RepeatedTest
のメソッド
countTestCases()
- class junit.extensions.
TestDecorator
のメソッド
countTestCases()
- interface junit.framework.
Test
のメソッド
Counts the number of test cases that will be run by this test.
countTestCases()
- class junit.framework.
TestCase
のメソッド
Counts the number of test cases executed by run(TestResult result).
countTestCases()
- class junit.framework.
TestSuite
のメソッド
Counts the number of test cases that will be run by this test.
createBrowseButton()
- class junit.swingui.
TestRunner
のメソッド
createCounterPanel()
- class junit.awtui.
TestRunner
のメソッド
createCounterPanel()
- class junit.swingui.
TestRunner
のメソッド
createFailedPanel()
- class junit.swingui.
TestRunner
のメソッド
createFailureDetailView()
- class junit.swingui.
TestRunner
のメソッド
createFrame()
- class junit.swingui.
TestRunner
のメソッド
createJUnitMenu()
- class junit.awtui.
TestRunner
のメソッド
Creates the JUnit menu.
createJUnitMenu()
- class junit.swingui.
TestRunner
のメソッド
Creates the JUnit menu.
createLoader()
- class junit.runner.
ReloadingTestSuiteLoader
のメソッド
createLogo()
- class junit.swingui.
TestRunner
のメソッド
createMenus(MenuBar)
- class junit.awtui.
TestRunner
のメソッド
createMenus(JMenuBar)
- class junit.swingui.
TestRunner
のメソッド
createQuitButton()
- class junit.swingui.
TestRunner
のメソッド
createResult()
- class junit.framework.
TestCase
のメソッド
Creates a default TestResult object
createRunButton()
- class junit.swingui.
TestRunner
のメソッド
createStatusLine()
- class junit.swingui.
TestRunner
のメソッド
createSuiteCombo()
- class junit.swingui.
TestRunner
のメソッド
createTest(Class, String)
- class junit.framework.
TestSuite
の static メソッド
...as the moon sets over the early morning Merlin, Oregon mountains, our intrepid adventurers type...
createTestResult()
- class junit.awtui.
TestRunner
のメソッド
createTestResult()
- class junit.swingui.
TestRunner
のメソッド
createTestResult()
- class junit.textui.
TestRunner
のメソッド
Creates the TestResult to be used for the test run.
createTestRunViews()
- class junit.swingui.
TestRunner
のメソッド
createUI(String)
- class junit.awtui.
TestRunner
のメソッド
createUI(String)
- class junit.swingui.
TestRunner
のメソッド
createUseLoaderCheckBox()
- class junit.swingui.
TestRunner
のメソッド
currency()
- class junit.samples.money.
Money
のメソッド
D
DefaultFailureDetailView
- class junit.swingui.
DefaultFailureDetailView
.
A view that shows a stack trace of a failure
DefaultFailureDetailView()
- class junit.swingui.
DefaultFailureDetailView
のコンストラクタ
doRun(Test)
- class junit.textui.
TestRunner
のメソッド
doRun(Test, boolean)
- class junit.textui.
TestRunner
のメソッド
E
EXCEPTION_EXIT
- class junit.textui.
TestRunner
の static 変数
ExceptionTestCase
- class junit.extensions.
ExceptionTestCase
.
A TestCase that expects an Exception of class fExpected to be thrown.
ExceptionTestCase(String, Class)
- class junit.extensions.
ExceptionTestCase
のコンストラクタ
elapsedTimeAsString(long)
- class junit.runner.
BaseTestRunner
のメソッド
Returns the formatted string of the elapsed time.
elapsedTimeAsString(long)
- class junit.textui.
ResultPrinter
のメソッド
Returns the formatted string of the elapsed time.
endTest(Test)
- interface junit.framework.
TestListener
のメソッド
A test ended.
endTest(Test)
- class junit.framework.
TestResult
のメソッド
Informs the result that a test was completed.
endTest(Test)
- class junit.runner.
BaseTestRunner
のメソッド
endTest(Test)
- class junit.textui.
ResultPrinter
のメソッド
equals(Object)
- class junit.samples.money.
Money
のメソッド
errorCount()
- class junit.framework.
TestResult
のメソッド
Gets the number of detected errors.
errors()
- class junit.framework.
TestResult
のメソッド
Returns an Enumeration for the errors
exceptionMessage()
- class junit.framework.
TestFailure
のメソッド
extractClassName(String)
- class junit.runner.
BaseTestRunner
のメソッド
Extract the class name from a String in VA/Java style
F
FAILURE_EXIT
- class junit.textui.
TestRunner
の static 変数
FailureDetailView
- interface junit.runner.
FailureDetailView
.
A view to show a details about a failure
FailureRunView
- class junit.swingui.
FailureRunView
.
A view presenting the test failures as a list.
FailureRunView(TestRunContext)
- class junit.swingui.
FailureRunView
のコンストラクタ
fEmpty
- class junit.samples.
VectorTest
の変数
fError
- class junit.awtui.
ProgressBar
の変数
fErrors
- class junit.framework.
TestResult
の変数
fExceptions
- class junit.awtui.
TestRunner
の変数
fFailedTest
- class junit.framework.
TestFailure
の変数
fFailedTests
- class junit.awtui.
TestRunner
の変数
fFailureList
- class junit.awtui.
TestRunner
の変数
fFailures
- class junit.framework.
TestResult
の変数
fFrame
- class junit.awtui.
TestRunner
の変数
fFrame
- class junit.swingui.
TestRunner
の変数
fFull
- class junit.samples.
VectorTest
の変数
fListeners
- class junit.framework.
TestResult
の変数
fLogo
- class junit.awtui.
TestRunner
の変数
fNumberOfErrors
- class junit.awtui.
TestRunner
の変数
fNumberOfFailures
- class junit.awtui.
TestRunner
の変数
fNumberOfRuns
- class junit.awtui.
TestRunner
の変数
fProgress
- class junit.awtui.
ProgressBar
の変数
fProgressIndicator
- class junit.awtui.
TestRunner
の変数
fProgressX
- class junit.awtui.
ProgressBar
の変数
fQuitButton
- class junit.awtui.
TestRunner
の変数
fRerunButton
- class junit.awtui.
TestRunner
の変数
fRun
- class junit.awtui.
TestRunner
の変数
fRunTests
- class junit.framework.
TestResult
の変数
fRunner
- class junit.awtui.
TestRunner
の変数
fStatusLine
- class junit.awtui.
TestRunner
の変数
fSuiteField
- class junit.awtui.
TestRunner
の変数
fTest
- class junit.extensions.
TestDecorator
の変数
fTestResult
- class junit.awtui.
TestRunner
の変数
fThrownException
- class junit.framework.
TestFailure
の変数
fTotal
- class junit.awtui.
ProgressBar
の変数
fTraceArea
- class junit.awtui.
TestRunner
の変数
fUseLoadingRunner
- class junit.awtui.
TestRunner
の変数
fValue1
- class junit.samples.
SimpleTest
の変数
fValue2
- class junit.samples.
SimpleTest
の変数
fail(String)
- class junit.framework.
Assert
の static メソッド
Fails a test with the given message.
fail()
- class junit.framework.
Assert
の static メソッド
Fails a test with no message.
failedTest()
- class junit.framework.
TestFailure
のメソッド
Gets the failed test.
failureCount()
- class junit.framework.
TestResult
のメソッド
Gets the number of detected failures.
failureSelected()
- class junit.awtui.
TestRunner
のメソッド
failures()
- class junit.framework.
TestResult
のメソッド
Returns an Enumeration for the failures
G
getComponent()
- interface junit.runner.
FailureDetailView
のメソッド
Returns the component used to present the TraceView
getComponent()
- class junit.swingui.
DefaultFailureDetailView
のメソッド
Returns the component used to present the trace
getFailures()
- interface junit.swingui.
TestRunContext
のメソッド
Returns the failure model
getFailures()
- class junit.swingui.
TestRunner
のメソッド
getFilteredTrace(Throwable)
- class junit.runner.
BaseTestRunner
の static メソッド
Returns a filtered stack trace
getFilteredTrace(String)
- class junit.runner.
BaseTestRunner
の static メソッド
Filters stack frames from internal JUnit classes
getIconResource(Class, String)
- class junit.swingui.
TestRunner
の static メソッド
getLoader()
- class junit.runner.
BaseTestRunner
のメソッド
Returns the loader to be used.
getLoader()
- class junit.textui.
TestRunner
のメソッド
Always use the StandardTestSuiteLoader.
getMessage()
- class junit.framework.
ComparisonFailure
のメソッド
Returns "..." in place of common prefix and "..." in place of common suffix between expected and actual.
getName()
- class junit.framework.
TestCase
のメソッド
Gets the name of a TestCase
getName()
- class junit.framework.
TestSuite
のメソッド
Returns the name of the suite.
getPreference(String)
- class junit.runner.
BaseTestRunner
の static メソッド
getPreference(String, int)
- class junit.runner.
BaseTestRunner
の static メソッド
getPreferences()
- class junit.runner.
BaseTestRunner
の static メソッド
getResource(String)
- class junit.runner.
TestCaseClassLoader
のメソッド
getResourceAsStream(String)
- class junit.runner.
TestCaseClassLoader
のメソッド
getRunner()
- class junit.awtui.
TestRunner
のメソッド
getSelectedTest()
- class junit.swingui.
FailureRunView
のメソッド
getSelectedTest()
- class junit.swingui.
TestHierarchyRunView
のメソッド
getSuiteText()
- class junit.swingui.
TestRunner
のメソッド
getTest()
- class junit.extensions.
TestDecorator
のメソッド
getTest(String)
- class junit.runner.
BaseTestRunner
のメソッド
Returns the Test corresponding to the given suite.
getTestConstructor(Class)
- class junit.framework.
TestSuite
の static メソッド
Gets a constructor which takes a single String as its argument or a no arg constructor.
getWriter()
- class junit.textui.
ResultPrinter
のメソッド
H
handleTestSelected(Test)
- interface junit.swingui.
TestRunContext
のメソッド
Handles the selection of a Test.
handleTestSelected(Test)
- class junit.swingui.
TestRunner
のメソッド
hashCode()
- class junit.samples.money.
Money
のメソッド
I
IMoney
- interface junit.samples.money.
IMoney
.
The common interface for simple Monies and MoneyBags
id()
- class junit.runner.
Version
の static メソッド
inMac()
- class junit.runner.
BaseTestRunner
の static メソッド
inVAJava()
- class junit.runner.
BaseTestRunner
の static メソッド
insertUpdate(DocumentEvent)
- class junit.swingui.
TestRunner
のメソッド
instanciateClass(String, Object)
- class junit.swingui.
TestRunner
のメソッド
isExcluded(String)
- class junit.runner.
TestCaseClassLoader
のメソッド
isFailure()
- class junit.framework.
TestFailure
のメソッド
isTestClass(String)
- class junit.runner.
ClassPathTestCollector
のメソッド
isTestClass(String)
- class junit.runner.
LoadingTestCollector
のメソッド
isTestClass(String)
- class junit.runner.
SimpleTestCollector
のメソッド
isZero()
- interface junit.samples.money.
IMoney
のメソッド
Tests whether this money is zero
isZero()
- class junit.samples.money.
Money
のメソッド
J
junit.awtui
- package junit.awtui
junit.extensions
- package junit.extensions
junit.framework
- package junit.framework
junit.runner
- package junit.runner
junit.samples
- package junit.samples
junit.samples.money
- package junit.samples.money
junit.swingui
- package junit.swingui
junit.textui
- package junit.textui
L
LoadingTestCollector
- class junit.runner.
LoadingTestCollector
.
An implementation of a TestCollector that loads all classes on the class path and tests whether it is assignable from Test or provides a static suite method.
LoadingTestCollector()
- class junit.runner.
LoadingTestCollector
のコンストラクタ
Logo
- class junit.awtui.
Logo
.
Logo()
- class junit.awtui.
Logo
のコンストラクタ
load(String)
- class junit.runner.
ReloadingTestSuiteLoader
のメソッド
load(String)
- class junit.runner.
StandardTestSuiteLoader
のメソッド
Uses the system class loader to load the test class
load(String)
- interface junit.runner.
TestSuiteLoader
のメソッド
loadClass(String, boolean)
- class junit.runner.
TestCaseClassLoader
のメソッド
loadImage(String)
- class junit.awtui.
Logo
のメソッド
loadSuiteClass(String)
- class junit.runner.
BaseTestRunner
のメソッド
Returns the loaded Class for a suite name.
M
MacProgressBar
- class junit.swingui.
MacProgressBar
.
http://java.sun.com/developer/technicalArticles/JavaLP/JavaToMac2/
MacProgressBar(JTextField)
- class junit.swingui.
MacProgressBar
のコンストラクタ
Money
- class junit.samples.money.
Money
.
A simple Money.
Money(int, String)
- class junit.samples.money.
Money
のコンストラクタ
Constructs a money from the given amount and currency.
MoneyTest
- class junit.samples.money.
MoneyTest
.
MoneyTest()
- class junit.samples.money.
MoneyTest
のコンストラクタ
main(String[])
- class junit.awtui.
TestRunner
の static メソッド
main(String[])
- class junit.samples.
AllTests
の static メソッド
main(String[])
- class junit.samples.
SimpleTest
の static メソッド
main(String[])
- class junit.samples.
VectorTest
の static メソッド
main(String[])
- class junit.samples.money.
MoneyTest
の static メソッド
main(String[])
- class junit.swingui.
TestRunner
の static メソッド
main(String[])
- class junit.textui.
TestRunner
の static メソッド
multiply(int)
- interface junit.samples.money.
IMoney
のメソッド
Multiplies a money by the given factor.
multiply(int)
- class junit.samples.money.
Money
のメソッド
N
negate()
- interface junit.samples.money.
IMoney
のメソッド
Negates this money.
negate()
- class junit.samples.money.
Money
のメソッド
P
PLAIN_FONT
- class junit.awtui.
TestRunner
の static 変数
PLAIN_FONT
- class junit.swingui.
StatusLine
の static 変数
ProgressBar
- class junit.awtui.
ProgressBar
.
ProgressBar()
- class junit.awtui.
ProgressBar
のコンストラクタ
Protectable
- interface junit.framework.
Protectable
.
A
Protectable
can be run and can throw a Throwable.
paint(Graphics)
- class junit.awtui.
Logo
のメソッド
paint(Graphics)
- class junit.awtui.
ProgressBar
のメソッド
paintBackground(Graphics)
- class junit.awtui.
Logo
のメソッド
paintBackground(Graphics)
- class junit.awtui.
ProgressBar
のメソッド
paintStatus(Graphics)
- class junit.awtui.
ProgressBar
のメソッド
pause(boolean)
- class junit.textui.
TestRunner
のメソッド
printDefect(TestFailure, int)
- class junit.textui.
ResultPrinter
のメソッド
printDefectHeader(TestFailure, int)
- class junit.textui.
ResultPrinter
のメソッド
printDefectTrace(TestFailure)
- class junit.textui.
ResultPrinter
のメソッド
printDefects(Enumeration, int, String)
- class junit.textui.
ResultPrinter
のメソッド
printErrors(TestResult)
- class junit.textui.
ResultPrinter
のメソッド
printFailures(TestResult)
- class junit.textui.
ResultPrinter
のメソッド
printFooter(TestResult)
- class junit.textui.
ResultPrinter
のメソッド
printHeader(long)
- class junit.textui.
ResultPrinter
のメソッド
processArguments(String[])
- class junit.runner.
BaseTestRunner
のメソッド
Processes the command line arguments and returns the name of the suite class to run or null
protect()
- interface junit.framework.
Protectable
のメソッド
Run the the following method protected.
R
ReloadingTestSuiteLoader
- class junit.runner.
ReloadingTestSuiteLoader
.
A TestSuite loader that can reload classes.
ReloadingTestSuiteLoader()
- class junit.runner.
ReloadingTestSuiteLoader
のコンストラクタ
RepeatedTest
- class junit.extensions.
RepeatedTest
.
A Decorator that runs a test repeatedly.
RepeatedTest(Test, int)
- class junit.extensions.
RepeatedTest
のコンストラクタ
ResultPrinter
- class junit.textui.
ResultPrinter
.
ResultPrinter(PrintStream)
- class junit.textui.
ResultPrinter
のコンストラクタ
reload(Class)
- class junit.runner.
ReloadingTestSuiteLoader
のメソッド
reload(Class)
- class junit.runner.
StandardTestSuiteLoader
のメソッド
Uses the system class loader to load the test class
reload(Class)
- interface junit.runner.
TestSuiteLoader
のメソッド
removeListener(TestListener)
- class junit.framework.
TestResult
のメソッド
Unregisters a TestListener
removeUpdate(DocumentEvent)
- class junit.swingui.
TestRunner
のメソッド
rerun()
- class junit.awtui.
TestRunner
のメソッド
reset()
- class junit.awtui.
ProgressBar
のメソッド
reset()
- class junit.awtui.
TestRunner
のメソッド
reset()
- class junit.swingui.
CounterPanel
のメソッド
reset()
- class junit.swingui.
TestRunner
のメソッド
revealFailure(Test)
- class junit.swingui.
FailureRunView
のメソッド
revealFailure(Test)
- class junit.swingui.
TestHierarchyRunView
のメソッド
run(Class)
- class junit.awtui.
TestRunner
の static メソッド
run(TestResult)
- class junit.extensions.
ActiveTestSuite
のメソッド
run(TestResult)
- class junit.extensions.
RepeatedTest
のメソッド
run(TestResult)
- class junit.extensions.
TestDecorator
のメソッド
run(TestResult)
- class junit.extensions.
TestSetup
のメソッド
run(TestResult)
- interface junit.framework.
Test
のメソッド
Runs a test and collects its result in a TestResult instance.
run()
- class junit.framework.
TestCase
のメソッド
A convenience method to run this test, collecting the results with a default TestResult object.
run(TestResult)
- class junit.framework.
TestCase
のメソッド
Runs the test case and collects the results in TestResult.
run(TestCase)
- class junit.framework.
TestResult
のメソッド
Runs a TestCase.
run(TestResult)
- class junit.framework.
TestSuite
のメソッド
Runs the tests and collects their result in a TestResult.
run(Class)
- class junit.swingui.
TestRunner
の static メソッド
run(Class)
- class junit.textui.
TestRunner
の static メソッド
Runs a suite extracted from a TestCase subclass.
run(Test)
- class junit.textui.
TestRunner
の static メソッド
Runs a single test and collects its results.
runAndWait(Test)
- class junit.textui.
TestRunner
の static メソッド
Runs a single test and waits until the user types RETURN.
runBare()
- class junit.framework.
TestCase
のメソッド
Runs the bare test sequence.
runCount()
- class junit.framework.
TestResult
のメソッド
Gets the number of run tests.
runFailed(String)
- class junit.awtui.
TestRunner
のメソッド
runFailed(String)
- class junit.runner.
BaseTestRunner
のメソッド
Override to define how to handle a failed loading of a test suite.
runFailed(String)
- class junit.swingui.
TestRunner
のメソッド
runFailed(String)
- class junit.textui.
TestRunner
のメソッド
runFinished(Test)
- class junit.extensions.
ActiveTestSuite
のメソッド
runFinished(Test, TestResult)
- class junit.swingui.
FailureRunView
のメソッド
runFinished(Test, TestResult)
- class junit.swingui.
TestHierarchyRunView
のメソッド
runFinished(Test)
- class junit.swingui.
TestRunner
のメソッド
runProtected(Test, Protectable)
- class junit.framework.
TestResult
のメソッド
Runs a TestCase.
runSuite()
- class junit.awtui.
TestRunner
のメソッド
runSuite()
- class junit.swingui.
TestRunner
のメソッド
runTest(Test, TestResult)
- class junit.extensions.
ActiveTestSuite
のメソッド
runTest()
- class junit.extensions.
ExceptionTestCase
のメソッド
Execute the test method expecting that an Exception of class fExpected or one of its subclasses will be thrown
runTest()
- class junit.framework.
TestCase
のメソッド
Override to run the test and assert its state.
runTest(Test, TestResult)
- class junit.framework.
TestSuite
のメソッド
runTest(Test)
- class junit.swingui.
TestRunner
のメソッド
S
STATUS_ERROR
- interface junit.runner.
TestRunListener
の static 変数
STATUS_FAILURE
- interface junit.runner.
TestRunListener
の static 変数
SUCCESS_EXIT
- class junit.textui.
TestRunner
の static 変数
SUITE_METHODNAME
- class junit.runner.
BaseTestRunner
の static 変数
SimpleTest
- class junit.samples.
SimpleTest
.
Some simple tests.
SimpleTest()
- class junit.samples.
SimpleTest
のコンストラクタ
SimpleTestCollector
- class junit.runner.
SimpleTestCollector
.
An implementation of a TestCollector that considers a class to be a test class when it contains the pattern "Test" in its name
SimpleTestCollector()
- class junit.runner.
SimpleTestCollector
のコンストラクタ
Sorter
- class junit.runner.
Sorter
.
A custom quick sort with support to customize the swap behaviour.
Sorter()
- class junit.runner.
Sorter
のコンストラクタ
Sorter.Swapper
- interface junit.runner.
Sorter.Swapper
.
StandardTestSuiteLoader
- class junit.runner.
StandardTestSuiteLoader
.
The standard test suite loader.
StandardTestSuiteLoader()
- class junit.runner.
StandardTestSuiteLoader
のコンストラクタ
StatusLine
- class junit.swingui.
StatusLine
.
A status line component.
StatusLine(int)
- class junit.swingui.
StatusLine
のコンストラクタ
savePreferences()
- class junit.runner.
BaseTestRunner
の static メソッド
scale(int)
- class junit.awtui.
ProgressBar
のメソッド
setBounds(int, int, int, int)
- class junit.awtui.
ProgressBar
のメソッド
setErrorValue(int)
- class junit.swingui.
CounterPanel
のメソッド
setFailureValue(int)
- class junit.swingui.
CounterPanel
のメソッド
setLoading(boolean)
- class junit.runner.
BaseTestRunner
のメソッド
Sets the loading behaviour of the test runner
setName(String)
- class junit.framework.
TestCase
のメソッド
Sets the name of a TestCase
setName(String)
- class junit.framework.
TestSuite
のメソッド
Sets the name of the suite.
setPreference(String, String)
- class junit.runner.
BaseTestRunner
のメソッド
setPreferences(Properties)
- class junit.runner.
BaseTestRunner
の static メソッド
setPrinter(ResultPrinter)
- class junit.textui.
TestRunner
のメソッド
setRunValue(int)
- class junit.swingui.
CounterPanel
のメソッド
setSuite(String)
- class junit.swingui.
TestRunner
のメソッド
setSuiteName(String)
- class junit.awtui.
TestRunner
のメソッド
setTotal(int)
- class junit.swingui.
CounterPanel
のメソッド
setUp()
- class junit.extensions.
TestSetup
のメソッド
Sets up the fixture.
setUp()
- class junit.framework.
TestCase
のメソッド
Sets up the fixture, for example, open a network connection.
setUp()
- class junit.samples.
SimpleTest
のメソッド
setUp()
- class junit.samples.
VectorTest
のメソッド
setUp()
- class junit.samples.money.
MoneyTest
のメソッド
shouldStop()
- class junit.framework.
TestResult
のメソッド
Checks whether the test run should stop
showError(String)
- class junit.swingui.
StatusLine
のメソッド
showFailure(TestFailure)
- interface junit.runner.
FailureDetailView
のメソッド
Shows details of a TestFailure
showFailure(TestFailure)
- class junit.swingui.
DefaultFailureDetailView
のメソッド
Shows a TestFailure
showInfo(String)
- class junit.swingui.
StatusLine
のメソッド
showStackRaw()
- class junit.runner.
BaseTestRunner
の static メソッド
sortStrings(Vector, int, int, Sorter.Swapper)
- class junit.runner.
Sorter
の static メソッド
start(int)
- class junit.awtui.
ProgressBar
のメソッド
start(String[])
- class junit.awtui.
TestRunner
のメソッド
Starts the TestRunner
start(String[])
- class junit.swingui.
TestRunner
のメソッド
Starts the TestRunner
start(String[])
- class junit.textui.
TestRunner
のメソッド
Starts a test run.
startTest(Test)
- interface junit.framework.
TestListener
のメソッド
A test started.
startTest(Test)
- class junit.framework.
TestResult
のメソッド
Informs the result that a test will be started.
startTest(Test)
- class junit.runner.
BaseTestRunner
のメソッド
startTest(Test)
- class junit.textui.
ResultPrinter
のメソッド
step(boolean)
- class junit.awtui.
ProgressBar
のメソッド
stop()
- class junit.framework.
TestResult
のメソッド
Marks that the test run should stop.
subtract(IMoney)
- interface junit.samples.money.
IMoney
のメソッド
Subtracts a money from this money.
subtract(IMoney)
- class junit.samples.money.
Money
のメソッド
suite()
- class junit.samples.
AllTests
の static メソッド
suite()
- class junit.samples.
SimpleTest
の static メソッド
suite()
- class junit.samples.
VectorTest
の static メソッド
swap(Vector, int, int)
- interface junit.runner.
Sorter.Swapper
のメソッド
T
Test
- interface junit.framework.
Test
.
A
Test
can be run and collect its results.
TestCase
- class junit.framework.
TestCase
.
A test case defines the fixture to run multiple tests.
TestCase()
- class junit.framework.
TestCase
のコンストラクタ
No-arg constructor to enable serialization.
TestCase(String)
- class junit.framework.
TestCase
のコンストラクタ
Constructs a test case with the given name.
TestCaseClassLoader
- class junit.runner.
TestCaseClassLoader
.
A custom class loader which enables the reloading of classes for each test run.
TestCaseClassLoader()
- class junit.runner.
TestCaseClassLoader
のコンストラクタ
Constructs a TestCaseLoader.
TestCaseClassLoader(String)
- class junit.runner.
TestCaseClassLoader
のコンストラクタ
Constructs a TestCaseLoader.
TestCollector
- interface junit.runner.
TestCollector
.
Collects Test class names to be presented by the TestSelector.
TestDecorator
- class junit.extensions.
TestDecorator
.
A Decorator for Tests.
TestDecorator(Test)
- class junit.extensions.
TestDecorator
のコンストラクタ
TestFailure
- class junit.framework.
TestFailure
.
A
TestFailure
collects a failed test together with the caught exception.
TestFailure(Test, Throwable)
- class junit.framework.
TestFailure
のコンストラクタ
Constructs a TestFailure with the given test and exception.
TestHierarchyRunView
- class junit.swingui.
TestHierarchyRunView
.
A hierarchical view of a test run.
TestHierarchyRunView(TestRunContext)
- class junit.swingui.
TestHierarchyRunView
のコンストラクタ
TestListener
- interface junit.framework.
TestListener
.
A Listener for test progress
TestResult
- class junit.framework.
TestResult
.
A
TestResult
collects the results of executing a test case.
TestResult()
- class junit.framework.
TestResult
のコンストラクタ
TestRunContext
- interface junit.swingui.
TestRunContext
.
The interface for accessing the Test run context.
TestRunListener
- interface junit.runner.
TestRunListener
.
A listener interface for observing the execution of a test run.
TestRunner
- class junit.awtui.
TestRunner
.
An AWT based user interface to run tests.
TestRunner()
- class junit.awtui.
TestRunner
のコンストラクタ
TestRunner
- class junit.swingui.
TestRunner
.
A Swing based user interface to run tests.
TestRunner()
- class junit.swingui.
TestRunner
のコンストラクタ
TestRunner
- class junit.textui.
TestRunner
.
A command line based tool to run tests.
TestRunner()
- class junit.textui.
TestRunner
のコンストラクタ
Constructs a TestRunner.
TestRunner(PrintStream)
- class junit.textui.
TestRunner
のコンストラクタ
Constructs a TestRunner using the given stream for all the output
TestRunner(ResultPrinter)
- class junit.textui.
TestRunner
のコンストラクタ
Constructs a TestRunner using the given ResultPrinter all the output
TestSetup
- class junit.extensions.
TestSetup
.
A Decorator to set up and tear down additional fixture state.
TestSetup(Test)
- class junit.extensions.
TestSetup
のコンストラクタ
TestSuite
- class junit.framework.
TestSuite
.
A
TestSuite
is a
Composite
of Tests.
TestSuite()
- class junit.framework.
TestSuite
のコンストラクタ
Constructs an empty TestSuite.
TestSuite(Class, String)
- class junit.framework.
TestSuite
のコンストラクタ
Constructs a TestSuite from the given class with the given name.
TestSuite(Class)
- class junit.framework.
TestSuite
のコンストラクタ
Constructs a TestSuite from the given class.
TestSuite(String)
- class junit.framework.
TestSuite
のコンストラクタ
Constructs an empty TestSuite.
TestSuiteLoader
- interface junit.runner.
TestSuiteLoader
.
An interface to define how a test suite should be loaded.
tearDown()
- class junit.extensions.
TestSetup
のメソッド
Tears down the fixture.
tearDown()
- class junit.framework.
TestCase
のメソッド
Tears down the fixture, for example, close a network connection.
terminate()
- class junit.swingui.
TestRunner
のメソッド
Terminates the TestRunner
testAdd()
- class junit.samples.
SimpleTest
のメソッド
testAt(int)
- class junit.framework.
TestSuite
のメソッド
Returns the test at the given index
testBagMultiply()
- class junit.samples.money.
MoneyTest
のメソッド
testBagNegate()
- class junit.samples.money.
MoneyTest
のメソッド
testBagNotEquals()
- class junit.samples.money.
MoneyTest
のメソッド
testBagSimpleAdd()
- class junit.samples.money.
MoneyTest
のメソッド
testBagSubtract()
- class junit.samples.money.
MoneyTest
のメソッド
testBagSumAdd()
- class junit.samples.money.
MoneyTest
のメソッド
testCapacity()
- class junit.samples.
VectorTest
のメソッド
testClone()
- class junit.samples.
VectorTest
のメソッド
testContains()
- class junit.samples.
VectorTest
のメソッド
testCount()
- class junit.framework.
TestSuite
のメソッド
Returns the number of tests in this suite
testDivideByZero()
- class junit.samples.
SimpleTest
のメソッド
testElementAt()
- class junit.samples.
VectorTest
のメソッド
testEnded(String)
- class junit.awtui.
TestRunner
のメソッド
testEnded(String)
- class junit.runner.
BaseTestRunner
のメソッド
testEnded(String)
- interface junit.runner.
TestRunListener
のメソッド
testEnded(String)
- class junit.swingui.
TestRunner
のメソッド
testEnded(String)
- class junit.textui.
TestRunner
のメソッド
testEquals()
- class junit.samples.
SimpleTest
のメソッド
testFailed(int, Test, Throwable)
- class junit.awtui.
TestRunner
のメソッド
testFailed(int, Test, Throwable)
- class junit.runner.
BaseTestRunner
のメソッド
testFailed(int, String, String)
- interface junit.runner.
TestRunListener
のメソッド
testFailed(int, Test, Throwable)
- class junit.swingui.
TestRunner
のメソッド
testFailed(int, Test, Throwable)
- class junit.textui.
TestRunner
のメソッド
testIsZero()
- class junit.samples.money.
MoneyTest
のメソッド
testMixedSimpleAdd()
- class junit.samples.money.
MoneyTest
のメソッド
testMoneyBagEquals()
- class junit.samples.money.
MoneyTest
のメソッド
testMoneyBagHash()
- class junit.samples.money.
MoneyTest
のメソッド
testMoneyEquals()
- class junit.samples.money.
MoneyTest
のメソッド
testMoneyHash()
- class junit.samples.money.
MoneyTest
のメソッド
testNormalize2()
- class junit.samples.money.
MoneyTest
のメソッド
testNormalize3()
- class junit.samples.money.
MoneyTest
のメソッド
testNormalize4()
- class junit.samples.money.
MoneyTest
のメソッド
testPrint()
- class junit.samples.money.
MoneyTest
のメソッド
testRemoveAll()
- class junit.samples.
VectorTest
のメソッド
testRemoveElement()
- class junit.samples.
VectorTest
のメソッド
testRunEnded(long)
- interface junit.runner.
TestRunListener
のメソッド
testRunStarted(String, int)
- interface junit.runner.
TestRunListener
のメソッド
testRunStopped(long)
- interface junit.runner.
TestRunListener
のメソッド
testSelected()
- class junit.swingui.
FailureRunView
のメソッド
testSelected()
- class junit.swingui.
TestHierarchyRunView
のメソッド
testSimpleAdd()
- class junit.samples.money.
MoneyTest
のメソッド
testSimpleBagAdd()
- class junit.samples.money.
MoneyTest
のメソッド
testSimpleMultiply()
- class junit.samples.money.
MoneyTest
のメソッド
testSimpleNegate()
- class junit.samples.money.
MoneyTest
のメソッド
testSimpleSubtract()
- class junit.samples.money.
MoneyTest
のメソッド
testSimplify()
- class junit.samples.money.
MoneyTest
のメソッド
testStarted(String)
- class junit.awtui.
TestRunner
のメソッド
testStarted(String)
- class junit.runner.
BaseTestRunner
のメソッド
testStarted(String)
- interface junit.runner.
TestRunListener
のメソッド
testStarted(String)
- class junit.swingui.
TestRunner
のメソッド
testStarted(String)
- class junit.textui.
TestRunner
のメソッド
testViewChanged()
- class junit.swingui.
TestRunner
のメソッド
tests()
- class junit.framework.
TestSuite
のメソッド
Returns the tests as an enumeration
textChanged()
- class junit.swingui.
TestRunner
のメソッド
thrownException()
- class junit.framework.
TestFailure
のメソッド
Gets the thrown exception.
toString()
- class junit.extensions.
RepeatedTest
のメソッド
toString()
- class junit.extensions.
TestDecorator
のメソッド
toString()
- class junit.framework.
TestCase
のメソッド
Returns a string representation of the test case
toString()
- class junit.framework.
TestFailure
のメソッド
Returns a short description of the failure.
toString()
- class junit.framework.
TestSuite
のメソッド
toString()
- class junit.samples.money.
Money
のメソッド
trace()
- class junit.framework.
TestFailure
のメソッド
truncate(String)
- class junit.runner.
BaseTestRunner
の static メソッド
Truncates a String to the maximum length.
U
updateBarColor()
- class junit.swingui.
MacProgressBar
のメソッド
useReloadingTestSuiteLoader()
- class junit.runner.
BaseTestRunner
のメソッド
V
VectorTest
- class junit.samples.
VectorTest
.
A sample test case, testing
java.util.Vector
.
VectorTest()
- class junit.samples.
VectorTest
のコンストラクタ
Version
- class junit.runner.
Version
.
This class defines the current version of JUnit
W
wasSuccessful()
- class junit.framework.
TestResult
のメソッド
Returns whether the entire test was successful or not.
A
B
C
D
E
F
G
H
I
J
L
M
N
P
R
S
T
U
V
W
概要
パッケージ
クラス
使用
階層ツリー
非推奨 API
索引
ヘルプ
前 次
フレームあり
フレームなし
すべてのクラス
Copyright © 2001-2004 JUnit.org. All Rights Reserved.