Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AndFileLoaderTest : DisambiguateTests
{
string AndFile { get; set; }

[Test, Ignore("Ignoring this test for timing purposes")]
[Test]
public void LoadAndFileGuidsTest()
{
AndFile = Path.Combine(TestDataDir, "Text4LoadTest.and");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public override void FixtureTeardown()
/// <summary>
/// Test disambiguating segment in a text
/// </summary>
[Test, Ignore("Ignoring this test for timing purposes")]
[Test]
public void DisambiguateSegmentTest()
{
//MyCache = Loader.CreateCache();
Expand Down Expand Up @@ -131,7 +131,7 @@ public void DisambiguateSegmentTest()
/// <summary>
/// Test disambiguating segment in a text
/// </summary>
[Test, Ignore("Ignoring this test for timing purposes")]
[Test]
public void EnsureMorphBundleHasSenseTest()
{
//MyCache = Loader.CreateCache();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,8 @@ public override void FixtureSetup()
if (String.IsNullOrEmpty(SavedTestFile))
SavedTestFile = kTestFileB4;

using (var temp = new IO.TempFile(Path.Combine(Path.GetTempPath(), TestFile), false))
{
TempTestFile = temp.Path;
}
using var temp = new IO.TempFile(Path.Combine(Path.GetTempPath(), TestFile), false);
TempTestFile = temp.Path;
File.Copy(Path.Combine(TestDataDir, SavedTestFile), TempTestFile, true);
ProjId = new ProjectId(TempTestFile);
FwRegistryHelper.Initialize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public override void FixtureTeardown()
/// <summary>
/// Test disambiguating segment in a text
/// </summary>
[Test, Ignore("Ignoring this test for timing purposes")]
[Test]
public void DisambiguateText2Test()
{
//MyCache = Loader.CreateCache();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public override void FixtureTeardown()
/// <summary>
/// Test disambiguating segment in a text
/// </summary>
[Test, Ignore("Ignoring this test for timing purposes")]
[Test]
public void DisambiguateTextTest()
{
//MyCache = Loader.CreateCache();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public override void FixtureTeardown()
/// <summary>
/// Test extracting of lexicon.
/// </summary>
[Test, Ignore("Ignoring this test for timing purposes")]
[Test]
public void ExtractLexiconTest()
{
//MyCache = Loader.CreateCache();
Expand All @@ -66,7 +66,7 @@ public void ExtractLexiconTest()
Assert.AreEqual(Lexicon, lexicon);
}

[Test, Ignore("Ignoring this test for timing purposes")]
[Test]
public void IsAttachedCliticTest()
{
//MyCache = Loader.CreateCache();
Expand Down Expand Up @@ -103,7 +103,7 @@ public void IsAttachedCliticTest()
Assert.IsTrue(extractor.IsAttachedClitic(MoMorphTypeTags.kguidMorphProclitic, 2));
}

[Test, Ignore("Ignoring this test for timing purposes")]
[Test]
public void GetOrComputeWordCategoryTest()
{
//MyCache = Loader.CreateCache();
Expand Down Expand Up @@ -160,7 +160,7 @@ public void GetOrComputeWordCategoryTest()
/// <summary>
/// Test extracting of text segments in ANA format.
/// </summary>
[Test, Ignore("Ignoring this test for timing purposes")]
[Test]
public void ExtractTextSegmentAsANATest()
{
//MyCache = Loader.CreateCache();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace SIL.DisambiguateInFLExDBTest
[TestFixture]
class GuidConverterTest
{
[Test, Ignore("Ignoring this test for timing purposes")]
[Test]
public void ConvertGuidsTest()
{
string result =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class PcPatrInvokerTests : DisambiguateTests
/// <summary>
/// Test extracting of lexicon.
/// </summary>
[Test, Ignore("Ignoring this test for timing purposes")]
[Test]
public void PcPatrInvokerTest()
{
// Check for the existence of the PcPatr executable
Expand Down Expand Up @@ -128,7 +128,7 @@ string expectedValue
/// <summary>
/// Test extracting of lexicon.
/// </summary>
[Test, Ignore("Ignoring this test for timing purposes")]
[Test]
public void PcPatrInvokerFailureTest()
{
string grammarFile = "GrammarFail.grm";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void FixtureTeardown()
/// <summary>
/// Test setting of trace and verify options.
/// </summary>
[Test, Ignore("Ignoring this test for timing purposes")]
[Test]
public void TraceOptionsTest()
{
Assert.AreEqual("", ToneParsInvokerOptions.Instance.GetOptionsString());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public override void FixtureTeardown()
/// <summary>
/// Test conversion of log file using hvos to using glosses.
/// </summary>
[Test, Ignore("Ignoring this test for timing purposes")]
[Test]
public void ToneParsHvoToGlossInLogTest()
{
var logFileWithHvos = Path.Combine(TestDataDir, "ToneParsInvokerWithHvos.log");
Expand All @@ -83,7 +83,8 @@ public void ToneParsHvoToGlossInLogTest()
/// <summary>
/// Test invoking of XAmple followed by TonePars.
/// </summary>
[Test, Ignore("Ignoring this test for timing purposes")]
[Test]
[Category("DesktopRequired")]
public void ToneParsInvokerTest()
{
// Check for the existence of the TonePars executable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public override void FixtureTeardown()
/// <summary>
/// Test we get the expected results for the preparer service.
/// </summary>
[Test, Ignore("Ignoring this test for timing purposes")]
[Test]
public void PCPATRPreparerTest()
{
FixtureSetup();
Expand Down Expand Up @@ -128,7 +128,7 @@ private void CheckMatch(ICmPossibilityList last, string sToMatch)
/// <summary>
/// Test we get the expected results for the preparer service.
/// </summary>
[Test, Ignore("Ignoring this test for timing purposes")]
[Test]
public void ToneParsPreparerTest()
{
FixtureSetup();
Expand Down
2 changes: 1 addition & 1 deletion Test.runsettings
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<TargetPlatform>x64</TargetPlatform>
<!-- Framework version - net48 -->
<TargetFrameworkVersion>net48</TargetFrameworkVersion>
<!-- Test timeout in milliseconds (10 minutes default for long-running tests) -->
<!-- Test timeout in milliseconds (15 minutes default for long-running tests) -->
<TestSessionTimeout>900000</TestSessionTimeout>
<!--
InIsolation: Run tests in a separate process.
Expand Down
Loading