All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fitnesse.testsystems.slim.SlimTestContext Maven / Gradle / Ivy

The newest version!
// Copyright (C) 2003-2009 by Object Mentor, Inc. All rights reserved.
// Released under the terms of the CPL Common Public License version 1.0.
package fitnesse.testsystems.slim;

import java.util.Collection;
import java.util.Map;

import fitnesse.testsystems.ExecutionResult;
import fitnesse.testsystems.TestPage;
import fitnesse.testsystems.TestSummary;
import fitnesse.testsystems.slim.tables.ScenarioTable;
import fitnesse.testsystems.slim.tables.ScriptTable;

public interface SlimTestContext {
  String getSymbol(String symbolName);

  Map getSymbols();

  void setSymbol(String symbolName, String value);

  void addScenario(String scenarioName, ScenarioTable scenarioTable);

  ScenarioTable getScenario(String scenarioName);

  ScenarioTable getScenarioByPattern(String invokingString);

  Collection getScenarios();

  void incrementPassedTestsCount();

  void incrementFailedTestsCount();

  void incrementErroredTestsCount();

  void incrementIgnoredTestsCount();

  void increment(ExecutionResult testSummary);

  void increment(TestSummary testSummary);

  TestPage getPageToTest();

  void setCurrentScriptClass(Class currentScriptClass);

  Class getCurrentScriptClass();

  void setCurrentScriptActor(String currentScriptActor);

  String getCurrentScriptActor();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy