- ajaxiontest1.0_net1.1_src.zip
- AjaxionTest
- ajaxiontest1.0_net2.0_src.zip
- ajaxiontest1.0_java_src.zip
- ajaxionTest.jpr
- ajaxionTest.jpr.bak
- AjaxionTest.jws
- classes
- ajaxionTest.cdi
- pw
- ajaxion
- AjaxionEventConsumer.class
- log
- FileLog.class
- servlet.cdi
- servlet
- ajaxionTest.class
- public_html
- pw.ajaxion
- classes
- pw.ajaxion.cdi
- pw
- ajaxion
- AjaxionEventConsumer.class
- AjaxionEventHandler.class
- pw.ajaxion.jpr
- src
- pw
- ajaxion
- pw.log
- classes
- audit.log
- pw.log.cdi
- pw
- log
- FileLog.class
- test
- pw.log.jpr
- src
- src
- servlet
|
package test.pw.log;
import junit.framework.TestCase;
import junit.swingui.TestRunner;
import pw.log.FileLog;
import pw.log.FileLog;
public class FileLogTest
extends TestCase
{
FileLog fixture1 = new FileLog();
public FileLogTest(String sTestName)
{
super(sTestName);
}
/**
* @see FileLog#getFileName()
*/
public void testGetFileName()
{
assertNotNull("getFileName() returned null", fixture1.getFileName());
}
/**
* @see FileLog#Write(String,String)
*/
public void testWrite()
{
assertNotNull(FileLog.Write("", ""));
}
/**
* @see FileLog#WriteLn(String,String)
*/
public void testWriteLn()
{
assertNotNull(FileLog.WriteLn("", ""));
}
/**
* @see FileLog#write(String,String)
*/
public void testWrite1()
{
assertNull(fixture1.getFileName(), fixture1.write(fixture1.getFileName()));
}
/**
* @see FileLog#writeLn(String,String)
*/
public void testWriteLn1()
{
assertNull(fixture1.getFileName(), fixture1.writeLn(fixture1.getFileName()));
}
/**
* @see FileLog#write(String)
*/
public void testWrite2()
{
assertNull(fixture1.write(fixture1.getFileName()));
}
/**
* @see FileLog#writeLn(String)
*/
public void testWriteLn2()
{
assertNull(fixture1.writeLn(fixture1.getFileName()));
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.