v++
This commit is contained in:
2023-12-31 17:36:20 +03:00
parent b4184d9361
commit 5baf2154e2
9 changed files with 296 additions and 74 deletions

View File

@@ -93,4 +93,18 @@ public class TestDBTable extends iDBTable<Test> {
}
};
}
public boolean containsTestWithDescription(String description_in) {
for (Test test : Data.values()) {
if (test.description.equalsIgnoreCase(description_in))
return true;
}
return false;
}
public Test getTestByDescription(String description_in) {
for (Test test : Data.values()) {
if (test.description.equalsIgnoreCase(description_in))
return test;
}
return null;
}
}