diff options
author | Ryan D. Brooks | 2017-02-03 15:52:22 +0000 |
---|---|---|
committer | David W. Miller | 2017-02-03 15:52:22 +0000 |
commit | ea4bd68b8a4fe3db9195807646abdd46056470c5 (patch) | |
tree | 8810a1fe434b05c8d70e6514403c2a2550e8f950 /plugins/org.eclipse.osee.orcs.db.test | |
parent | f660865ab666123b5d17c226c62b9de4a0f874a5 (diff) | |
download | org.eclipse.osee-ea4bd68b8a4fe3db9195807646abdd46056470c5.tar.gz org.eclipse.osee-ea4bd68b8a4fe3db9195807646abdd46056470c5.tar.xz org.eclipse.osee-ea4bd68b8a4fe3db9195807646abdd46056470c5.zip |
refactor: Remove IAttributeType usage
Change-Id: I3f5f675756c931c7be27cff51a7cb83620838db1
Diffstat (limited to 'plugins/org.eclipse.osee.orcs.db.test')
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/loader/AttributeDataProxyFactoryTest.java b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/loader/AttributeDataProxyFactoryTest.java index 30921f27ed0..3c548a9de0c 100644 --- a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/loader/AttributeDataProxyFactoryTest.java +++ b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/loader/AttributeDataProxyFactoryTest.java @@ -10,7 +10,7 @@ *******************************************************************************/ package org.eclipse.osee.orcs.db.internal.loader; -import org.eclipse.osee.framework.core.data.IAttributeType; +import org.eclipse.osee.framework.core.data.AttributeTypeToken; import org.eclipse.osee.framework.jdk.core.type.OseeArgumentException; import org.eclipse.osee.framework.jdk.core.type.OseeCoreException; import org.eclipse.osee.orcs.core.ds.DataProxy; @@ -38,7 +38,7 @@ public class AttributeDataProxyFactoryTest { //@formatter:off @Mock DataProxyFactoryProvider proxyProvider; @Mock AttributeTypes attributeTypeCache; - @Mock IAttributeType attributeType; + @Mock AttributeTypeToken attributeType; @Mock DataProxyFactory dataProxyFactory; @Mock DataProxy proxy; //@formatter:on diff --git a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/loader/DataFactoryImplTest.java b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/loader/DataFactoryImplTest.java index a79804fabb3..567a7f7a0db 100644 --- a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/loader/DataFactoryImplTest.java +++ b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/loader/DataFactoryImplTest.java @@ -19,7 +19,7 @@ import static org.mockito.Mockito.when; import org.eclipse.osee.framework.core.data.BranchId; import org.eclipse.osee.framework.core.data.HasLocalId; import org.eclipse.osee.framework.core.data.IArtifactType; -import org.eclipse.osee.framework.core.data.IAttributeType; +import org.eclipse.osee.framework.core.data.AttributeTypeId; import org.eclipse.osee.framework.core.data.IRelationType; import org.eclipse.osee.framework.core.data.RelationalConstants; import org.eclipse.osee.framework.core.data.TransactionId; @@ -213,7 +213,7 @@ public class DataFactoryImplTest { @Test public void testCreateAttributeData() throws OseeCoreException { - IAttributeType attributeType = mock(IAttributeType.class); + AttributeTypeId attributeType = mock(AttributeTypeId.class); when(attributeType.getId()).thenReturn(2389L); when(proxyFactory.createProxy(2389L, "", "")).thenReturn(otherDataProxy); |