BASERT PÅ EN SANN HISTORIE
ET SANT MARERITT
TESTER
public void test1() { Account acc = new Account(); assertTrue(true) }
// TODO TODO TODO TODO TODO! // Virker ikke!!! // public void test1() { // Account acc = new Account(); // assertTrue(true) //}
DOKUMENTASJON
For å starte tredje verdenskrig, trykk atomknappen.
Trykk atomknappen, og se hva som skjer.
For å starte kaffetrakteren, trykk atomknappen.
For å starte første verdenskrig, trykk kavaleriknappen.
if(action.equals(Actions.RENAME)){ if(property.equals(Entity.ID)){ form.setTitle("Rename presentation"); Input identification = new Input(InputTypes.TEXT,RequestParameterNames.VALUE); identification.setValue(entity.getId()); identification.setLabel("Identification"); form.addControl(identification); } else if(property.equals(Entity.RESOURCE)){ form.setTitle("Rename file: '" + source + "'"); Input newfilename = new Input(InputTypes.TEXT,RequestParameterNames.VALUE); newfilename.setValue(source); newfilename.setLabel("New name"); form.addControl(newfilename); } else if(property.equals(Pattern.VIEW)){ form.setTitle("Rename view: '" + source + "'"); Input newviewname = new Input(InputTypes.TEXT,RequestParameterNames.VALUE); newviewname.setValue(source); newviewname.setLabel("New name"); form.addControl(newviewname); } else if(property.equals(Pattern.CONTENTVIEWER)){ form.setTitle("Rename content viewer: '" + source + "'"); Input newcontentviewername = new Input(InputTypes.TEXT,RequestParameterNames.VALUE); newcontentviewername.setValue(source); newcontentviewername.setLabel("New name"); form.addControl(newcontentviewername); }} else { handler.setErrorMessage("Cannot rename selected property"); publishForm = false; }
if(password.equals(”secret”){ goToAdminConsole(); }
public void sit(); public void rest(); public void placeButtOn(Chair chair);
// TODO TODO TODO TODO TODO! // Virker ikke!!! // public void test1() { // Account acc = new Account(); // assertTrue(true) //}...COMBINE TO FORM...
Refaktorering Testskriving Dokumentasjon Delvis omskrivning Connectors til legacy-kode