moving tests

This commit is contained in:
Dmitry Jemerov
2009-09-10 19:49:38 +04:00
parent e389680982
commit b43c03ca2f
305 changed files with 32 additions and 4 deletions
@@ -0,0 +1,33 @@
class Element {
String id;
String <caret>getName() {
return getID();
}
String getID() {
return id;
}
public String method(Element element) {
return getName() + element.getName();
}
public String staticMethod(Element element) {
StringBuffer buffer = new StringBuffer();
buffer.append(element.getName());
return buffer.toString();
}
static Element toXML(Element element){
X el= new X("El")
el.setAttribute("attr", element.getName());
return el;
}
}
class Usage {
public String staticMethod(Element element) {
StringBuffer buffer = new StringBuffer();
buffer.append(element.getName());
return buffer.toString();
}
}