/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b1)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
import javax.help.HelpSetException;
import javax.help.Map;
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class HelpTest
{
+
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
@Test(groups = { "Functional" })
public void checkHelpTargets() throws HelpSetException
{
for (HelpId id : HelpId.values())
{
- String target = id.toString();
+ String target = id.getId();
assertTrue("Unmatched target enum: " + target,
targets.isValidID(target, hs));
}