mirror of
https://github.com/collinsmith/riiablo.git
synced 2024-12-22 15:44:09 +07:00
Suppress expected deprecation warnings for test cases using test-specific code
This commit is contained in:
parent
0f226739d1
commit
84e21f2fdd
@ -199,6 +199,7 @@ class MpqTest extends RiiabloTest {
|
||||
"data\\global\\tiles\\ACT1\\TOWN\\townN1.ds1",
|
||||
"data\\local\\font\\LATIN\\font42.DC6",
|
||||
})
|
||||
@SuppressWarnings("deprecation")
|
||||
void contains(String filename) {
|
||||
assertTrue(mpq.contains(filename, DEFAULT_LOCALE));
|
||||
}
|
||||
@ -223,6 +224,7 @@ class MpqTest extends RiiabloTest {
|
||||
"data\\global\\CHARS\\PA\\HD\\PAHDBHMGH1HS.dcc",
|
||||
"data\\global\\CHARS\\SO\\SH\\SOSHBSHKKHTH.dcc",
|
||||
})
|
||||
@SuppressWarnings("deprecation")
|
||||
void contains(String filename) {
|
||||
assertTrue(mpq.contains(filename, DEFAULT_LOCALE));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user