PageRenderTime 25ms CodeModel.GetById 1ms RepoModel.GetById 0ms 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
  1. package org.guha.rcdk.test;
  2. import junit.framework.Assert;
  3. import junit.framework.TestCase;
  4. import org.guha.rcdk.draw.Get2DStructureFromJCP;
  5. import org.openscience.cdk.interfaces.IAtomContainer;
  6. import org.openscience.cdk.interfaces.IChemModel;
  7. public class TestGet2DStructureFromJCP extends TestCase {
  8. /*
  9. * Test method for 'org.guha.rcdk.draw.Get2DStructureFromJCP.getChemModel()'
  10. */
  11. public void testEditor() {
  12. Get2DStructureFromJCP editor = new Get2DStructureFromJCP();
  13. editor.showWindow();
  14. IChemModel chemModel = editor.getChemModel();
  15. Assert.assertNotNull(chemModel);
  16. IAtomContainer[] molecules = editor.getMolecules();
  17. Assert.assertNotNull(molecules);
  18. }
  19. }