Small enhancements to libpit to facilitate pit-swing.
Added delete() and createNewProject(String) to Project class. Added nicer toString() method to Category enum.
This commit is contained in:
@ -7,4 +7,10 @@ class MockProject extends Project {
|
||||
public Issue createNewIssue(Map options) {
|
||||
throw new UnsupportedOperationException()
|
||||
}
|
||||
|
||||
public Project createNewProject(String name) {
|
||||
throw new UnsupportedOperationException()
|
||||
}
|
||||
|
||||
public boolean delete() { return true }
|
||||
}
|
||||
|
Reference in New Issue
Block a user