equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 import java.lang.SuppressWarnings; |
24 import java.lang.SuppressWarnings; |
25 |
25 |
26 import static jdk.testlibrary.Asserts.*; |
26 import static jdk.test.lib.Asserts.*; |
27 |
27 |
28 /* @test |
28 /* |
|
29 * @test |
|
30 * @library /test/lib |
29 * @summary Tests the different assertions in the Assert class |
31 * @summary Tests the different assertions in the Assert class |
30 */ |
32 */ |
31 public class AssertsTest { |
33 public class AssertsTest { |
32 private static class Foo implements Comparable<Foo> { |
34 private static class Foo implements Comparable<Foo> { |
33 final int id; |
35 final int id; |