Path: blob/master/test/functional/cmdLineTests/lazyClassLoadingTest/lazyClassLoading.xml
6004 views
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>12<!--3Copyright (c) 2004, 2018 IBM Corp. and others45This program and the accompanying materials are made available under6the terms of the Eclipse Public License 2.0 which accompanies this7distribution and is available at https://www.eclipse.org/legal/epl-2.0/8or the Apache License, Version 2.0 which accompanies this distribution and9is available at https://www.apache.org/licenses/LICENSE-2.0.1011This Source Code may also be made available under the following12Secondary Licenses when the conditions for such availability set13forth in the Eclipse Public License, v. 2.0 are satisfied: GNU14General Public License, version 2 with the GNU Classpath15Exception [1] and GNU General Public License, version 2 with the16OpenJDK Assembly Exception [2].1718[1] https://www.gnu.org/software/classpath/license.html19[2] http://openjdk.java.net/legal/assembly-exception.html2021SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception22-->2324<!DOCTYPE suite SYSTEM "cmdlinetester.dtd">2526<!-- Verify correct operation of lazy classloading with empty (i.e. unused) classloaders. -->2728<!-- These are intentionally run as separate tests to ensure the JNI library is loaded -->29<!-- cleanly each time and no state information is mistakenly held over from prior test -->30<!-- cases. -->3132<!-- See Design 61796: Lazy initialization of J9ClassLoader. -->33<!-- https://jtcjazz.ottawa.ibm.com:9443/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/61796 -->3435<!-- See also: VM_Common/lazyclassloadtest -->36<!-- See also: j9vm_test/j9vm/test/classloader -->3738<suite id="Lazy classloading tests" timeout="60">39<test id="testJniDefineClass">40<!-- DefineClass on EmptyClassLoader within a JNI call. -->41<command>$EXE$ -classpath $Q$$J9JAR$$Q$ j9vm.test.classloader.LazyClassLoaderInitTest testJniDefineClass</command>42<output regex="yes" type="success">.*Test PASSED*</output>43<output regex="yes" type="failure">.*Test FAILED*</output>44</test>45<test id="testJvmtiCountLoadedClasses">46<!-- Verify EmptyClassLoader has loaded 0 classes using JVMTI. -->47<command>$EXE$ -classpath $Q$$J9JAR$$Q$ j9vm.test.classloader.LazyClassLoaderInitTest testJvmtiCountLoadedClasses</command>48<output regex="yes" type="success">.*Test PASSED*</output>49<output regex="yes" type="failure">.*Test FAILED*</output>50</test>51<test id="testJvmFindClass">52<!-- Find Object class using internal JVM_FindClassFromClassLoader. -->53<command>$EXE$ -classpath $Q$$J9JAR$$Q$ j9vm.test.classloader.LazyClassLoaderInitTest testJvmFindClass</command>54<output regex="yes" type="success">.*Test PASSED*</output>55<output regex="yes" type="failure">.*Test FAILED*</output>56</test>57</suite>585960