Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added test suite stuff for the QSAR feature
- Loading branch information
Showing
12 changed files
with
1,132 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>net.bioclipse.qsar.test_feature</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.pde.FeatureBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.pde.FeatureNature</nature> | ||
</natures> | ||
</projectDescription> |
49 changes: 49 additions & 0 deletions
49
features/net.bioclipse.qsar.test_feature/QSARPluginTestSuite.launch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<launchConfiguration type="org.eclipse.pde.ui.JunitLaunchConfig"> | ||
<setAttribute key="additional_plugins"/> | ||
<booleanAttribute key="append.args" value="true"/> | ||
<booleanAttribute key="askclear" value="false"/> | ||
<booleanAttribute key="automaticAdd" value="true"/> | ||
<booleanAttribute key="automaticValidate" value="false"/> | ||
<stringAttribute key="bootstrap" value=""/> | ||
<stringAttribute key="checked" value="[NONE]"/> | ||
<booleanAttribute key="clearConfig" value="true"/> | ||
<booleanAttribute key="clearws" value="true"/> | ||
<booleanAttribute key="clearwslog" value="false"/> | ||
<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/pde-junit"/> | ||
<booleanAttribute key="default" value="false"/> | ||
<stringAttribute key="featureDefaultLocation" value="workspace"/> | ||
<stringAttribute key="featurePluginResolution" value="workspace"/> | ||
<booleanAttribute key="includeOptional" value="true"/> | ||
<stringAttribute key="location" value="${workspace_loc}/../junit-workspace"/> | ||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> | ||
<listEntry value="/net.bioclipse.qsar.test/src/net/bioclipse/qsar/business/test/AllQsarManagerPluginTests.java"/> | ||
</listAttribute> | ||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> | ||
<listEntry value="1"/> | ||
</listAttribute> | ||
<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/> | ||
<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/> | ||
<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/> | ||
<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/> | ||
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="net.bioclipse.qsar.test.business.AllQsarManagerPluginTests"/> | ||
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/> | ||
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="net.bioclipse.qsar.test"/> | ||
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/> | ||
<stringAttribute key="pde.version" value="3.3"/> | ||
<stringAttribute key="product" value="net.bioclipse.ui.product"/> | ||
<booleanAttribute key="run_in_ui_thread" value="true"/> | ||
<setAttribute key="selected_features"> | ||
<setEntry value="net.bioclipse.qsar.test_feature:default"/> | ||
<setEntry value="net.bioclipse.qsar_feature:default"/> | ||
<setEntry value="net.bioclipse.core_feature:default"/> | ||
<setEntry value="org.eclipse.equinox.p2.user.ui:default"/> | ||
<setEntry value="org.eclipse.rcp:default"/> | ||
</setAttribute> | ||
<booleanAttribute key="show_selected_only" value="true"/> | ||
<booleanAttribute key="tracing" value="false"/> | ||
<booleanAttribute key="useCustomFeatures" value="true"/> | ||
<booleanAttribute key="useDefaultConfig" value="true"/> | ||
<booleanAttribute key="useDefaultConfigArea" value="false"/> | ||
<booleanAttribute key="useProduct" value="true"/> | ||
</launchConfiguration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bin.includes = feature.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<feature | ||
id="net.bioclipse.qsar.test_feature" | ||
label="QSAR Test Feature" | ||
version="2.5.0.qualifier" | ||
provider-name="The Bioclipse Project" | ||
plugin="net.bioclipse.qsar.test"> | ||
|
||
<description> | ||
QSAR (Quantitative Structure-Activity Relationship) functionality | ||
for Bioclipse. | ||
</description> | ||
|
||
<copyright> | ||
(C) 2006-2009 The Bioclipse Project contributors and others. | ||
</copyright> | ||
|
||
<license url="http://www.eclipse.org/org/documents/epl-v10.php"> | ||
This feature and the accompanying materials are made available | ||
under the terms of the Eclipse Public License v1.0 + exception, | ||
putting no constraints on choice of backend and/or license for | ||
creating plugins for Bioclipse; it is totally open for both open | ||
source plugins as well as commercial. The exception allows GPL | ||
plugins to be written and run in any combination with EPL licensed | ||
plugins, addressing incompatibility between the EPL and the GPL | ||
v.2. | ||
The Eclipse Public License accompanies this distribution, and | ||
is available at http://www.eclipse.org/legal/epl-v10.html | ||
</license> | ||
|
||
<requires> | ||
<import feature="net.bioclipse.rdf_feature" version="2.4.0" match="greaterOrEqual"/> | ||
<import feature="net.bioclipse.chemoinformatics_feature" version="2.4.0" match="greaterOrEqual"/> | ||
</requires> | ||
|
||
<plugin | ||
id="net.bioclipse.qsar" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="org.eclipse.emf" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="org.eclipse.emf.ecore" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="org.eclipse.emf.ecore.edit" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="org.eclipse.emf.ecore.xmi" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="org.eclipse.emf.edit" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="org.eclipse.emf.common" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="org.eclipse.emf.edit.ui" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="org.eclipse.emf.databinding" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="org.eclipse.emf.databinding.edit" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="org.eclipse.emf.common.ui" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="net.bioclipse.cdk.qsar" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="net.bioclipse.qsar.model" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="net.bioclipse.qsar.model.edit" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="net.bioclipse.qsar.ui" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="net.bioclipse.bibtexml" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="net.bioclipse.bibtexml.edit" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="org.eclipse.emf.ecore.change" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
<plugin | ||
id="net.bioclipse.cdk.qsar.rest" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
</feature> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
plugins/net.bioclipse.qsar.test/src/net/bioclipse/qsar/test/business/APITest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2011 Egon Willighagen <egon.willighagen@ki.se> | ||
* | ||
* 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 | ||
* | ||
* Contact: Bioclipse Project <http://www.bioclipse.net> | ||
******************************************************************************/ | ||
package net.bioclipse.qsar.test.business; | ||
|
||
import net.bioclipse.core.tests.AbstractManagerTest; | ||
import net.bioclipse.managers.business.IBioclipseManager; | ||
import net.bioclipse.qsar.business.IQsarManager; | ||
import net.bioclipse.qsar.business.QsarManager; | ||
|
||
/** | ||
* JUnit tests for checking if the tested Manager is properly tested. | ||
* | ||
* @author egonw | ||
*/ | ||
public class APITest extends AbstractManagerTest { | ||
|
||
private static QsarManager manager = new QsarManager(); | ||
|
||
@Override | ||
public IBioclipseManager getManager() { | ||
return manager; | ||
} | ||
|
||
@Override | ||
public Class<? extends IBioclipseManager> getManagerInterface() { | ||
return IQsarManager.class; | ||
} | ||
|
||
} |
Oops, something went wrong.