Last change
on this file since 36188 was 36063, checked in by taylor.smock, 2 years ago |
See #16567: Convert all assertion calls to JUnit 5 (patch by gaben, modified)
The modifications are as follows:
- Merge DomainValidatorTest.testIDN and DomainValidatorTest.testIDNJava6OrLater
- Update some tests to use @ParameterizedTest (DomainValidatorTest)
- Replace various exception blocks with
assertThrows . These typically looked like
try {
// Something that should throw an exception here
fail("An exception should have been thrown");
} catch (Exception e) {
// Verify the exception matches expectations here
}
- Replace
assertTrue(val instanceof Clazz) with assertInstanceOf
- Replace JUnit 4 @Suite with JUnit 5 @Suite
Both the original patch and the modified patch fix various lint issues.
|
File size:
709 bytes
|
Line | |
---|
1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <module type="JAVA_MODULE" version="4">
|
---|
3 | <component name="NewModuleRootManager">
|
---|
4 | <output url="file://$MODULE_DIR$/bin" />
|
---|
5 | <exclude-output />
|
---|
6 | <content url="file://$MODULE_DIR$">
|
---|
7 | <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
---|
8 | <sourceFolder url="file://$MODULE_DIR$/images" type="java-resource" relativeOutputPath="images" />
|
---|
9 | <sourceFolder url="file://$MODULE_DIR$/data" type="java-resource" relativeOutputPath="data" />
|
---|
10 | </content>
|
---|
11 | <orderEntry type="sourceFolder" forTests="false" />
|
---|
12 | <orderEntry type="inheritedJdk" />
|
---|
13 | <orderEntry type="module" module-name="JOSM" />
|
---|
14 | </component>
|
---|
15 | </module>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.