diff options
Diffstat (limited to 'plugins/org.eclipse.osee.ote.core.test/src/org/eclipse/osee/ote/message/elements/RecordMapTest.java')
-rw-r--r-- | plugins/org.eclipse.osee.ote.core.test/src/org/eclipse/osee/ote/message/elements/RecordMapTest.java | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/plugins/org.eclipse.osee.ote.core.test/src/org/eclipse/osee/ote/message/elements/RecordMapTest.java b/plugins/org.eclipse.osee.ote.core.test/src/org/eclipse/osee/ote/message/elements/RecordMapTest.java deleted file mode 100644 index 255927d7675..00000000000 --- a/plugins/org.eclipse.osee.ote.core.test/src/org/eclipse/osee/ote/message/elements/RecordMapTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2010 Boeing. - * 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Boeing - initial API and implementation - *******************************************************************************/ -package org.eclipse.osee.ote.message.elements; - -import org.eclipse.osee.ote.message.mock.TestMessage; -import org.junit.Assert; -import org.junit.Test; - -/** - * @author Roberto E. Escobar - */ -public class RecordMapTest { - - @Test - public void testGetInt() { - TestMessage msg = new TestMessage(); - - // Testing below the boundary. - try { - msg.RECORD_MAP_1.get(1); - Assert.assertTrue(true); - } catch (IllegalArgumentException ex) { - Assert.fail("We shouldn't get an exception for this get!"); - } - - // Testing on the boundary. - try { - msg.RECORD_MAP_1.get(2); - Assert.fail("We should get an exception for this get on the boundary!"); - } catch (IllegalArgumentException ex) { - Assert.assertTrue("We should get an exception for this index", true); - } - // Testing above the boundary. - try { - msg.RECORD_MAP_1.get(3); - Assert.fail("We should get an exception for this get above the boundary!"); - } catch (IllegalArgumentException ex) { - Assert.assertTrue("We should get an exception for this index", true); - } - - } -} |