Changed log level for browser.

This commit is contained in:
dbuechel 2018-04-25 07:47:48 +02:00
parent eb5fc50fea
commit 45dd741e4c
3 changed files with 4 additions and 3 deletions

View file

@ -102,8 +102,8 @@ namespace SafeExamBrowser.Browser
{
CachePath = runtimeInfo.BrowserCachePath,
LogFile = runtimeInfo.BrowserLogFile,
// TODO: Set according to current application LogLevel!
LogSeverity = LogSeverity.Verbose
// TODO: Set according to current application LogLevel, but avoid verbose!
LogSeverity = LogSeverity.Info
};
cefSettings.RegisterScheme(new CefCustomScheme { SchemeName = "seb", SchemeHandlerFactory = new SchemeHandlerFactory() });

View file

@ -56,6 +56,7 @@ namespace SafeExamBrowser.Core.UnitTests.Communication.Hosts
[ExpectedException(typeof(CommunicationException))]
public void MustCorrectlyHandleStartupException()
{
// TODO: Takes waaay too long, extract timeout (move to constructor like in ClientOperation)!
hostObject.Setup(h => h.Open()).Throws<Exception>();
sut.Start();