diff options
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 0f542fe2776..00000000000 --- 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 8db3267a70d..00000000000 --- 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 2dc7a87aefd..00000000000 --- 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() { - // - } -} |