blob: 7953a243560d72e4ea4662b9ec237d4fbbda71ca [file] [log] [blame]
/*
* Copyright (c) 2014, 2021 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package jaxb.osgi_test.osgi;
import jaxb.osgi_test.JaxbOsgiTest;
import org.osgi.framework.Bundle;
/**
* Testing jaxb-osgi bundle jar
*
* @author yaroska
*/
public class JaxbOsgiBundleTest extends JaxbOsgiTest {
private static final String BUNDLE = "com.sun.xml.bind.jaxb-osgi";
private Bundle bundle;
@Override
protected void setUp() throws Exception {
super.setUp();
bundle = getBundle(BUNDLE);
}
public void testBundle() {
checkBundle(bundle);
}
public void testLogger() {
checkClassInBundle("com.sun.istack.logging.Logger", bundle);
}
// public void testContextFactoryJaxb1() {
// checkClassInBundle("com.sun.xml.bind.ContextFactory_1_0_1", bundle);
// }
}