mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 00:16:57 +00:00
Add tests relating to overloaded symbols
* Test whether retrieval returns all overloads * Test whether tools operating on well-defined symbols raise an error if the symbol is non-unique
This commit is contained in:
1 parent
bb79bf98d2
commit
a38311984a
2 files changed
+73
-1
No files matched your search
@@ -10,4 +10,12 @@ public class Model {
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public String getName(int maxChars) {
|
||||
if (name.length() <= maxChars) {
|
||||
return name;
|
||||
} else {
|
||||
return name.substring(0, maxChars) + "...";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user