mirror of https://github.com/apache/maven.git
Fixing misspellings in test names
This commit is contained in:
parent
985b5985f3
commit
e6217a4555
|
@ -27,7 +27,7 @@ public class DefaultMirrorSelectorTest
|
||||||
extends PlexusTestCase
|
extends PlexusTestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
public void testMirrorWithMirroOfPatternContainingANegationIsNotSelected()
|
public void testMirrorWithMirrorOfPatternContainingANegationIsNotSelected()
|
||||||
{
|
{
|
||||||
ArtifactRepository repository = new DefaultArtifactRepository( "snapshots.repo", "http://whatever", null );
|
ArtifactRepository repository = new DefaultArtifactRepository( "snapshots.repo", "http://whatever", null );
|
||||||
String pattern = "external:*, !snapshots.repo";
|
String pattern = "external:*, !snapshots.repo";
|
||||||
|
|
|
@ -221,16 +221,16 @@ public class FileSizeFormatTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test( expected = IllegalArgumentException.class )
|
@Test( expected = IllegalArgumentException.class )
|
||||||
public void testNegativeProgessedSize()
|
public void testNegativeProgressedSize()
|
||||||
{
|
{
|
||||||
FileSizeFormat format = new FileSizeFormat( Locale.ENGLISH );
|
FileSizeFormat format = new FileSizeFormat( Locale.ENGLISH );
|
||||||
|
|
||||||
long negativeProgessedSize = -100L;
|
long negativeProgressedSize = -100L;
|
||||||
format.formatProgress( negativeProgessedSize, 10L );
|
format.formatProgress( negativeProgressedSize, 10L );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test( expected = IllegalArgumentException.class )
|
@Test( expected = IllegalArgumentException.class )
|
||||||
public void testNegativeProgessedSizeBiggerThanSize()
|
public void testNegativeProgressedSizeBiggerThanSize()
|
||||||
{
|
{
|
||||||
FileSizeFormat format = new FileSizeFormat( Locale.ENGLISH );
|
FileSizeFormat format = new FileSizeFormat( Locale.ENGLISH );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue