blob: 5f06904175ffaa3367d809bf519b97d58ef7ad09 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008, 2010 VMware Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* VMware Inc. - initial contribution
*******************************************************************************/
package org.eclipse.virgo.kernel.deployer.test;
import java.io.File;
import org.eclipse.virgo.nano.deployer.api.core.DeploymentException;
import org.junit.Test;
// TODO This description is wrong, the test doesn't deploy a library, i.e. there isn't one in the par
/**
* Test deploying a library as part of an application and then deploying an application which depends on the library.
*
*/
public class LibraryScopingTests extends AbstractParTests {
@Test(expected = DeploymentException.class) public void testLibraryClash() throws Throwable {
File file = new File("src/test/resources/clashinguses.par");
deploy(file);
}
}