/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/* @test
* @bug 4287596
* @summary Unit test for "Pluggable Connectors and Transports" feature.
*
* When a transport service is deployed the virtual machine machine
* is required to create an AttachingConnector and ListeningConnector
* to encapsulate the transport. This tests that the connectors are
* created and that they have an "address" argument.
*
* @build GeneratedConnectors NullTransportService
*/
public class GeneratedConnectors {
while (i.hasNext()) {
return c;
}
}
return null;
}
/*
* In development builds the JDI classes are on the boot class
* path so defining class loader for the JDI classes will
* not find classes on the system class path.
*/
return;
}
// test that the connectors are ceated and are of the
// correct type
//
throw new RuntimeException("One, or both, generated connectors are missing");
}
// check that the connectors have the required "address" argument
//
}
}