Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmisinco2013-07-11 11:53:42 -0400
committerGerrit Code Review @ Eclipse.org2013-07-12 11:22:08 -0400
commit80ca58d99d1a51425850781865f475b6245bda70 (patch)
tree90224acebc4c5b97edd05498b94ff033664dd462
parentdab111937ae1dd0b6114651a411c4635d57b6a9d (diff)
downloadorg.eclipse.osee-0.11.1.v201307121738_RC.tar.gz
org.eclipse.osee-0.11.1.v201307121738_RC.tar.xz
org.eclipse.osee-0.11.1.v201307121738_RC.zip
refactor: Remove unused mock classes0.11.1.v201307121738_RC
-rw-r--r--plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/mocks/MockDataProxy.java69
-rw-r--r--plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/mocks/MockExecutorAdmin.java48
-rw-r--r--plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/mocks/MockIdentityService.java48
3 files changed, 0 insertions, 165 deletions
diff --git a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/mocks/MockDataProxy.java b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/mocks/MockDataProxy.java
deleted file mode 100644
index 0f542fe277..0000000000
--- a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/mocks/MockDataProxy.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 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.orcs.db.mocks;
-
-import org.eclipse.osee.framework.core.exception.OseeCoreException;
-import org.eclipse.osee.framework.core.exception.OseeDataStoreException;
-import org.eclipse.osee.orcs.core.ds.DataProxy;
-import org.eclipse.osee.orcs.core.ds.ResourceNameResolver;
-
-/**
- * @author Roberto E. Escobar
- */
-public class MockDataProxy implements DataProxy {
-
- @Override
- public void setResolver(ResourceNameResolver resolver) {
- //
- }
-
- @Override
- public ResourceNameResolver getResolver() {
- return null;
- }
-
- @SuppressWarnings("unused")
- @Override
- public String getDisplayableString() throws OseeCoreException {
- return null;
- }
-
- @SuppressWarnings("unused")
- @Override
- public void setDisplayableString(String toDisplay) throws OseeDataStoreException {
- //
- }
-
- @SuppressWarnings("unused")
- @Override
- public void setData(Object... objects) throws OseeCoreException {
- //
- }
-
- @SuppressWarnings("unused")
- @Override
- public Object[] getData() throws OseeDataStoreException {
- return null;
- }
-
- @SuppressWarnings("unused")
- @Override
- public void persist(long storageId) throws OseeCoreException {
- //
- }
-
- @SuppressWarnings("unused")
- @Override
- public void purge() throws OseeCoreException {
- //
- }
-
-} \ No newline at end of file
diff --git a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/mocks/MockExecutorAdmin.java b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/mocks/MockExecutorAdmin.java
deleted file mode 100644
index 8db3267a70..0000000000
--- a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/mocks/MockExecutorAdmin.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 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.orcs.db.mocks;
-
-import java.util.concurrent.Callable;
-import java.util.concurrent.Future;
-import org.eclipse.osee.executor.admin.ExecutionCallback;
-import org.eclipse.osee.executor.admin.ExecutorAdmin;
-
-/**
- * @author Roberto E. Escobar
- */
-public class MockExecutorAdmin implements ExecutorAdmin {
-
- @Override
- public <T> Future<T> schedule(Callable<T> callable, ExecutionCallback<T> callback) throws Exception {
- return null;
- }
-
- @Override
- public <T> Future<T> schedule(String id, Callable<T> callable, ExecutionCallback<T> callback) throws Exception {
- return null;
- }
-
- @Override
- public <T> Future<T> schedule(Callable<T> callable) throws Exception {
- return null;
- }
-
- @Override
- public <T> Future<T> schedule(String id, Callable<T> callable) throws Exception {
- return null;
- }
-
- @Override
- public int cancelTasks(String id) throws Exception {
- return 0;
- }
-
-}
diff --git a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/mocks/MockIdentityService.java b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/mocks/MockIdentityService.java
deleted file mode 100644
index 2dc7a87aef..0000000000
--- a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/mocks/MockIdentityService.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 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.orcs.db.mocks;
-
-import java.util.Collection;
-import org.eclipse.osee.framework.core.data.Identity;
-import org.eclipse.osee.framework.core.exception.OseeCoreException;
-import org.eclipse.osee.framework.core.services.IdentityService;
-
-/**
- * @author Roberto E. Escobar
- */
-@SuppressWarnings("unused")
-public class MockIdentityService implements IdentityService {
-
- @Override
- public Integer getLocalId(Long universalId) throws OseeCoreException {
- return null;
- }
-
- @Override
- public Long getUniversalId(Integer localId) throws OseeCoreException {
- return null;
- }
-
- @Override
- public int getLocalId(Identity<Long> identity) throws OseeCoreException {
- return 0;
- }
-
- @Override
- public void store(Collection<Long> universalIds) throws OseeCoreException {
- //
- }
-
- @Override
- public void clear() {
- //
- }
-}

Back to the top