mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
fix test to allow integration tests
This commit is contained in:
parent
52c89438b4
commit
d7dab0df72
@ -75,7 +75,10 @@ public class NamingConventionTests extends ElasticsearchTestCase {
|
||||
if (filename.endsWith(".class")) {
|
||||
Class<?> clazz = loadClass(filename);
|
||||
if (Modifier.isAbstract(clazz.getModifiers()) == false && Modifier.isInterface(clazz.getModifiers()) == false) {
|
||||
if ((clazz.getName().endsWith("Tests") || clazz.getName().endsWith("Test"))) { // don't worry about the ones that match the pattern
|
||||
if (clazz.getName().endsWith("Tests") ||
|
||||
clazz.getName().endsWith("IT") ||
|
||||
clazz.getName().endsWith("Test")) { // don't worry about the ones that match the pattern
|
||||
|
||||
if (isTestCase(clazz) == false) {
|
||||
notImplementing.add(clazz);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user