Home
last modified time | relevance | path

Searched refs:assertState (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/util/concurrent/tck/
DPhaserTest.java61 protected void assertState(Phaser phaser, in assertState() method in PhaserTest
164 assertState(phaser, 0, 0, 0); in testRegister1()
166 assertState(phaser, 0, 1, 1); in testRegister1()
174 assertState(phaser, 0, 0, 0); in testRegister2()
176 assertState(phaser, 0, maxParties - 10, maxParties - 10); in testRegister2()
178 assertState(phaser, 0, maxParties - 10 + i, maxParties - 10 + i); in testRegister2()
181 assertState(phaser, 0, maxParties, maxParties); in testRegister2()
193 assertState(phaser, 0, maxParties, maxParties); in testRegister2()
205 assertState(phaser, 1, 2, 2); in testRegister3()
217 assertState(phaser, 1, 2, 1); in testRegister4()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DPhaserTest.java37 protected void assertState(Phaser phaser, in assertState() method in PhaserTest
140 assertState(phaser, 0, 0, 0); in testRegister1()
142 assertState(phaser, 0, 1, 1); in testRegister1()
150 assertState(phaser, 0, 0, 0); in testRegister2()
152 assertState(phaser, 0, maxParties - 10, maxParties - 10); in testRegister2()
154 assertState(phaser, 0, maxParties - 10 + i, maxParties - 10 + i); in testRegister2()
157 assertState(phaser, 0, maxParties, maxParties); in testRegister2()
169 assertState(phaser, 0, maxParties, maxParties); in testRegister2()
181 assertState(phaser, 1, 2, 2); in testRegister3()
193 assertState(phaser, 1, 2, 1); in testRegister4()
[all …]