doTestBufferSelector(selector, null, null, false, false, true);
// Test with valid entry pane and null caption pane.
// Expected: entryPaneNode != null AND captionPaneNode == null AND
// entryBuffer == captionBuffer != null
Node entry = domFactory.createElement();
selector = protocol.createBufferSelector(
entry, null, null, null, null);
doTestBufferSelector(selector, null, entry, true, true, true);
// Test with null entry pane and valid caption pane.
// Expected: entryPaneNode == captionPaneNode != null AND
// entryBuffer == captionBuffer != null
Node caption = domFactory.createElement();
selector = protocol.createBufferSelector(
null, caption, null, null, null);
doTestBufferSelector(selector, caption, null, true, true, true);
// Test with null entry pane and valid caption pane.