Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fxed some test that fail on linux machines.

  • Loading branch information...
commit 1d6b3edb1166cd3b56c31a3bd1b35fc19072a93e 1 parent 86e9f46
@chrisdutz chrisdutz authored
View
4 ...s-testing/flexmojos-test-harness/src/test/java/org/sonatype/flexmojos/tests/issues/Flexmojos248Test.java
@@ -48,9 +48,9 @@ private void validateCompilation( String dir, FMVerifier v )
File main = new File( target, "test-flex-modules-0.0.1-SNAPSHOT.swf" );
MatcherAssert.assertThat( main, FileMatcher.isFile() );
- File module1 = new File( target, "test-flex-modules-0.0.1-SNAPSHOT-Module1.swf" );
+ File module1 = new File( target, "test-flex-modules-0.0.1-SNAPSHOT-module1.swf" );
MatcherAssert.assertThat( module1, FileMatcher.isFile() );
- File module2 = new File( target, "test-flex-modules-0.0.1-SNAPSHOT-Module2.swf" );
+ File module2 = new File( target, "test-flex-modules-0.0.1-SNAPSHOT-module2.swf" );
MatcherAssert.assertThat( module2, FileMatcher.isFile() );
assertSeftExit( main, 3539, v );
View
22 ...s-testing/flexmojos-test-harness/src/test/java/org/sonatype/flexmojos/tests/issues/Flexmojos334Test.java
@@ -49,11 +49,11 @@ public void linkReportScanner()
List<String> classes = getCoveredClasses( v );
Assert.assertEquals( classes.size(), 3, classes.toString() );
// bug on flexmojos/cobertura support, it does think the files are .java
- MatcherAssert.assertThat( classes, IsCollectionContaining.hasItems( "FlexMaven/UntestedClass.java",
- "FlexMaven/sampleInclude.java",
- "FlexMaven/App.java" ) );
+ MatcherAssert.assertThat( classes, IsCollectionContaining.hasItems( "FlexMaven/UntestedClass.as",
+ "FlexMaven/sampleInclude.as",
+ "FlexMaven/App.as" ) );
MatcherAssert.assertThat( classes,
- CoreMatchers.not( IsCollectionContaining.hasItems( "FlexMaven/unusedInclude.java" ) ) );
+ CoreMatchers.not( IsCollectionContaining.hasItems( "FlexMaven/unusedInclude.as" ) ) );
}
@Test
@@ -66,10 +66,10 @@ public void disabledScanner()
Assert.assertEquals( classes.size(), 2, classes.toString() );
// bug on flexmojos/cobertura support, it does think the files are .java
MatcherAssert.assertThat( classes,
- IsCollectionContaining.hasItems( "FlexMaven/sampleInclude.java", "FlexMaven/App.java" ) );
+ IsCollectionContaining.hasItems( "FlexMaven/sampleInclude.java", "FlexMaven/App.as" ) );
MatcherAssert.assertThat( classes,
- CoreMatchers.not( IsCollectionContaining.hasItems( "FlexMaven/UntestedClass.java",
- "FlexMaven/unusedInclude.java" ) ) );
+ CoreMatchers.not( IsCollectionContaining.hasItems( "FlexMaven/UntestedClass.as",
+ "FlexMaven/unusedInclude.as" ) ) );
}
@Test(enabled=false)
@@ -82,10 +82,10 @@ public void as3contentScanner()
List<String> classes = getCoveredClasses( v );
Assert.assertEquals( classes.size(), 4, classes.toString() );
// bug on flexmojos/cobertura support, it does think the files are .java
- MatcherAssert.assertThat( classes, IsCollectionContaining.hasItems( "FlexMaven/UntestedClass.java",
- "FlexMaven/sampleInclude.java",
- "FlexMaven/unusedInclude.java",
- "FlexMaven/App.java" ) );
+ MatcherAssert.assertThat( classes, IsCollectionContaining.hasItems( "FlexMaven/UntestedClass.as",
+ "FlexMaven/sampleInclude.as",
+ "FlexMaven/unusedInclude.as",
+ "FlexMaven/App.as" ) );
}
@SuppressWarnings( "unchecked" )
Please sign in to comment.
Something went wrong with that request. Please try again.