@@ -0,0 +1,636 @@
+package com.levelup.java.junit;%0A%0Aimport org.junit.Ignore;%0Aimport org.junit.Test;%0A%0A/**%0A * This java example will demonstrate how to limit%0A * the execution time on a junit test with a timeout parameters.%0A * This is helpful if you mix integration test with unit test or if %0A * you have long running tests.%0A * %0A * @author Justin Musgrove%0A * @see %3Ca href='http://www.leveluplunch.com/java/example/junit-limit-length-of-test/'%3ELimit length of test%3C/a%3E%0A * %0A */%0Apublic class TimeoutParameterTest %7B%0A%0A%09@Ignore(%22Test will always fail%22)%0A%09@Test(timeout=100)%0A%09public void limit_test_execution_time () %7B%0A%0A%09%09//Infinite loop%0A%09%09while (true) %7B%0A%09%09%7D%0A%09%7D%0A%09%0A%7D%0A

add TimeoutParameterTest