Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
210 changes: 210 additions & 0 deletions metadata/org.osgi/org.osgi.compendium/5.0.0/reachability-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,210 @@
{
"reflection": [
{
"condition": {
"typeReached": "org.osgi.service.dmt.DmtData"
},
"type": "java.lang.Boolean"
},
{
"condition": {
"typeReached": "org.osgi.service.dmt.DmtData"
},
"type": "java.lang.Integer"
},
{
"condition": {
"typeReached": "org.osgi.service.application.ApplicationHandle"
},
"type": "java.lang.Object"
},
{
"condition": {
"typeReached": "org.osgi.service.application.ApplicationDescriptor"
},
"type": "java.lang.String"
},
{
"condition": {
"typeReached": "org.osgi.service.deploymentadmin.DeploymentAdminPermission"
},
"type": "java.lang.String"
},
{
"condition": {
"typeReached": "org.osgi.service.deploymentadmin.spi.DeploymentCustomizerPermission"
},
"type": "java.lang.String"
},
{
"condition": {
"typeReached": "org.osgi.service.application.ApplicationDescriptor"
},
"type": "java.util.Map"
},
{
"condition": {
"typeReached": "org.osgi.service.application.ApplicationDescriptor"
},
"type": "org.osgi.service.application.ApplicationDescriptor"
},
{
"condition": {
"typeReached": "org.osgi.service.application.ApplicationHandle"
},
"type": "org.osgi.service.application.ApplicationHandle"
},
{
"condition": {
"typeReached": "org.osgi.service.application.ApplicationDescriptor$Delegate"
},
"type": "org_osgi.org_osgi_compendium.ApplicationDescriptorDelegate1Test$VendorApplicationDescriptor",
"methods": [
{
"name": "isLocked",
"parameterTypes": []
},
{
"name": "launch",
"parameterTypes": [
"java.util.Map"
]
},
{
"name": "lock",
"parameterTypes": []
},
{
"name": "schedule",
"parameterTypes": [
"java.lang.String",
"java.util.Map",
"java.lang.String",
"java.lang.String",
"boolean"
]
},
{
"name": "setApplicationDescriptor",
"parameterTypes": [
"org.osgi.service.application.ApplicationDescriptor",
"java.lang.String"
]
},
{
"name": "unlock",
"parameterTypes": []
}
]
},
{
"condition": {
"typeReached": "org.osgi.service.application.ApplicationDescriptor$Delegate$1"
},
"type": "org_osgi.org_osgi_compendium.ApplicationDescriptorDelegate1Test$VendorApplicationDescriptor"
},
{
"condition": {
"typeReached": "org.osgi.service.application.ApplicationDescriptor$Delegate$2"
},
"type": "org_osgi.org_osgi_compendium.ApplicationDescriptorDelegate1Test$VendorApplicationDescriptor",
"methods": [
{
"name": "<init>",
"parameterTypes": []
}
]
},
{
"condition": {
"typeReached": "org.osgi.service.application.ApplicationHandle$Delegate"
},
"type": "org_osgi.org_osgi_compendium.ApplicationHandleDelegate1Test$VendorApplicationHandle",
"methods": [
{
"name": "destroy",
"parameterTypes": []
},
{
"name": "setApplicationHandle",
"parameterTypes": [
"org.osgi.service.application.ApplicationHandle",
"java.lang.Object"
]
}
]
},
{
"condition": {
"typeReached": "org.osgi.service.application.ApplicationHandle$Delegate$1"
},
"type": "org_osgi.org_osgi_compendium.ApplicationHandleDelegate1Test$VendorApplicationHandle"
},
{
"condition": {
"typeReached": "org.osgi.service.application.ApplicationHandle$Delegate$2"
},
"type": "org_osgi.org_osgi_compendium.ApplicationHandleDelegate1Test$VendorApplicationHandle",
"methods": [
{
"name": "<init>",
"parameterTypes": []
}
]
},
{
"condition": {
"typeReached": "org.osgi.util.xml.XMLParserActivator"
},
"type": "org_osgi.org_osgi_compendium.XMLParserActivator1Test$TestDocumentBuilderFactory",
"methods": [
{
"name": "<init>",
"parameterTypes": []
}
]
},
{
"condition": {
"typeReached": "org.osgi.service.deploymentadmin.DeploymentAdminPermission"
},
"type": "org_osgi.org_osgi_compendium.vendor.deploymentadmin.DeploymentAdminPermission",
"methods": [
{
"name": "<init>",
"parameterTypes": [
"java.lang.String",
"java.lang.String"
]
}
]
},
{
"condition": {
"typeReached": "org.osgi.service.deploymentadmin.DeploymentAdminPermission$1"
},
"type": "org_osgi.org_osgi_compendium.vendor.deploymentadmin.DeploymentAdminPermission"
},
{
"condition": {
"typeReached": "org.osgi.service.deploymentadmin.spi.DeploymentCustomizerPermission"
},
"type": "org_osgi.org_osgi_compendium.vendor.deploymentadmin.DeploymentCustomizerPermission",
"methods": [
{
"name": "<init>",
"parameterTypes": [
"java.lang.String",
"java.lang.String"
]
}
]
},
{
"condition": {
"typeReached": "org.osgi.service.deploymentadmin.spi.DeploymentCustomizerPermission$1"
},
"type": "org_osgi.org_osgi_compendium.vendor.deploymentadmin.DeploymentCustomizerPermission"
}
]
}
14 changes: 14 additions & 0 deletions metadata/org.osgi/org.osgi.compendium/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"latest": true,
"allowed-packages": [ "org.osgi" ],
"metadata-version": "5.0.0",
"source-code-url": "https://repo.maven.apache.org/maven2/org/osgi/org.osgi.compendium/5.0.0/org.osgi.compendium-5.0.0-sources.jar",
"repository-url": "https://github.com/osgi/osgi",
"test-code-url": "https://github.com/osgi/osgi/tree/r5-cmpn-ri-ct-final",
"documentation-url": "https://repo.maven.apache.org/maven2/org/osgi/org.osgi.compendium/5.0.0/org.osgi.compendium-5.0.0-javadoc.jar",
"tested-versions": [
"5.0.0"
]
}
]
41 changes: 41 additions & 0 deletions stats/stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -5912,6 +5912,47 @@
}
}
},
"org.osgi:org.osgi.compendium" : {
"metadataVersions" : {
"5.0.0" : {
"versions" : [ {
"version" : "5.0.0",
"dynamicAccess" : {
"breakdown" : {
"reflection" : {
"coverageRatio" : 1.0,
"coveredCalls" : 32,
"totalCalls" : 32
}
},
"coverageRatio" : 1.0,
"coveredCalls" : 32,
"totalCalls" : 32
},
"libraryCoverage" : {
"instruction" : {
"covered" : 1065,
"missed" : 17528,
"ratio" : 0.05728,
"total" : 18593
},
"line" : {
"covered" : 240,
"missed" : 3477,
"ratio" : 0.064568,
"total" : 3717
},
"method" : {
"covered" : 63,
"missed" : 600,
"ratio" : 0.095023,
"total" : 663
}
}
} ]
}
}
},
"org.postgresql:postgresql" : {
"metadataVersions" : {
"42.3.4" : {
Expand Down
4 changes: 4 additions & 0 deletions tests/src/org.osgi/org.osgi.compendium/5.0.0/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
gradlew.bat
gradlew
gradle/
build/
28 changes: 28 additions & 0 deletions tests/src/org.osgi/org.osgi.compendium/5.0.0/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* Copyright and related rights waived via CC0
*
* You should have received a copy of the CC0 legalcode along with this
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
plugins {
id "org.graalvm.internal.tck"
}

String libraryVersion = tck.testedLibraryVersion.get()

dependencies {
testImplementation "org.osgi:org.osgi.core:$libraryVersion"
testImplementation "org.osgi:org.osgi.compendium:$libraryVersion"
testImplementation 'org.assertj:assertj-core:3.22.0'
}

graalvmNative {
agent {
defaultMode = "conditional"
modes {
conditional {
userCodeFilterPath = "user-code-filter.json"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Optional explicit tested library coordinates (format: group:artifact:version).
# If omitted, fallback resolution in org.graalvm.internal.tck.gradle still uses
# environment variable GVM_TCK_LC and then this property.
library.coordinates = org.osgi:org.osgi.compendium:5.0.0
library.version = 5.0.0
metadata.dir = org.osgi/org.osgi.compendium/5.0.0/
20 changes: 20 additions & 0 deletions tests/src/org.osgi/org.osgi.compendium/5.0.0/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* Copyright and related rights waived via CC0
*
* You should have received a copy of the CC0 legalcode along with this
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
pluginManagement {
def tckPath = Objects.requireNonNullElse(
System.getenv("GVM_TCK_TCKDIR"),
"../../../../tck-build-logic"
)
includeBuild(tckPath)
repositories { mavenLocal(); gradlePluginPortal() }
}

plugins {
id "org.graalvm.internal.tck-settings" version "1.0.0-SNAPSHOT"
}

rootProject.name = 'org.osgi.org.osgi.compendium_tests'
Loading
Loading