2021-07-01 14:03:02 +00:00
|
|
|
import TestState from './test-utils'
|
|
|
|
|
2021-07-09 08:59:43 +00:00
|
|
|
describe('lock command', () => {
|
2021-07-01 14:03:02 +00:00
|
|
|
const tt = new TestState()
|
|
|
|
tt.resetDocumentState()
|
|
|
|
|
|
|
|
it('toggles a locked shape', () => {
|
|
|
|
// TODO
|
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('selects a locked shape', () => {
|
|
|
|
// TODO
|
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('does not translate a locked shape', () => {
|
|
|
|
// TODO
|
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('does not translate a locked shape in a group', () => {
|
|
|
|
// TODO
|
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('does not rotate a locked shape', () => {
|
|
|
|
// TODO
|
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('does not rotate a locked shape in a group', () => {
|
|
|
|
// TODO
|
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('dpes not transform a locked single shape', () => {
|
|
|
|
// TODO
|
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('does not transform a locked shape in a multiple selection', () => {
|
|
|
|
// TODO
|
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('does not transform a locked shape in a group', () => {
|
|
|
|
// TODO
|
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('does not change the style of a locked shape', () => {
|
|
|
|
// TODO
|
|
|
|
null
|
|
|
|
})
|
|
|
|
|
|
|
|
it('does not change the handles of a locked shape', () => {
|
|
|
|
// TODO
|
|
|
|
null
|
|
|
|
})
|
|
|
|
})
|