Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (38 sloc) 1.36 kB
* Copyright (c) 2008 Cedric Chabanois and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* Contributors:
* Cedric Chabanois - initial API and implementation
package org.eclipse.swtbot.swt.finder.widgets;
import static org.junit.Assert.assertEquals;
import org.eclipse.jface.snippets.viewers.Snippet009CellEditors;
import org.eclipse.swtbot.swt.finder.UIThread;
import org.eclipse.swtbot.swt.finder.test.AbstractSWTTest;
import org.junit.Test;
* @author Cedric Chabanois <cchabanois [at] no-log [dot] org>
* @version $Id$
* @since 1.2
public class SWTBotTableClickTest extends AbstractSWTTest {
public void clickOnCell() throws Exception {
SWTBotTable table = bot.table();, 0);
bot.text("0", 0).setText("101");
bot.sleep(1000);, 0);
assertEquals("Item 101", table.cell(0, 0));
public void runUIThread() {
Snippet009CellEditors.main(new String[0]);
Jump to Line
Something went wrong with that request. Please try again.