public class GosuEnumTest extends TestClass
TestClass.EqualityTester| Constructor and Description |
|---|
GosuEnumTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testComplexEnum() |
void |
testEmptyEnum() |
void |
testEnumInInnerClassInProgram() |
void |
testEnumInProgram() |
void |
testEnumWithBadConstrutorDoesNotCauseNPE() |
void |
testEnumWithNoConstantsCanHaveAConstructor() |
void |
testErrant_IllegalCtorAccess() |
void |
testErrantAbstractEnum() |
void |
testErrantEnumWrongNumberOfCtorArgs() |
void |
testErrantNonPrivateEnumCtor() |
void |
testErrantPrivateEnum() |
void |
testErrantProtectedEnum() |
void |
testHasInnerEnum() |
void |
testInnerEnumsCanInvokeValueOf() |
void |
testInnerSimpleEnumWithCtorAndOuterWithCtor() |
void |
testQualifiedAssignment() |
void |
testSimpleEnum() |
void |
testToStringReturnsName() |
void |
testUnqualifiedAssignment() |
_suite, addMetadata, afterTestClass, afterTestMethod, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertCausesException, assertCollectionEquals, assertCollectionEquals, assertIterableEquals, assertIterableEquals, assertIterableEqualsIgnoreOrder, assertListEquals, assertListEquals, assertMatchRegex, assertSetsEqual, assertZero, assertZero, beforeTestClass, beforeTestMethod, createClassMetadata, createDefaultEnvironment, createMetadata, createMetadata, createMethodMetadata, createTestClass, doRunTest, getClassName, getExecutionManager, getFullClassNameInternal, getMetadata, getName, getNumberOfInstancesOfTestClassCreated, getPackageName, getTotalNumTestMethods, getType, getTypeName, initInternalData, initMetadata, isGosuTest, isMetaAnnotation, isMetaAnnotationInfo, reallyRun, reallyRunBare, run, runBare, runTest, setExecutionManager, setGosuTest, setName, setUp, tearDown, toStringassertEquals, 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, failNotEquals, failNotSame, failSame, formatpublic void testEmptyEnum()
throws ClassNotFoundException
ClassNotFoundExceptionpublic void testSimpleEnum()
throws ClassNotFoundException
ClassNotFoundExceptionpublic void testComplexEnum()
throws ClassNotFoundException
ClassNotFoundExceptionpublic void testHasInnerEnum()
throws ClassNotFoundException
ClassNotFoundExceptionpublic void testInnerSimpleEnumWithCtorAndOuterWithCtor()
throws ClassNotFoundException
ClassNotFoundExceptionpublic void testErrantPrivateEnum()
throws ClassNotFoundException
ClassNotFoundExceptionpublic void testErrantProtectedEnum()
throws ClassNotFoundException
ClassNotFoundExceptionpublic void testErrantAbstractEnum()
throws ClassNotFoundException
ClassNotFoundExceptionpublic void testErrant_IllegalCtorAccess()
throws ClassNotFoundException
ClassNotFoundExceptionpublic void testErrantEnumWrongNumberOfCtorArgs()
throws ClassNotFoundException
ClassNotFoundExceptionpublic void testQualifiedAssignment()
throws gw.lang.parser.exceptions.ParseResultsException
public void testUnqualifiedAssignment()
throws gw.lang.parser.exceptions.ParseResultsException
public void testToStringReturnsName()
throws gw.lang.parser.exceptions.ParseResultsException
public void testErrantNonPrivateEnumCtor()
throws ClassNotFoundException
ClassNotFoundExceptionpublic void testEnumWithNoConstantsCanHaveAConstructor()
throws ClassNotFoundException,
gw.lang.parser.exceptions.ParseResultsException
public void testEnumWithBadConstrutorDoesNotCauseNPE()
throws ClassNotFoundException,
gw.lang.parser.exceptions.ParseResultsException
public void testEnumInInnerClassInProgram()
public void testInnerEnumsCanInvokeValueOf()
public void testEnumInProgram()
Copyright © 2015. All rights reserved.