[webbeans-commits] Webbeans SVN: r1530 - in tck/trunk/impl/src: test/java/org/jboss/jsr299/tck/test/impl/packaging/descriptors/tck and 1 other directories.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Sun Feb 15 18:01:00 EST 2009
Author: pete.muir at jboss.org
Date: 2009-02-15 18:00:58 -0500 (Sun, 15 Feb 2009)
New Revision: 1530
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/initializer/AndalusianChicken.java
tck/trunk/impl/src/test/java/org/jboss/jsr299/tck/test/impl/packaging/descriptors/tck/TCKArtifactTest.java
tck/trunk/impl/src/test/java/org/jboss/jsr299/tck/test/impl/packaging/descriptors/war/WarArtifactTest.java
Log:
Fix tck tests on windows
Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/initializer/AndalusianChicken.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/initializer/AndalusianChicken.java 2009-02-15 22:37:46 UTC (rev 1529)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/unit/implementation/initializer/AndalusianChicken.java 2009-02-15 23:00:58 UTC (rev 1530)
@@ -7,7 +7,6 @@
class AndalusianChicken implements LocalChicken
{
- @Override
public void firstBusinessMethod()
{
}
Modified: tck/trunk/impl/src/test/java/org/jboss/jsr299/tck/test/impl/packaging/descriptors/tck/TCKArtifactTest.java
===================================================================
--- tck/trunk/impl/src/test/java/org/jboss/jsr299/tck/test/impl/packaging/descriptors/tck/TCKArtifactTest.java 2009-02-15 22:37:46 UTC (rev 1529)
+++ tck/trunk/impl/src/test/java/org/jboss/jsr299/tck/test/impl/packaging/descriptors/tck/TCKArtifactTest.java 2009-02-15 23:00:58 UTC (rev 1530)
@@ -29,7 +29,7 @@
List<String> fileNames = new ArrayList<String>();
while ((entry = is.getNextJarEntry()) != null)
{
- fileNames.add(entry.getName());
+ fileNames.add(entry.getName().replace(File.separator, "/"));
}
assert fileNames.contains("org/jboss/jsr299/tck/impl/util/Reflections.class");
assert fileNames.contains("org/jboss/jsr299/tck/literals/NewLiteral.class");
Modified: tck/trunk/impl/src/test/java/org/jboss/jsr299/tck/test/impl/packaging/descriptors/war/WarArtifactTest.java
===================================================================
--- tck/trunk/impl/src/test/java/org/jboss/jsr299/tck/test/impl/packaging/descriptors/war/WarArtifactTest.java 2009-02-15 22:37:46 UTC (rev 1529)
+++ tck/trunk/impl/src/test/java/org/jboss/jsr299/tck/test/impl/packaging/descriptors/war/WarArtifactTest.java 2009-02-15 23:00:58 UTC (rev 1530)
@@ -80,7 +80,7 @@
List<String> fileNames = new ArrayList<String>();
while ((entry = is.getNextJarEntry()) != null)
{
- fileNames.add(entry.getName());
+ fileNames.add(entry.getName().replace(File.separator, "/"));
}
is.close();
assert fileNames.contains("WEB-INF/web-beans.xml");
More information about the weld-commits
mailing list