Searched refs:maxParties (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | PhaserTest.java | 58 private static final int maxParties = 65535; field in PhaserTest 125 new Phaser(maxParties); in testConstructorPartiesExceedsLimit() 127 new Phaser(maxParties + 1); in testConstructorPartiesExceedsLimit() 131 new Phaser(new Phaser(), maxParties); in testConstructorPartiesExceedsLimit() 133 new Phaser(new Phaser(), maxParties + 1); in testConstructorPartiesExceedsLimit() 175 assertEquals(0, phaser.bulkRegister(maxParties - 10)); 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()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | PhaserTest.java | 34 private static final int maxParties = 65535; field in PhaserTest 101 new Phaser(maxParties); in testConstructorPartiesExceedsLimit() 103 new Phaser(maxParties + 1); in testConstructorPartiesExceedsLimit() 107 new Phaser(new Phaser(), maxParties); in testConstructorPartiesExceedsLimit() 109 new Phaser(new Phaser(), maxParties + 1); in testConstructorPartiesExceedsLimit() 151 assertEquals(0, phaser.bulkRegister(maxParties - 10)); 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()
|