概要
パッケージ
クラス
階層ツリー
非推奨 API
索引
ヘルプ
前 次
フレームあり
フレームなし
すべてのクラス
A
B
C
D
E
F
G
H
I
J
L
M
P
R
S
T
U
V
W
A
aboutToStart(Test)
- class junit.swingui.
TestRunner
のメソッド
aboutToStart(Test, TestResult)
- class junit.swingui.
TestHierarchyRunView
のメソッド
aboutToStart(Test, TestResult)
- class junit.swingui.
FailureRunView
のメソッド
activate()
- class junit.swingui.
TestHierarchyRunView
のメソッド
activate()
- class junit.swingui.
FailureRunView
のメソッド
ActiveTestSuite
- class junit.extensions.
ActiveTestSuite
.
A TestSuite for active Tests.
ActiveTestSuite()
- class junit.extensions.
ActiveTestSuite
のコンストラクタ
ActiveTestSuite(Class)
- class junit.extensions.
ActiveTestSuite
のコンストラクタ
ActiveTestSuite(Class, String)
- class junit.extensions.
ActiveTestSuite
のコンストラクタ
ActiveTestSuite(String)
- class junit.extensions.
ActiveTestSuite
のコンストラクタ
addError(Test, Throwable)
- class junit.framework.
TestResult
のメソッド
Adds an error to the list of errors.
addError(Test, Throwable)
- interface junit.framework.
TestListener
のメソッド
Error(テスト失敗時に発生する例外以外のテスト実行時例外)の発生を記録します。
addError(Test, Throwable)
- class junit.runner.
BaseTestRunner
のメソッド
addError(Test, Throwable)
- class junit.textui.
ResultPrinter
のメソッド
addFailure(Test, AssertionFailedError)
- class junit.framework.
TestResult
のメソッド
Adds a failure to the list of failures.
addFailure(Test, AssertionFailedError)
- interface junit.framework.
TestListener
のメソッド
Failure(テスト失敗時例外)の発生を記録します。
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
addTab(JTabbedPane)
- class junit.swingui.
TestHierarchyRunView
のメソッド
addTab(JTabbedPane)
- class junit.swingui.
FailureRunView
のメソッド
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
のメソッド
Assert
- class junit.framework.
Assert
.
検証のためのメソッドの集合です。
Assert()
- class junit.framework.
Assert
のコンストラクタ
static(静的)なクラスからのみ呼び出されるprotectedなコンストラクタです。
assertEquals(boolean, boolean)
- class junit.framework.
Assert
の static メソッド
引数の2つのboolean値が等値であることを表明します。
assertEquals(byte, byte)
- class junit.framework.
Assert
の static メソッド
引数の2つのbyte値が等値であることを表明します。
assertEquals(char, char)
- class junit.framework.
Assert
の static メソッド
引数の2つのchar値が等値であることを表明します。
assertEquals(double, double, double)
- class junit.framework.
Assert
の static メソッド
deltaで指定される範囲で、引数で渡されたexpectedとactualのdouble値が
近似値であることを表明します。
assertEquals(float, float, float)
- class junit.framework.
Assert
の static メソッド
deltaで指定される範囲で、引数で渡されたexpectedとactualのfloat値が
近似値であることを表明します。
assertEquals(int, int)
- class junit.framework.
Assert
の static メソッド
引数の2つのint値が等値であることを表明します。
assertEquals(long, long)
- class junit.framework.
Assert
の static メソッド
引数の2つのlong値が等値であることを表明します。
assertEquals(Object, Object)
- class junit.framework.
Assert
の static メソッド
引数の2つのObjectが等値であることを表明します。
assertEquals(short, short)
- class junit.framework.
Assert
の static メソッド
引数の2つのshort値が等値であることを表明します。
assertEquals(String, boolean, boolean)
- class junit.framework.
Assert
の static メソッド
引数の2つのboolean値が等値であることを表明します。
assertEquals(String, byte, byte)
- class junit.framework.
Assert
の static メソッド
引数の2つのbyte値が等値であることを表明します。
assertEquals(String, char, char)
- class junit.framework.
Assert
の static メソッド
引数の2つのchar値が等値であることを表明します。
assertEquals(String, double, double, double)
- class junit.framework.
Assert
の static メソッド
deltaで指定される範囲で、引数で渡されたexpectedとactualのdouble値が
近似値であることを表明します。
assertEquals(String, float, float, float)
- class junit.framework.
Assert
の static メソッド
deltaで指定される範囲で、引数で渡されたexpectedとactualのfloat値が
近似値であることを表明します。
assertEquals(String, int, int)
- class junit.framework.
Assert
の static メソッド
引数の2つのint値が等値であることを表明します。
assertEquals(String, long, long)
- class junit.framework.
Assert
の static メソッド
引数の2つのlong値が等値であることを表明します。
assertEquals(String, Object, Object)
- class junit.framework.
Assert
の static メソッド
引数の2つのObjectが等値であることを表明します。
assertEquals(String, short, short)
- class junit.framework.
Assert
の static メソッド
引数の2つのshort値が等値であることを表明します。
assertEquals(String, String)
- class junit.framework.
Assert
の static メソッド
引数の2つのStringが等値であることを表明します。
assertEquals(String, String, String)
- class junit.framework.
Assert
の static メソッド
引数の2つのStringが等値であることを表明します。
assertFalse(boolean)
- class junit.framework.
Assert
の static メソッド
引数のboolean値がfalseであることを表明します。
assertFalse(String, boolean)
- class junit.framework.
Assert
の static メソッド
引数のboolean値がfalseであることを表明します。
AssertionFailedError
- error junit.framework.
AssertionFailedError
.
検証が失敗した場合にスローされる例外です。
AssertionFailedError()
- class junit.framework.
AssertionFailedError
のコンストラクタ
任意のメッセージを設定しないコンストラクタです。
AssertionFailedError(String)
- class junit.framework.
AssertionFailedError
のコンストラクタ
任意のメッセージを設定するコンストラクタです。
assertNotNull(Object)
- class junit.framework.
Assert
の static メソッド
引数のObjectがnull値でないことを表明します。
assertNotNull(String, Object)
- class junit.framework.
Assert
の static メソッド
引数のObjectがnull値でないことを表明します。
assertNotSame(Object, Object)
- class junit.framework.
Assert
の static メソッド
引数の2つのObject(への参照を表す変数)が、同じオブジェクトではないことを表明します。
assertNotSame(String, Object, Object)
- class junit.framework.
Assert
の static メソッド
引数の2つのObject(への参照を表す変数)が、同じオブジェクトではないことを表明します。
assertNull(Object)
- class junit.framework.
Assert
の static メソッド
引数のObjectがnull値であることを表明します。
assertNull(String, Object)
- class junit.framework.
Assert
の static メソッド
引数のObjectがnull値であることを表明します。
assertSame(Object, Object)
- class junit.framework.
Assert
の static メソッド
引数の2つのObject(への参照を表す変数)が、同じオブジェクトであることを表明します。
assertSame(String, Object, Object)
- class junit.framework.
Assert
の static メソッド
引数の2つのObject(への参照を表す変数)が、同じオブジェクトであることを表明します。
assertTrue(boolean)
- class junit.framework.
Assert
の static メソッド
引数のboolean値がtrueであることを表明します。
assertTrue(String, boolean)
- class junit.framework.
Assert
の static メソッド
引数のboolean値がtrueであることを表明します。
B
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.
BOLD_FONT
- class junit.swingui.
StatusLine
の static 変数
browseTestClasses()
- class junit.swingui.
TestRunner
のメソッド
C
classNameFromFile(String)
- class junit.runner.
ClassPathTestCollector
のメソッド
ClassPathTestCollector
- class junit.runner.
ClassPathTestCollector
.
An implementation of a TestCollector that consults the class path.
ClassPathTestCollector()
- class junit.runner.
ClassPathTestCollector
のコンストラクタ
clear()
- interface junit.runner.
FailureDetailView
のメソッド
Clears the view
clear()
- class junit.swingui.
StatusLine
のメソッド
clear()
- class junit.swingui.
DefaultFailureDetailView
のメソッド
Clears the output.
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()
- interface junit.runner.
TestCollector
のメソッド
Returns an enumeration of Strings with qualified class names
collectTests()
- class junit.runner.
ClassPathTestCollector
のメソッド
ComparisonFailure
- error junit.framework.
ComparisonFailure
.
文字列の検証に失敗した場合にスローされる例外です。
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
のコンストラクタ
countTestCases()
- class junit.framework.
TestSuite
のメソッド
Counts the number of test cases that will be run by this test.
countTestCases()
- class junit.framework.
TestCase
のメソッド
当クラスのrun(TestResult result)メソッドによって実行された
テストケース数を返却します。
countTestCases()
- interface junit.framework.
Test
のメソッド
Counts the number of test cases that will be run by this test.
countTestCases()
- class junit.extensions.
TestDecorator
のメソッド
countTestCases()
- class junit.extensions.
RepeatedTest
のメソッド
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(JMenuBar)
- class junit.swingui.
TestRunner
のメソッド
createMenus(MenuBar)
- class junit.awtui.
TestRunner
のメソッド
createQuitButton()
- class junit.swingui.
TestRunner
のメソッド
createResult()
- class junit.framework.
TestCase
のメソッド
デフォルトのTestResultオブジェクトを生成します。
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
のメソッド
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
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)
- class junit.framework.
TestResult
のメソッド
Informs the result that a test was completed.
endTest(Test)
- interface junit.framework.
TestListener
のメソッド
テストの終了を記録します。
endTest(Test)
- class junit.runner.
BaseTestRunner
のメソッド
endTest(Test)
- class junit.textui.
ResultPrinter
のメソッド
errorCount()
- class junit.framework.
TestResult
のメソッド
Gets the number of detected errors.
errors()
- class junit.framework.
TestResult
のメソッド
Returns an Enumeration for the errors
EXCEPTION_EXIT
- class junit.textui.
TestRunner
の static 変数
exceptionMessage()
- class junit.framework.
TestFailure
のメソッド
ExceptionTestCase
- class junit.extensions.
ExceptionTestCase
.
A TestCase that expects an Exception of class fExpected to be thrown.
ExceptionTestCase(String, Class)
- class junit.extensions.
ExceptionTestCase
のコンストラクタ
extractClassName(String)
- class junit.runner.
BaseTestRunner
のメソッド
Extract the class name from a String in VA/Java style
F
fail()
- class junit.framework.
Assert
の static メソッド
messageを表示せずに、テストを失敗にします。
fail(String)
- class junit.framework.
Assert
の static メソッド
テストを失敗にし、messageを表示します。
failedTest()
- class junit.framework.
TestFailure
のメソッド
Gets the failed test.
FAILURE_EXIT
- class junit.textui.
TestRunner
の static 変数
failureCount()
- class junit.framework.
TestResult
のメソッド
Gets the number of detected failures.
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
のコンストラクタ
failures()
- class junit.framework.
TestResult
のメソッド
Returns an Enumeration for the failures
failureSelected()
- class junit.awtui.
TestRunner
のメソッド
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
の変数
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
の変数
fRunner
- class junit.awtui.
TestRunner
の変数
fRunTests
- class junit.framework.
TestResult
の変数
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
の変数
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()
- class junit.swingui.
TestRunner
のメソッド
getFailures()
- interface junit.swingui.
TestRunContext
のメソッド
Returns the failure model
getFilteredTrace(String)
- class junit.runner.
BaseTestRunner
の static メソッド
Filters stack frames from internal JUnit classes
getFilteredTrace(Throwable)
- class junit.runner.
BaseTestRunner
の static メソッド
Returns a filtered stack trace
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.
TestSuite
のメソッド
Returns the name of the suite.
getName()
- class junit.framework.
TestCase
のメソッド
テストケースの名前(メソッド名)を取得します。
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.
TestHierarchyRunView
のメソッド
getSelectedTest()
- class junit.swingui.
FailureRunView
のメソッド
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)
- class junit.swingui.
TestRunner
のメソッド
handleTestSelected(Test)
- interface junit.swingui.
TestRunContext
のメソッド
Handles the selection of a Test.
I
id()
- class junit.runner.
Version
の static メソッド
insertUpdate(DocumentEvent)
- class junit.swingui.
TestRunner
のメソッド
inVAJava()
- class junit.runner.
BaseTestRunner
の static メソッド
isExcluded(String)
- class junit.runner.
TestCaseClassLoader
のメソッド
isFailure()
- class junit.framework.
TestFailure
のメソッド
isTestClass(String)
- class junit.runner.
SimpleTestCollector
のメソッド
isTestClass(String)
- class junit.runner.
LoadingTestCollector
のメソッド
isTestClass(String)
- class junit.runner.
ClassPathTestCollector
のメソッド
J
junit.awtui
- package junit.awtui
junit.extensions
- package junit.extensions
junit.framework
- package junit.framework
junit.runner
- package junit.runner
junit.swingui
- package junit.swingui
junit.textui
- package junit.textui
L
load(String)
- interface junit.runner.
TestSuiteLoader
のメソッド
load(String)
- class junit.runner.
StandardTestSuiteLoader
のメソッド
Uses the system class loader to load the test class
load(String)
- class junit.runner.
ReloadingTestSuiteLoader
のメソッド
loadClass(String, boolean)
- class junit.runner.
TestCaseClassLoader
のメソッド
loadImage(String)
- class junit.awtui.
Logo
のメソッド
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
のコンストラクタ
loadSuiteClass(String)
- class junit.runner.
BaseTestRunner
のメソッド
Returns the loaded Class for a suite name.
Logo
- class junit.awtui.
Logo
.
Logo()
- class junit.awtui.
Logo
のコンストラクタ
M
main(String[])
- class junit.awtui.
TestRunner
の static メソッド
main(String[])
- class junit.swingui.
TestRunner
の static メソッド
main(String[])
- class junit.textui.
TestRunner
の static メソッド
P
paint(Graphics)
- class junit.awtui.
ProgressBar
のメソッド
paint(Graphics)
- class junit.awtui.
Logo
のメソッド
paintBackground(Graphics)
- class junit.awtui.
ProgressBar
のメソッド
paintBackground(Graphics)
- class junit.awtui.
Logo
のメソッド
paintStatus(Graphics)
- class junit.awtui.
ProgressBar
のメソッド
pause(boolean)
- class junit.textui.
TestRunner
のメソッド
PLAIN_FONT
- class junit.awtui.
TestRunner
の static 変数
PLAIN_FONT
- class junit.swingui.
StatusLine
の static 変数
printDefect(TestFailure, int)
- class junit.textui.
ResultPrinter
のメソッド
printDefectHeader(TestFailure, int)
- class junit.textui.
ResultPrinter
のメソッド
printDefects(Enumeration, int, String)
- class junit.textui.
ResultPrinter
のメソッド
printDefectTrace(TestFailure)
- 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
ProgressBar
- class junit.awtui.
ProgressBar
.
ProgressBar()
- class junit.awtui.
ProgressBar
のコンストラクタ
protect()
- interface junit.framework.
Protectable
のメソッド
Run the the following method protected.
Protectable
- interface junit.framework.
Protectable
.
A
Protectable
can be run and can throw a Throwable.
R
reload(Class)
- interface junit.runner.
TestSuiteLoader
のメソッド
reload(Class)
- class junit.runner.
StandardTestSuiteLoader
のメソッド
Uses the system class loader to load the test class
reload(Class)
- class junit.runner.
ReloadingTestSuiteLoader
のメソッド
ReloadingTestSuiteLoader
- class junit.runner.
ReloadingTestSuiteLoader
.
A TestSuite loader that can reload classes.
ReloadingTestSuiteLoader()
- class junit.runner.
ReloadingTestSuiteLoader
のコンストラクタ
removeListener(TestListener)
- class junit.framework.
TestResult
のメソッド
Unregisters a TestListener
removeUpdate(DocumentEvent)
- class junit.swingui.
TestRunner
のメソッド
RepeatedTest
- class junit.extensions.
RepeatedTest
.
A Decorator that runs a test repeatedly.
RepeatedTest(Test, int)
- class junit.extensions.
RepeatedTest
のコンストラクタ
rerun()
- class junit.awtui.
TestRunner
のメソッド
reset()
- class junit.awtui.
TestRunner
のメソッド
reset()
- class junit.awtui.
ProgressBar
のメソッド
reset()
- class junit.swingui.
TestRunner
のメソッド
reset()
- class junit.swingui.
CounterPanel
のメソッド
ResultPrinter
- class junit.textui.
ResultPrinter
.
ResultPrinter(PrintStream)
- class junit.textui.
ResultPrinter
のコンストラクタ
revealFailure(Test)
- class junit.swingui.
TestHierarchyRunView
のメソッド
revealFailure(Test)
- class junit.swingui.
FailureRunView
のメソッド
run()
- class junit.framework.
TestCase
のメソッド
引数にTestResultクラスのインスタンスを指定しない、簡易なテスト実行メソッドです。
run(Class)
- class junit.awtui.
TestRunner
の static メソッド
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.
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(TestResult)
- class junit.framework.
TestCase
のメソッド
テストケースを実行し、実行結果を引数で与えられたTestResultクラスのインスタンスに格納します。
run(TestResult)
- interface junit.framework.
Test
のメソッド
Runs a test and collects its result in a TestResult instance.
run(TestResult)
- class junit.extensions.
TestSetup
のメソッド
run(TestResult)
- class junit.extensions.
TestDecorator
のメソッド
run(TestResult)
- class junit.extensions.
RepeatedTest
のメソッド
run(TestResult)
- class junit.extensions.
ActiveTestSuite
のメソッド
runAndWait(Test)
- class junit.textui.
TestRunner
の static メソッド
Runs a single test and waits until the user types RETURN.
runBare()
- class junit.framework.
TestCase
のメソッド
単一のテストメソッドを順に実行します。
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)
- class junit.swingui.
TestRunner
のメソッド
runFinished(Test, TestResult)
- class junit.swingui.
TestHierarchyRunView
のメソッド
runFinished(Test, TestResult)
- class junit.swingui.
FailureRunView
のメソッド
runProtected(Test, Protectable)
- class junit.framework.
TestResult
のメソッド
Runs a TestCase.
runSuite()
- class junit.awtui.
TestRunner
のメソッド
runSuite()
- class junit.swingui.
TestRunner
のメソッド
runTest()
- class junit.framework.
TestCase
のメソッド
当クラスのコンストラクタ、またはsetName(String name)で指定した
テストメソッドを検出し、実行します。
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(Test)
- class junit.swingui.
TestRunner
のメソッド
runTest(Test, TestResult)
- class junit.framework.
TestSuite
のメソッド
runTest(Test, TestResult)
- class junit.extensions.
ActiveTestSuite
のメソッド
S
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.
TestSuite
のメソッド
Sets the name of the suite.
setName(String)
- class junit.framework.
TestCase
のメソッド
テストケースの名前(メソッド名)を設定します。
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.framework.
TestCase
のメソッド
テストの実行に際して、事前のセットアップを行います。
setUp()
- class junit.extensions.
TestSetup
のメソッド
Sets up the fixture.
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 メソッド
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.Swapper
- interface junit.runner.
Sorter.Swapper
.
Sorter()
- class junit.runner.
Sorter
のコンストラクタ
sortStrings(Vector, int, int, Sorter.Swapper)
- class junit.runner.
Sorter
の static メソッド
StandardTestSuiteLoader
- class junit.runner.
StandardTestSuiteLoader
.
The standard test suite loader.
StandardTestSuiteLoader()
- class junit.runner.
StandardTestSuiteLoader
のコンストラクタ
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)
- class junit.framework.
TestResult
のメソッド
Informs the result that a test will be started.
startTest(Test)
- interface junit.framework.
TestListener
のメソッド
テストの開始を記録します。
startTest(Test)
- class junit.runner.
BaseTestRunner
のメソッド
startTest(Test)
- class junit.textui.
ResultPrinter
のメソッド
STATUS_ERROR
- interface junit.runner.
TestRunListener
の static 変数
STATUS_FAILURE
- interface junit.runner.
TestRunListener
の static 変数
StatusLine
- class junit.swingui.
StatusLine
.
A status line component.
StatusLine(int)
- class junit.swingui.
StatusLine
のコンストラクタ
step(boolean)
- class junit.awtui.
ProgressBar
のメソッド
stop()
- class junit.framework.
TestResult
のメソッド
Marks that the test run should stop.
SUCCESS_EXIT
- class junit.textui.
TestRunner
の static 変数
SUITE_METHODNAME
- class junit.runner.
BaseTestRunner
の static 変数
swap(Vector, int, int)
- interface junit.runner.
Sorter.Swapper
のメソッド
T
tearDown()
- class junit.framework.
TestCase
のメソッド
テストの実行に際して、事後の終了処理を行います。
tearDown()
- class junit.extensions.
TestSetup
のメソッド
Tears down the fixture.
terminate()
- class junit.swingui.
TestRunner
のメソッド
Terminates the TestRunner
Test
- interface junit.framework.
Test
.
A
Test
can be run and collect its results.
testAt(int)
- class junit.framework.
TestSuite
のメソッド
Returns the test at the given index
TestCase
- class junit.framework.
TestCase
.
様々なテストを行うためのメソッドを定義します。
TestCase()
- class junit.framework.
TestCase
のコンストラクタ
連続実行を可能にする引数なしコンストラクタ。
TestCase(String)
- class junit.framework.
TestCase
のコンストラクタ
テストケースのメソッド名を引数とするコンストラクタ。
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.
testCount()
- class junit.framework.
TestSuite
のメソッド
Returns the number of tests in this suite
TestDecorator
- class junit.extensions.
TestDecorator
.
A Decorator for Tests.
TestDecorator(Test)
- class junit.extensions.
TestDecorator
のコンストラクタ
testEnded(String)
- class junit.awtui.
TestRunner
のメソッド
testEnded(String)
- interface junit.runner.
TestRunListener
のメソッド
testEnded(String)
- class junit.runner.
BaseTestRunner
のメソッド
testEnded(String)
- class junit.swingui.
TestRunner
のメソッド
testEnded(String)
- class junit.textui.
TestRunner
のメソッド
testFailed(int, String, String)
- interface junit.runner.
TestRunListener
のメソッド
testFailed(int, Test, Throwable)
- class junit.awtui.
TestRunner
のメソッド
testFailed(int, Test, Throwable)
- class junit.runner.
BaseTestRunner
のメソッド
testFailed(int, Test, Throwable)
- class junit.swingui.
TestRunner
のメソッド
testFailed(int, Test, Throwable)
- class junit.textui.
TestRunner
のメソッド
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
.
テストの進行状態のリスナーインタフェースです。
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.
testRunEnded(long)
- interface junit.runner.
TestRunListener
のメソッド
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.swingui.
TestRunner
.
A Swing based user interface to run tests.
TestRunner
- class junit.textui.
TestRunner
.
A command line based tool to run tests.
TestRunner()
- class junit.awtui.
TestRunner
のコンストラクタ
TestRunner()
- class junit.swingui.
TestRunner
のコンストラクタ
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
testRunStarted(String, int)
- interface junit.runner.
TestRunListener
のメソッド
testRunStopped(long)
- interface junit.runner.
TestRunListener
のメソッド
tests()
- class junit.framework.
TestSuite
のメソッド
Returns the tests as an enumeration
testSelected()
- class junit.swingui.
TestHierarchyRunView
のメソッド
testSelected()
- class junit.swingui.
FailureRunView
のメソッド
TestSetup
- class junit.extensions.
TestSetup
.
A Decorator to set up and tear down additional fixture state.
TestSetup(Test)
- class junit.extensions.
TestSetup
のコンストラクタ
testStarted(String)
- class junit.awtui.
TestRunner
のメソッド
testStarted(String)
- interface junit.runner.
TestRunListener
のメソッド
testStarted(String)
- class junit.runner.
BaseTestRunner
のメソッド
testStarted(String)
- class junit.swingui.
TestRunner
のメソッド
testStarted(String)
- class junit.textui.
TestRunner
のメソッド
TestSuite
- class junit.framework.
TestSuite
.
A
TestSuite
is a
Composite
of Tests.
TestSuite()
- class junit.framework.
TestSuite
のコンストラクタ
Constructs an empty TestSuite.
TestSuite(Class)
- class junit.framework.
TestSuite
のコンストラクタ
Constructs a TestSuite from the given class.
TestSuite(Class, String)
- class junit.framework.
TestSuite
のコンストラクタ
Constructs a TestSuite from the given class with the given name.
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.
testViewChanged()
- class junit.swingui.
TestRunner
のメソッド
textChanged()
- class junit.swingui.
TestRunner
のメソッド
thrownException()
- class junit.framework.
TestFailure
のメソッド
Gets the thrown exception.
toString()
- class junit.framework.
TestSuite
のメソッド
toString()
- class junit.framework.
TestFailure
のメソッド
Returns a short description of the failure.
toString()
- class junit.framework.
TestCase
のメソッド
TestCaseクラスの文字列表現(完全限定名)を返却します。
toString()
- class junit.extensions.
TestDecorator
のメソッド
toString()
- class junit.extensions.
RepeatedTest
のメソッド
trace()
- class junit.framework.
TestFailure
のメソッド
truncate(String)
- class junit.runner.
BaseTestRunner
の static メソッド
Truncates a String to the maximum length.
U
useReloadingTestSuiteLoader()
- class junit.runner.
BaseTestRunner
のメソッド
V
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
P
R
S
T
U
V
W
概要
パッケージ
クラス
階層ツリー
非推奨 API
索引
ヘルプ
前 次
フレームあり
フレームなし
すべてのクラス