Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2016-01-08 15:25:55 -0500
committerDonald Dunne2016-01-12 16:33:32 -0500
commit91d59a90f71fff31c123837e0f0c0f5f81d3e14c (patch)
tree84601e78c8b0de45988acac21e039bd73a50bfa4 /plugins/org.eclipse.osee.ats.core.test
parent66dabb7143a01f06c12715aafb46f2a1013ec9fc (diff)
downloadorg.eclipse.osee-91d59a90f71fff31c123837e0f0c0f5f81d3e14c.tar.gz
org.eclipse.osee-91d59a90f71fff31c123837e0f0c0f5f81d3e14c.tar.xz
org.eclipse.osee-91d59a90f71fff31c123837e0f0c0f5f81d3e14c.zip
bug[ats_ATS265087]: Author and Originator not accurate in ATS Log
Diffstat (limited to 'plugins/org.eclipse.osee.ats.core.test')
-rw-r--r--plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/internal/log/AtsLogTest.java15
1 files changed, 1 insertions, 14 deletions
diff --git a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/internal/log/AtsLogTest.java b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/internal/log/AtsLogTest.java
index 0d942ea052..328fe7197c 100644
--- a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/internal/log/AtsLogTest.java
+++ b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/internal/log/AtsLogTest.java
@@ -25,7 +25,7 @@ import org.mockito.MockitoAnnotations;
/**
* Test Case for {@link AtsLog}
- *
+ *
* @author Donald G. Dunne
*/
public class AtsLogTest {
@@ -88,19 +88,6 @@ public class AtsLogTest {
}
@Test
- public void testInternalResetOriginator() {
- AtsLog log = new AtsLog();
- log.internalResetOriginator(Kay);
- log.addLog(LogType.StateCancelled, "analyze", "msg", "345");
-
- log.addLog(LogType.Originated, "analyze", "msg", Joe.getUserId());
- Assert.assertEquals(Joe.getUserId(), log.getStateEvent(LogType.Originated).getUserId());
- log.internalResetOriginator(Kay);
- Assert.assertEquals(Kay.getUserId(), log.getStateEvent(LogType.Originated).getUserId());
- Assert.assertTrue(log.isDirty());
- }
-
- @Test
public void testInternalResetCreatedDate() {
AtsLog log = new AtsLog();
log.internalResetCreatedDate(new Date());

Back to the top