aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2013-12-27 19:24:01 +0100
committerRalph Sennhauser <sera@gentoo.org>2013-12-28 13:28:00 +0100
commit95454bbc6cc295353e1cee2d4205d8a2ca91bf5c (patch)
tree6dfacb96efe2180ea14bf833b2157edde34cb299 /tests
parentVersionManager: Drop dependency on Portage (diff)
downloadjava-config-95454bbc6cc295353e1cee2d4205d8a2ca91bf5c.tar.gz
java-config-95454bbc6cc295353e1cee2d4205d8a2ca91bf5c.tar.bz2
java-config-95454bbc6cc295353e1cee2d4205d8a2ca91bf5c.zip
Drop query functions for old style virtuals
Old style virtuals (PROVIDES) were banned from tree
Diffstat (limited to 'tests')
-rw-r--r--tests/testsuite/VM.py3
-rw-r--r--tests/testsuite/test_env/usr/share/java-config-2/vm/blackdown-jdk-1.4.21
-rw-r--r--tests/testsuite/test_env/usr/share/java-config-2/vm/sun-jdk-1.61
-rw-r--r--tests/testsuite/test_env/usr/share/java-config-2/vm/sun-jdk-1.71
-rw-r--r--tests/testsuite/test_env/usr/share/java-config-2/vm/sun-jre-bin-1.61
5 files changed, 0 insertions, 7 deletions
diff --git a/tests/testsuite/VM.py b/tests/testsuite/VM.py
index 5f1c477..081b5fc 100644
--- a/tests/testsuite/VM.py
+++ b/tests/testsuite/VM.py
@@ -15,9 +15,6 @@ class TestVM(unittest.TestCase):
self.ibm = em.get_vm('ibm-jdk-bin-1.5')
self.black = em.get_vm('blackdown-jdk-1.4.2')
- def test_empty_provide(self):
- self.assertFalse(self.ibm.provides("foobar"))
-
def test_name(self):
self.assertEqual(self.ibm.name(), 'ibm-jdk-bin-1.5')
diff --git a/tests/testsuite/test_env/usr/share/java-config-2/vm/blackdown-jdk-1.4.2 b/tests/testsuite/test_env/usr/share/java-config-2/vm/blackdown-jdk-1.4.2
index 3504f8e..0ed35d3 100644
--- a/tests/testsuite/test_env/usr/share/java-config-2/vm/blackdown-jdk-1.4.2
+++ b/tests/testsuite/test_env/usr/share/java-config-2/vm/blackdown-jdk-1.4.2
@@ -16,5 +16,4 @@ BOOTCLASSPATH="${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/sunrsasign.jar:$
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
GENERATION="2"
VMHANDLE="blackdown-jdk-1.4.2"
-PROVIDES="jdbc-stdext"
BUILD_ONLY="TRUE"
diff --git a/tests/testsuite/test_env/usr/share/java-config-2/vm/sun-jdk-1.6 b/tests/testsuite/test_env/usr/share/java-config-2/vm/sun-jdk-1.6
index 501935e..03b64d8 100644
--- a/tests/testsuite/test_env/usr/share/java-config-2/vm/sun-jdk-1.6
+++ b/tests/testsuite/test_env/usr/share/java-config-2/vm/sun-jdk-1.6
@@ -17,4 +17,3 @@ BOOTCLASSPATH="${JAVA_HOME}/jre/lib/resources.jar:${JAVA_HOME}/jre/lib/rt.jar:${
GENERATION="2"
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
VMHANDLE="sun-jdk-1.6"
-PROVIDES="jdbc-stdext jdbc-rowset"
diff --git a/tests/testsuite/test_env/usr/share/java-config-2/vm/sun-jdk-1.7 b/tests/testsuite/test_env/usr/share/java-config-2/vm/sun-jdk-1.7
index 71a5d5b..7afdfb6 100644
--- a/tests/testsuite/test_env/usr/share/java-config-2/vm/sun-jdk-1.7
+++ b/tests/testsuite/test_env/usr/share/java-config-2/vm/sun-jdk-1.7
@@ -16,4 +16,3 @@ BOOTCLASSPATH="${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/i18n.jar:${JAVA_
GENERATION="2"
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
VMHANDLE="sun-jdk-1.7"
-PROVIDES="jdbc-stdext jdbc-rowset"
diff --git a/tests/testsuite/test_env/usr/share/java-config-2/vm/sun-jre-bin-1.6 b/tests/testsuite/test_env/usr/share/java-config-2/vm/sun-jre-bin-1.6
index b9f6fdd..ecb17f6 100644
--- a/tests/testsuite/test_env/usr/share/java-config-2/vm/sun-jre-bin-1.6
+++ b/tests/testsuite/test_env/usr/share/java-config-2/vm/sun-jre-bin-1.6
@@ -16,4 +16,3 @@ BOOTCLASSPATH="${JAVA_HOME}/jre/lib/resources.jar:${JAVA_HOME}/jre/lib/rt.jar:${
GENERATION="2"
ENV_VARS="JAVA_HOME JRE_HOME PATH ROOTPATH LDPATH MANPATH"
VMHANDLE="sun-jre-bin-1.6"
-PROVIDES="jdbc-stdext jdbc-rowset"