Package com.opera.core.systems.runner.inprocess

Examples of com.opera.core.systems.runner.inprocess.OperaInProcessRunner


    runner = null;
  }

  @Test
  public void construction() {
    assertNotNull(new OperaInProcessRunner());
  }
View Full Code Here


    assertNotNull(new OperaInProcessRunner());
  }

  @Test
  public void constructionWithSettings() {
    assertNotNull(new OperaInProcessRunner(settings));
  }
View Full Code Here

    assertNotNull(new OperaInProcessRunner(settings));
  }

  @Test
  public void startOpera() {
    runner = new OperaInProcessRunner();

    runner.startOpera();
    assertTrue(runner.isOperaRunning());
  }
View Full Code Here

    assertTrue(runner.isOperaRunning());
  }

  @Test
  public void startOperaAfterStartedIsNoOp() {
    runner = new OperaInProcessRunner();
    runner.startOpera();
    runner.startOpera();
  }
View Full Code Here

    runner.startOpera();
  }

  @Test
  public void stopOpera() {
    runner = new OperaInProcessRunner();

    runner.startOpera();
    assertTrue(runner.isOperaRunning());

    runner.stopOpera();
View Full Code Here

    assertFalse(runner.isOperaRunning());
  }

  @Test
  public void stopOperaAfterStoppedIsNoOp() {
    runner = new OperaInProcessRunner();
    runner.stopOpera();
    runner.stopOpera();
  }
View Full Code Here

    runner.stopOpera();
  }

  @Test
  public void isOperaRunning() {
    runner = new OperaInProcessRunner();

    assertFalse(runner.isOperaRunning());
    runner.startOpera();
    assertTrue(runner.isOperaRunning());
    runner.stopOpera();
View Full Code Here

    assertFalse(runner.isOperaRunning());
  }

  @Test
  public void hasOperaCrashedNotImplemented() {
    runner = new OperaInProcessRunner();

    try {
      runner.hasOperaCrashed();
      fail("Expected UnsupportedOperationException");
    } catch (RuntimeException e) {
View Full Code Here

    }
  }

  @Test
  public void getOperaCrashlogNotImplemented() {
    runner = new OperaInProcessRunner();

    try {
      runner.getOperaCrashlog();
      fail("Expected UnsupportedOperationException");
    } catch (RuntimeException e) {
View Full Code Here

    }
  }

  @Test
  public void shutdown() {
    runner = new OperaInProcessRunner();
    runner.shutdown();
  }
View Full Code Here

TOP

Related Classes of com.opera.core.systems.runner.inprocess.OperaInProcessRunner

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.