summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwilk2011-04-19 20:15:41 (EDT)
committerRyan D. Brooks2011-04-19 20:15:41 (EDT)
commit2065e4548bfd250d0d3c9bc5d081ba49b7f48a39 (patch)
tree2211f3fd30dcdd480e4d4f42f2c92d3a79081ff5
parent0816f7696a065571681d76dbd14d46b1be0d2721 (diff)
downloadorg.eclipse.osee-2065e4548bfd250d0d3c9bc5d081ba49b7f48a39.zip
org.eclipse.osee-2065e4548bfd250d0d3c9bc5d081ba49b7f48a39.tar.gz
org.eclipse.osee-2065e4548bfd250d0d3c9bc5d081ba49b7f48a39.tar.bz2
refinement: Fix for WordArtifactElementExtractor test not to exceed 10 seconds
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet.test/src/org/eclipse/osee/framework/ui/skynet/test/cases/WordArtifactElementExtractorTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet.test/src/org/eclipse/osee/framework/ui/skynet/test/cases/WordArtifactElementExtractorTest.java b/plugins/org.eclipse.osee.framework.ui.skynet.test/src/org/eclipse/osee/framework/ui/skynet/test/cases/WordArtifactElementExtractorTest.java
index 7ad6287..4bd77cd 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet.test/src/org/eclipse/osee/framework/ui/skynet/test/cases/WordArtifactElementExtractorTest.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet.test/src/org/eclipse/osee/framework/ui/skynet/test/cases/WordArtifactElementExtractorTest.java
@@ -174,7 +174,10 @@ public class WordArtifactElementExtractorTest {
multiArtifactTest(artElements, testText);
}
- @org.junit.Test
+ /**
+ * Test should fail if running time exceeds 10 seconds
+ */
+ @org.junit.Test(timeout = 10000)
public void testPerformance() throws Exception {
WordImageArtifactElementExtractor artifactElementExtractor =
new WordImageArtifactElementExtractor(getDocument(getExpectedContent(PERFORMANCE_TEST)));