Skip to content
Permalink
Browse files
NOJIRA attempting to fix the .net build on buildbot again
  • Loading branch information
spyhunter99 committed Aug 25, 2018
1 parent 29e1926 commit 468831db0c9bd87f0f3bb7a07784e8033ed0a8c4
Showing 1 changed file with 9 additions and 9 deletions.
@@ -17,11 +17,8 @@
using NUnit.Framework;
using org.apache.juddi.v3.client;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using org.apache.juddi.v3.client.log;

namespace juddi_client.net.test
@@ -64,10 +61,11 @@ public void testLogFactory3()
try
{
elog = new EventLog(EventLogger.EVENT_LOG_SOURCE);
Assert.True(elog.Entries.Count > 1);
}
catch (Exception ex) {
Assert.Ignore("test ignored, event log access was probably denied " + ex.Message);
}
catch (Exception ex) { }
Assume.That(elog != null);
Assert.True(elog.Entries.Count > 1);
}

[Test]
@@ -95,10 +93,12 @@ public void testLogFactory5()
try
{
elog = new EventLog(EventLogger.EVENT_LOG_SOURCE);
Assert.True(elog.Entries.Count > 1);
}
catch (Exception ex) {
Assert.Ignore("test ignored, event log access was probably denied " + ex.Message);
}
catch (Exception ex) { }
Assume.That(elog != null);
Assert.True(elog.Entries.Count > 1);

}


0 comments on commit 468831d

Please sign in to comment.