|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase net.sf.antcontrib.cpptasks.trolltech.TestMetaObjectParser
public final class TestMetaObjectParser
Tests for the MetaObjectParser class.
Constructor Summary | |
---|---|
TestMetaObjectParser(java.lang.String name)
Constructor. |
Method Summary | |
---|---|
void |
testHasQObject1()
Test that the presence of Q_OBJECT causes hasQObject to return true. |
void |
testHasQObject2()
Test that the lack of Q_OBJECT causes hasQObject to return false. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestMetaObjectParser(java.lang.String name)
name
- String test nameMethod Detail |
---|
public void testHasQObject1() throws java.io.IOException
java.io.IOException
- test fails on IOExceptionpublic void testHasQObject2() throws java.io.IOException
java.io.IOException
- test fails on IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |