Thanks Joseph. I've been meaning to get round to doing something similar for awhile myself, hopefully this will give me the motivation to actually do some more work on my Wave project. -- Wim Looman [email protected]
On 2/02/2011, at 9:37 PM, Joseph Gentle wrote: > Incase this is useful for anyone else, I've attached a file of testing > data for wave's transform function, exported from the unit tests in > WIAB. You could make better tests by using the random op generator, > but this is a decent first pass. > > Each test takes up 4 lines in the file: > > 1. The op to be transformed > 2. The op it will be transformed by > 3. The expected result > 4. Whether the op to be transformed is a client op > > The format is the WIAB JSON wire format. The decoding table for the op > component types is: > > 1: Annotation boundary > 2: insert characters > 3. element start > 4. element end > 5. retain (aka skip) > 6. delete characters > 7. delete element start > 8. delete element end > 9. replace attributes > 10. update attributes > > Hope thats useful to somebody. > > Away! > > -Joseph > <transformtests.json>
