On Tue, Jul 7, 2009 at 15:36, Julian Reschke<[email protected]> wrote: > Marcel Reutegger wrote: >> >> I think it should do the following: >> >> - attempt to create a workspace >> - if it throws a UnsupportedOperationException catch the exception > > If the repository descriptor says workspace management is supported, that > exception should not occur, right?
correct. that's how I understand the spec. regards marcel >> and throw a NotExecutableException >> - if it succeeds >> - do a login on the newly created workspace >> - attempt to delete the workspace >> - if it throws a UnsupportedOperationException catch the >> exception and throw a NotExecutableException >> - if it succeeds check if it is gone by doing a login into >> the deleted workspace and expect an exception > > Of course. > >>> That >>> may be tricky because it would cause an ever-growing number of workspaces >>> being generated every time the TCK is run... >> >> well, I don't think that's a big problem. >> ... > > I think it would be a problem, but an implementation of course can avoid it > by allowing removal of a workspace. > > BR, Julian > >
