|
1 | 1 | /* |
2 | 2 | * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. |
3 | | - * |
| 3 | + * |
4 | 4 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 | 5 | * |
6 | 6 | * The contents of this file are subject to the terms of either the Universal Permissive License |
|
10 | 10 | * |
11 | 11 | * Redistribution and use in source and binary forms, with or without modification, are permitted |
12 | 12 | * provided that the following conditions are met: |
13 | | - * |
| 13 | + * |
14 | 14 | * 1. Redistributions of source code must retain the above copyright notice, this list of conditions |
15 | 15 | * and the following disclaimer. |
16 | | - * |
| 16 | + * |
17 | 17 | * 2. Redistributions in binary form must reproduce the above copyright notice, this list of |
18 | 18 | * conditions and the following disclaimer in the documentation and/or other materials provided with |
19 | 19 | * the distribution. |
20 | | - * |
| 20 | + * |
21 | 21 | * 3. Neither the name of the copyright holder nor the names of its contributors may be used to |
22 | 22 | * endorse or promote products derived from this software without specific prior written permission. |
23 | | - * |
| 23 | + * |
24 | 24 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR |
25 | 25 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND |
26 | 26 | * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
|
30 | 30 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY |
31 | 31 | * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
32 | 32 | */ |
33 | | -package org.openjdk.jmc.common.util; |
34 | | - |
35 | | -import static org.junit.Assert.assertEquals; |
36 | | -import static org.junit.Assert.assertFalse; |
37 | | -import static org.junit.Assert.fail; |
| 33 | +package org.openjdk.jmc.common.test.util; |
38 | 34 |
|
39 | 35 | import java.util.Iterator; |
40 | 36 | import java.util.NoSuchElementException; |
|
44 | 40 | import org.openjdk.jmc.common.collection.BoundedList; |
45 | 41 | import org.openjdk.jmc.common.test.SlowTests; |
46 | 42 |
|
| 43 | +import static org.junit.Assert.assertEquals; |
| 44 | +import static org.junit.Assert.assertFalse; |
| 45 | +import static org.junit.Assert.fail; |
| 46 | + |
47 | 47 | public class BoundedListTest { |
48 | 48 |
|
49 | 49 | private static class ProducerThread implements Runnable { |
|
0 commit comments