public void BonCodeAJP13LoggerConstructorTest() { string fileName = string.Empty; // TODO: Initialize to an appropriate value Mutex loggerMutex = null; // TODO: Initialize to an appropriate value BonCodeAJP13Logger target = new BonCodeAJP13Logger(fileName, loggerMutex); Assert.Inconclusive("TODO: Implement code to verify target"); }
public void GetLogDirTest() { string expected = string.Empty; // TODO: Initialize to an appropriate value string actual; actual = BonCodeAJP13Logger.GetLogDir(); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void LogMessageTest() { string fileName = string.Empty; // TODO: Initialize to an appropriate value Mutex loggerMutex = null; // TODO: Initialize to an appropriate value BonCodeAJP13Logger target = new BonCodeAJP13Logger(fileName, loggerMutex); // TODO: Initialize to an appropriate value string message = string.Empty; // TODO: Initialize to an appropriate value int onlyAboveLogLevel = 0; // TODO: Initialize to an appropriate value target.LogMessage(message, onlyAboveLogLevel); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void LogPacketsTest() { string fileName = string.Empty; // TODO: Initialize to an appropriate value Mutex loggerMutex = null; // TODO: Initialize to an appropriate value BonCodeAJP13Logger target = new BonCodeAJP13Logger(fileName, loggerMutex); // TODO: Initialize to an appropriate value BonCodeAJP13PacketCollection packets = null; // TODO: Initialize to an appropriate value bool logAllways = false; // TODO: Initialize to an appropriate value int onlyAboveLogLevel = 0; // TODO: Initialize to an appropriate value target.LogPackets(packets, logAllways, onlyAboveLogLevel); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
/// <summary> /// Get path in which the properties XML file should be located. This is where the .dll is located itself. /// </summary> public virtual string GetAppSettingsPath() { //Used to determine where to store the settings return(BonCodeAJP13Logger.GetAssemblyDirectory()); }
/// <summary> /// Get path in which the properties XML file should be located. This is where the .dll is located itself. /// If dll is in GAC this will switch to windows\system32 dir /// </summary> public virtual string GetAppSettingsPath() { return(BonCodeAJP13Logger.GetAssemblyDirectory()); }