PageRenderTime 41ms CodeModel.GetById 20ms app.highlight 2ms RepoModel.GetById 18ms app.codeStats 0ms

/rcdkjar/src/org/guha/rcdk/test/TestGet2DStructureFromJCP.java

http://github.com/rajarshi/cdkr
Java | 23 lines | 16 code | 4 blank | 3 comment | 0 complexity | a4e880ef0b06b4a55fe49de697429cc0 MD5 | raw file
 1package org.guha.rcdk.test;
 2
 3import junit.framework.Assert;
 4import junit.framework.TestCase;
 5import org.guha.rcdk.draw.Get2DStructureFromJCP;
 6import org.openscience.cdk.interfaces.IAtomContainer;
 7import org.openscience.cdk.interfaces.IChemModel;
 8
 9public class TestGet2DStructureFromJCP extends TestCase {
10
11    /*
12      * Test method for 'org.guha.rcdk.draw.Get2DStructureFromJCP.getChemModel()'
13      */
14    public void testEditor() {
15        Get2DStructureFromJCP editor = new Get2DStructureFromJCP();
16        editor.showWindow();
17        IChemModel chemModel = editor.getChemModel();
18        Assert.assertNotNull(chemModel);
19        IAtomContainer[] molecules = editor.getMolecules();
20        Assert.assertNotNull(molecules);
21    }
22
23}