A question about Junit3.8.1?

when reading the Junit3.8.1 source code, normally, the first thing to test is to execute the main method in TestRunner , but I found that I didn"t go this way when I broke the point. I typed the breakpoint in the TestCase class and found that I could enter it. I looked at the debug window and found a problem, such as the following figure

clipboard.png

found that the type of testRunner is JUnit3IdeaTestRunner . I wonder what Idea did during the Junit test to cause this phenomenon.

ask everyone for advice, thank you!

Mar.04,2021

answer your own questions

clipboard.png

JunitIdeaJunitJUnitStartermainmainprepareStreamsAndStartIdeaTestRunnerstartRunnerWithArgsJunit3IdeaTestRunnerstartRunnerWithArgsTestRunnerdoRunJunit

clipboard.png

IdeaJunit

------------------------------------------------------------------
(websequence):

title Junit3.8.1

JUnitStarter->JUnitStarter: main
note right of JUnitStarter: args{"-ideVersion5",n"-junit3",","}
JUnitStarter->JUnitStarter: prepareStreamsAndStart
note right of JUnitStarter: args{","},nagentName{"com.intellij.junit3.JUnit3IdeaTestRunner",nlisteners{size=0},nname{null}}

note right of JUnitStarter: IdeaTestRunner,nargs{",",nlisteners{size=0},nname{null},count=1,n sendTree=true}
JUnitStarter->+IdeaTestRunner.Repeater:startRunnerWithArgs

note right of IdeaTestRunner.Repeater: args{","},nname=null,ncount=1,nsendTree=true}
IdeaTestRunner.Repeater->+JUnit3IdeaTestRunner:startRunnerWithArgs

note left of TestRunner: Test=
JUnit3IdeaTestRunner->+TestRunner:doRun

note left of TestRunner: Test=,wait=false
TestRunner->JUnit3IdeaTestRunner:doRun

note left of TestRunner: Test=,wait=false
JUnit3IdeaTestRunner->TestRunner:doRun

TestRunner->+TestCase:run

TestCase->+TestResult:runTestCase=

TestResult->TestResult:startTestTestCase=

TestResult->TestCase:runBare

TestCase->TestCase:setUp

TestCase->TestCase:runTest()

TestCase->TestCase:tearDown

TestCase-->TestResult:

TestResult->TestResult:endTest(TestCase=)

TestResult-->-TestCase:

TestCase-->-TestRunner:

TestRunner-->-JUnit3IdeaTestRunner:

JUnit3IdeaTestRunner->-IdeaTestRunner.Repeater:

IdeaTestRunner.Repeater->-JUnitStarter:

:

clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3adca-4eeb0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3adca-4eeb0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?