mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fix bug in TestNG annotation support
This commit is contained in:
parent
0a08e5458e
commit
6c75ce7f68
|
@ -660,7 +660,11 @@ public class TeaVMTestRunner extends Runner implements Filterable {
|
||||||
return runner;
|
return runner;
|
||||||
}
|
}
|
||||||
|
|
||||||
String providerName = annot.getValue("dataProvider").getString();
|
AnnotationValue dataProviderValue = annot.getValue("dataProvider");
|
||||||
|
if (dataProviderValue == null) {
|
||||||
|
return runner;
|
||||||
|
}
|
||||||
|
String providerName = dataProviderValue.getString();
|
||||||
if (providerName.isEmpty()) {
|
if (providerName.isEmpty()) {
|
||||||
return runner;
|
return runner;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user