mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-10 18:33:29 +00:00
[AB-246] fixing new lines being removed from parameters
creating javadoc profile to only build javadoc on release builds
This commit is contained in:
@@ -51,12 +51,6 @@ public class BooleanParameterHandlerImplTest extends AbstractParameterHandlerTes
|
||||
Assert.assertFalse((Boolean)testUnit.handle(piece, null, parameter, null, command));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testNullInput() {
|
||||
UnparsedCommandParameterPiece piece = getPieceWithValue(null);
|
||||
Assert.assertFalse((Boolean)testUnit.handle(piece, null, parameter, null, command));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testEmptyStringAsInput() {
|
||||
UnparsedCommandParameterPiece piece = getPieceWithValue("");
|
||||
|
||||
@@ -54,11 +54,6 @@ public class DurationParameterHandlerImplTest extends AbstractParameterHandlerTe
|
||||
Assert.assertEquals(targetDuration, testUnit.handle(getPieceWithValue("5h5m4d"), null, parameter, null, command));
|
||||
}
|
||||
|
||||
@Test(expected = DurationFormatException.class)
|
||||
public void testNullInput() {
|
||||
testUnit.handle(getPieceWithValue(null), null, parameter, null, command);
|
||||
}
|
||||
|
||||
@Test(expected = DurationFormatException.class)
|
||||
public void testEmptyStringAsInput() {
|
||||
testUnit.handle(getPieceWithValue(""), null, parameter, null, command);
|
||||
|
||||
@@ -60,11 +60,6 @@ public class IntegerParameterHandlerImplTest extends AbstractParameterHandlerTes
|
||||
testUnit.handle(getPieceWithValue("someText"), null, parameter, null, command);
|
||||
}
|
||||
|
||||
@Test(expected = NumberFormatException.class)
|
||||
public void testNullInput() {
|
||||
testUnit.handle(getPieceWithValue(null), null, parameter, null, command);
|
||||
}
|
||||
|
||||
@Test(expected = NumberFormatException.class)
|
||||
public void testEmptyStringAsInput() {
|
||||
testUnit.handle(getPieceWithValue(""), null, parameter, null, command);
|
||||
|
||||
@@ -59,11 +59,6 @@ public class LongParameterHandlerImplTest extends AbstractParameterHandlerTest {
|
||||
testUnit.handle(getPieceWithValue("someText"), null, parameter, null, command);
|
||||
}
|
||||
|
||||
@Test(expected = NumberFormatException.class)
|
||||
public void testNullInput() {
|
||||
testUnit.handle(getPieceWithValue(null), null, parameter, null, command);
|
||||
}
|
||||
|
||||
@Test(expected = NumberFormatException.class)
|
||||
public void testEmptyStringAsInput() {
|
||||
testUnit.handle(getPieceWithValue(""), null, parameter, null, command);
|
||||
|
||||
Reference in New Issue
Block a user