Author: gscokart
Date: Fri Nov 16 08:06:37 2007
New Revision: 595712

URL: http://svn.apache.org/viewvc?rev=595712&view=rev
Log:
add test case for IVY-644 (commented out because I don't have yet a fix)

Added:
    incubator/ivy/core/trunk/test/repositories/1/IVY-644/
    incubator/ivy/core/trunk/test/repositories/1/IVY-644/M1/
    incubator/ivy/core/trunk/test/repositories/1/IVY-644/M1/ivys/
    incubator/ivy/core/trunk/test/repositories/1/IVY-644/M1/ivys/ivy-1.0.xml   
(with props)
    incubator/ivy/core/trunk/test/repositories/1/IVY-644/M2/
    incubator/ivy/core/trunk/test/repositories/1/IVY-644/M2/ivys/
    incubator/ivy/core/trunk/test/repositories/1/IVY-644/M2/ivys/ivy-1.0.xml   
(with props)
    incubator/ivy/core/trunk/test/repositories/1/IVY-644/M3/
    incubator/ivy/core/trunk/test/repositories/1/IVY-644/M3/ivys/
    incubator/ivy/core/trunk/test/repositories/1/IVY-644/M3/ivys/ivy-1.0.xml   
(with props)
    incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/
    incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/
    incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.0.xml   
(with props)
    incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.1.xml   
(with props)
    incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.2.xml   
(with props)
Modified:
    
incubator/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveTest.java

Modified: 
incubator/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveTest.java
URL: 
http://svn.apache.org/viewvc/incubator/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveTest.java?rev=595712&r1=595711&r2=595712&view=diff
==============================================================================
--- 
incubator/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveTest.java 
(original)
+++ 
incubator/ivy/core/trunk/test/java/org/apache/ivy/core/resolve/ResolveTest.java 
Fri Nov 16 08:06:37 2007
@@ -18,6 +18,9 @@
 package org.apache.ivy.core.resolve;
 
 import java.io.File;
+import java.io.IOException;
+import java.net.MalformedURLException;
+import java.text.ParseException;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collection;
@@ -55,7 +58,9 @@
 import org.apache.ivy.plugins.resolver.DualResolver;
 import org.apache.ivy.plugins.resolver.FileSystemResolver;
 import org.apache.ivy.util.CacheCleaner;
+import org.apache.ivy.util.DefaultMessageLogger;
 import org.apache.ivy.util.FileUtil;
+import org.apache.ivy.util.Message;
 import org.apache.tools.ant.Project;
 import org.apache.tools.ant.taskdefs.Delete;
 import org.xml.sax.SAXException;
@@ -1748,6 +1753,16 @@
                 .newInstance("org5", "mod5.1", "4.2")).length);
     }
 
+    /*
+    public void testMultipleEviction() throws Exception {
+        
+        ResolveReport report = ivy.resolve(
+            new 
File("test/repositories/1/IVY-644/M1/ivys/ivy-1.0.xml").toURL(),
+            getResolveOptions(new String[] {"*"}));
+        assertFalse(report.hasError());
+    }
+    */
+    
     public void testResolveForce() throws Exception {
         // mod4.1 v 4.2 depends on
         // - mod1.2 v 2.0 and forces it

Added: incubator/ivy/core/trunk/test/repositories/1/IVY-644/M1/ivys/ivy-1.0.xml
URL: 
http://svn.apache.org/viewvc/incubator/ivy/core/trunk/test/repositories/1/IVY-644/M1/ivys/ivy-1.0.xml?rev=595712&view=auto
==============================================================================
--- incubator/ivy/core/trunk/test/repositories/1/IVY-644/M1/ivys/ivy-1.0.xml 
(added)
+++ incubator/ivy/core/trunk/test/repositories/1/IVY-644/M1/ivys/ivy-1.0.xml 
Fri Nov 16 08:06:37 2007
@@ -0,0 +1,36 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.    
+-->
+<ivy-module version="1.0"> 
+       <info organisation="IVY-644"
+              module="M1"
+              revision="1.0"
+              status="integration"
+              publication="20041201120000"
+       />
+       <configurations>
+               <conf name="test" extends="runtime"/>
+               <conf name="runtime"/>
+       </configurations>
+       <publications/>
+       <dependencies>
+               <dependency name="M2" rev="1.0" conf="runtime->runtime"/>
+               <dependency name="M3" rev="1.0" conf="test->runtime"/>
+               <dependency name="M4" rev="1.1" conf="test->runtime"/>
+       </dependencies>
+</ivy-module>

Propchange: 
incubator/ivy/core/trunk/test/repositories/1/IVY-644/M1/ivys/ivy-1.0.xml
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/ivy/core/trunk/test/repositories/1/IVY-644/M2/ivys/ivy-1.0.xml
URL: 
http://svn.apache.org/viewvc/incubator/ivy/core/trunk/test/repositories/1/IVY-644/M2/ivys/ivy-1.0.xml?rev=595712&view=auto
==============================================================================
--- incubator/ivy/core/trunk/test/repositories/1/IVY-644/M2/ivys/ivy-1.0.xml 
(added)
+++ incubator/ivy/core/trunk/test/repositories/1/IVY-644/M2/ivys/ivy-1.0.xml 
Fri Nov 16 08:06:37 2007
@@ -0,0 +1,34 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.    
+-->
+<ivy-module version="1.0"> 
+       <info organisation="IVY-644"
+              module="M2"
+              revision="1.0"
+              status="integration"
+              publication="20041201120000"
+       />
+       <configurations>
+               <conf name="runtime" extends="compile"/>
+               <conf name="compile"/>
+       </configurations>
+       <publications/>
+       <dependencies>
+               <dependency name="M4" rev="1.0" 
conf="compile->compile;runtime->runtime"/>
+       </dependencies>
+</ivy-module>

Propchange: 
incubator/ivy/core/trunk/test/repositories/1/IVY-644/M2/ivys/ivy-1.0.xml
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/ivy/core/trunk/test/repositories/1/IVY-644/M3/ivys/ivy-1.0.xml
URL: 
http://svn.apache.org/viewvc/incubator/ivy/core/trunk/test/repositories/1/IVY-644/M3/ivys/ivy-1.0.xml?rev=595712&view=auto
==============================================================================
--- incubator/ivy/core/trunk/test/repositories/1/IVY-644/M3/ivys/ivy-1.0.xml 
(added)
+++ incubator/ivy/core/trunk/test/repositories/1/IVY-644/M3/ivys/ivy-1.0.xml 
Fri Nov 16 08:06:37 2007
@@ -0,0 +1,34 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.    
+-->
+<ivy-module version="1.0"> 
+       <info organisation="IVY-644"
+              module="M3"
+              revision="1.0"
+              status="integration"
+              publication="20041201120000"
+       />
+       <configurations>
+               <conf name="runtime" extends="compile"/>
+               <conf name="compile"/>
+       </configurations>
+       <publications/>
+       <dependencies>
+               <dependency name="M4" rev="1.2" 
conf="compile->compile;runtime->runtime"/>
+       </dependencies>
+</ivy-module>

Propchange: 
incubator/ivy/core/trunk/test/repositories/1/IVY-644/M3/ivys/ivy-1.0.xml
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.0.xml
URL: 
http://svn.apache.org/viewvc/incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.0.xml?rev=595712&view=auto
==============================================================================
--- incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.0.xml 
(added)
+++ incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.0.xml 
Fri Nov 16 08:06:37 2007
@@ -0,0 +1,33 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.    
+-->
+<ivy-module version="1.0"> 
+       <info organisation="IVY-644"
+              module="M4"
+              revision="1.0"
+              status="integration"
+              publication="20041201120000"
+       />
+       <configurations>
+               <conf name="runtime" extends="compile"/>
+               <conf name="compile"/>
+       </configurations>
+       <publications/>
+       <dependencies>
+       </dependencies>
+</ivy-module>

Propchange: 
incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.0.xml
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.1.xml
URL: 
http://svn.apache.org/viewvc/incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.1.xml?rev=595712&view=auto
==============================================================================
--- incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.1.xml 
(added)
+++ incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.1.xml 
Fri Nov 16 08:06:37 2007
@@ -0,0 +1,33 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.    
+-->
+<ivy-module version="1.0"> 
+       <info organisation="IVY-644"
+              module="M4"
+              revision="1.1"
+              status="integration"
+              publication="20041201120000"
+       />
+       <configurations>
+               <conf name="runtime" extends="compile"/>
+               <conf name="compile"/>
+       </configurations>
+       <publications/>
+       <dependencies>
+       </dependencies>
+</ivy-module>

Propchange: 
incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.1.xml
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.2.xml
URL: 
http://svn.apache.org/viewvc/incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.2.xml?rev=595712&view=auto
==============================================================================
--- incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.2.xml 
(added)
+++ incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.2.xml 
Fri Nov 16 08:06:37 2007
@@ -0,0 +1,33 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.    
+-->
+<ivy-module version="1.0"> 
+       <info organisation="IVY-644"
+              module="M4"
+              revision="1.2"
+              status="integration"
+              publication="20041201120000"
+       />
+       <configurations>
+               <conf name="runtime" extends="compile"/>
+               <conf name="compile"/>
+       </configurations>
+       <publications/>
+       <dependencies>
+       </dependencies>
+</ivy-module>

Propchange: 
incubator/ivy/core/trunk/test/repositories/1/IVY-644/M4/ivys/ivy-1.2.xml
------------------------------------------------------------------------------
    svn:executable = *


Reply via email to