@abaplint/transpiler 2.4.22 → 2.4.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/unit_test.js +4 -1
- package/package.json +1 -1
package/build/src/unit_test.js
CHANGED
|
@@ -124,7 +124,10 @@ async function run() {
|
|
|
124
124
|
ret += ` clas = unit.addObject("${obj.getName()}");\n`;
|
|
125
125
|
for (const file of obj.getABAPFiles()) {
|
|
126
126
|
for (const def of file.getInfo().listClassDefinitions()) {
|
|
127
|
-
if (def.isForTesting === false
|
|
127
|
+
if (def.isForTesting === false
|
|
128
|
+
|| def.isGlobal === true
|
|
129
|
+
|| def.methods.length === 0
|
|
130
|
+
|| def.isAbstract === true) {
|
|
128
131
|
// todo, fix, there might be global test methods
|
|
129
132
|
continue;
|
|
130
133
|
}
|