???????????????????????????
???????????? ???????[ 2013/7/30 14:14:50 ] ????????
?????????????????????????£?
????
??package??test;??
??
import??static?? org.junit.Assert.*;??
??
import?? org.amino.util.msdk.unit.Parallelized;??
import?? org.amino.util.msdk.unit.annotation.CheckFor;??
import?? org.amino.util.msdk.unit.annotation.InitFor;??
import?? org.amino.util.msdk.unit.annotation.ParallelSetting;??
import?? org.amino.util.msdk.unit.annotation.Threaded;??
import?? org.junit.After;??
import??org.junit.AfterClass;??
import?? org.junit.Before;??
import??org.junit.BeforeClass;??
import?? org.junit.runner.RunWith;??
??
@RunWith(Parallelized.class)??
@ParallelSetting(threadNumber ??=??{??1????2????4????8????16????32????64??})??
??
public??class?? TestUnitExtensionSample1??{??
??
????@BeforeClass??
????public??static?? void??setUpBeforeClass()??throws??Exception??{}??
??
????@AfterClass??
????public??static??void??tearDownAfterClass()??throws??Exception??{}??
??
???? @Before??
????public??void??setUp()??throws??Exception??{}??
??
????@After??
????public??void??tearDown()??throws??Exception??{}??
??
???? @InitFor("testAdd")??
????public??void??initfortestAdd(int??threadNum){}??
??
????@CheckFor("testAdd")??
????public??void??checkfortestAdd(int??threadNum){} ??
??
????@Threaded??
????public??void??testAdd(int??rank????int??threadNum) {??
????}??
??
}??
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11