Skip to content

Commit

Permalink
Print exception to stdout and provoke one. To test whether it shows u…
Browse files Browse the repository at this point in the history
…p on travis
  • Loading branch information
tpietzsch committed Jul 18, 2019
1 parent 6526084 commit ec34e21
Showing 1 changed file with 16 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,22 @@ public class UpdateStackSerializationSeriesTest
@Test
public void test() throws Exception
{
createProjectWithPendingChanges(4);
makeOtherChangesAndRecompute(1);
makeOtherChangesAndRecompute(2);
makeOtherChangesAndRecompute(3);
makeOtherChangesAndRecompute(5);
openProjectWithPendingChanges(new int[] {1, 2, 3, 4, 5 });
openProjectWithoutPendingChanges();
deleteProject();
try
{
createProjectWithPendingChanges( 4 );
makeOtherChangesAndRecompute( 1 );
makeOtherChangesAndRecompute( 2 );
makeOtherChangesAndRecompute( 3 );
makeOtherChangesAndRecompute( 5 );
openProjectWithPendingChanges( new int[] { 1, 2, 3, 4, 5 } );
openProjectWithoutPendingChanges();
deleteProject();
throw new NullPointerException();
} catch ( Exception e )
{
e.printStackTrace( System.out );
throw e;
}
}

private void createProjectWithPendingChanges(final int id) throws Exception
Expand Down

0 comments on commit ec34e21

Please sign in to comment.