@@ -0,0 +1,2882 @@
+/*%0A* ################################################################%0A*%0A* ProActive: The Java(TM) library for Parallel, Distributed,%0A*            Concurrent computing with Security and Mobility%0A*%0A* Copyright (C) 1997-2002 INRIA/University of Nice-Sophia Antipolis%0A* Contact: proactive-support@inria.fr%0A*%0A* This library is free software; you can redistribute it and/or%0A* modify it under the terms of the GNU Lesser General Public%0A* License as published by the Free Software Foundation; either%0A* version 2.1 of the License, or any later version.%0A*%0A* This library is distributed in the hope that it will be useful,%0A* but WITHOUT ANY WARRANTY; without even the implied warranty of%0A* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU%0A* Lesser General Public License for more details.%0A*%0A* You should have received a copy of the GNU Lesser General Public%0A* License along with this library; if not, write to the Free Software%0A* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307%0A* USA%0A*%0A*  Initial developer(s):               The ProActive Team%0A*                        http://www.inria.fr/oasis/ProActive/contacts.html%0A*  Contributor(s):%0A*%0A* ################################################################%0A*/%0Apackage nonregressiontest.descriptor;%0A%0Aimport org.objectweb.proactive.ProActive;%0Aimport org.objectweb.proactive.core.descriptor.data.ProActiveDescriptor;%0Aimport org.objectweb.proactive.core.descriptor.data.VirtualNode;%0A%0Aimport testsuite.test.ProActiveFunctionalTest;%0A%0A%0A/**%0A * @author rquilici%0A *%0A * To change this generated comment edit the template variable %22typecomment%22:%0A * Window%3EPreferences%3EJava%3ETemplates.%0A * To enable and disable the creation of type comments go to%0A * Window%3EPreferences%3EJava%3ECode Generation.%0A */%0Apublic class Test extends ProActiveFunctionalTest %7B%0A    private static String FS = System.getProperty(%22file.separator%22);%0A    private static String XML_LOCATION = System.getProperty(%22user.home%22) + FS +%0A        %22ProActive%22 + FS + %22descriptors%22 + FS + %22Penguin.xml%22;%0A    VirtualNode vn;%0A%0A    public Test() %7B%0A        super(%22Deployment descriptor%22,%0A            %22Test reading and activation of deployment descriptors%22);%0A    %7D%0A%0A    /**%0A     * @see testsuite.test.FunctionalTest#action()%0A     */%0A    public void action() throws Exception %7B%0A        ProActiveDescriptor proActiveDescriptor = ProActive.getProactiveDescriptor(%0A                %22file:%22 + XML_LOCATION);%0A        proActiveDescriptor.activateMappings();%0A        vn = proActiveDescriptor.getVirtualNode(%22penguinNode%22);%0A    %7D%0A%0A    /**%0A     * @see testsuite.test.AbstractTest#initTest()%0A     */%0A    public void initTest() throws Exception %7B%0A    %7D%0A%0A    /**%0A     * @see testsuite.test.AbstractTest#endTest()%0A     */%0A    public void endTest() throws Exception %7B%0A    %7D%0A%0A    public boolean postConditions() throws Exception %7B%0A        return (vn.getNodesURL().length == 4);%0A    %7D%0A%7D%0A

Test descriptor