descriptor = (SlidingTypeDescriptor) toolWindowManager.getTypeDescriptorTemplate(ToolWindowType.SLIDING);
assertEquals(1000, descriptor.getTransparentDelay());
}
public void testSlidingTypeDescriptorTransparentMode() {
SlidingTypeDescriptor descriptor = (SlidingTypeDescriptor) toolWindowManager.getTypeDescriptorTemplate(ToolWindowType.SLIDING);
descriptor.setTransparentMode(false);
descriptor = (SlidingTypeDescriptor) toolWindowManager.getTypeDescriptorTemplate(ToolWindowType.SLIDING);
assertEquals(false, descriptor.isTransparentMode());
descriptor = (SlidingTypeDescriptor) toolWindowManager.getTypeDescriptorTemplate(ToolWindowType.SLIDING);
descriptor.setTransparentMode(true);
descriptor = (SlidingTypeDescriptor) toolWindowManager.getTypeDescriptorTemplate(ToolWindowType.SLIDING);
assertEquals(true, descriptor.isTransparentMode());
}