From b7e1aafa281278b6a4b72f1f018d071cf1572af6 Mon Sep 17 00:00:00 2001 From: shehan Date: Tue, 14 Jun 2022 13:36:13 -0400 Subject: [PATCH] A fix for issue #19 --- src/main/java/testsmell/TestSmellDetector.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/testsmell/TestSmellDetector.java b/src/main/java/testsmell/TestSmellDetector.java index a067e2f..12665c8 100644 --- a/src/main/java/testsmell/TestSmellDetector.java +++ b/src/main/java/testsmell/TestSmellDetector.java @@ -73,6 +73,7 @@ public List getTestSmellNames() { * test smells */ public TestFile detectSmells(TestFile testFile) throws IOException { + initializeSmells(); CompilationUnit testFileCompilationUnit = null; CompilationUnit productionFileCompilationUnit = null; FileInputStream testFileInputStream, productionFileInputStream;