package com.opera.core.systems;

import junit.framework.Assert;
import org.junit.Test;

// TODO make tests pass
public class CrashTest extends TestBase {
  @Test
  public void testCore32291() {
    driver.get("http://t/core/bts/crashers/visual/CORE-32291/001.html");
    Assert.assertTrue(driver.getRunner().hasOperaCrashed());
  }

  @Test
  public void testCore32766() {
    driver.get("http://t/core/bts/crashers/visual/CORE-32766/002.html");
    Assert.assertTrue(driver.getRunner().hasOperaCrashed());
  }

  @Test
  public void testCore33582() {
    driver.get("http://t/core/bts/crashers/visual/CORE-33582/001.html");
    Assert.assertTrue(driver.getRunner().hasOperaCrashed());
  }

  @Test
  public void testCore34039() {
    driver.get("http://t/core/bts/crashers/visual/CORE-34039/001.html");
    Assert.assertTrue(driver.getRunner().hasOperaCrashed());
  }

  @Test
  public void testCore34284() {

    driver.get("http://t/core/bts/crashers/visual/CORE-34284/001.html");
    Assert.assertTrue(driver.getRunner().hasOperaCrashed());

  }

  @Test
  public void testCore32224() {
    driver.get("http://t/core/bts/crashers/visual/CORE-32224/001.html");
    Assert.assertTrue(driver.getRunner().hasOperaCrashed());
  }
}
@@ -56,16 +56,125 @@
 .Assert;
+%0A%0Aimport org.junit.After;%0Aimport org.junit.AfterClass;%0Aimport org.junit.Before;%0Aimport org.junit.BeforeClass;
 %0Aimport 
@@ -197,12 +197,13 @@
 %0A// 
-TODO
+FIXME
  mak
@@ -257,16 +257,438 @@
 tBase %7B%0A
+  @BeforeClass%0A  public static void setUpBeforeClass() throws Exception %7B%7D%0A  @AfterClass%0A  public static void tearDownAfterClass() throws Exception %7B%7D%0A%0A  @Before%0A  public void setUp() throws Exception %7B%0A    super.setUpBeforeClass();%0A  %7D%0A%0A  @After%0A  public void tearDown() throws Exception %7B%0A    super.tearDownAfterClass();%0A    // Make sure Opera is gone%0A    Runtime.getRuntime().exec(%22kill %60pgrep opera%60%22).waitFor();%0A  %7D%0A%0A
   @Test%0A

Add custom setup and tear down methods