super( name );
}
public void testEntryDescriptor()
{
EntryDescriptor entry = new EntryDescriptor(m_key, m_type, m_optional, m_volatile, m_alias);
checkEntry(entry, m_key, m_type, m_optional, m_volatile, m_alias );
entry = new EntryDescriptor(m_key, m_type);
checkEntry(entry, m_key, m_type, false, false, null );
entry = new EntryDescriptor(m_key, m_type, m_optional);
checkEntry(entry, m_key, m_type, m_optional, false, null );
entry = new EntryDescriptor( m_key, m_type, m_optional, m_volatile );
checkEntry( entry, m_key, m_type, m_optional, m_volatile, null );
try
{
new EntryDescriptor(null, m_type);
fail("Did not throw expected NullPointerException");
}
catch(NullPointerException npe)
{
// Success!!
}
try
{
new EntryDescriptor( m_key, null );
fail( "Did not throw expected NullPointerException" );
}
catch ( NullPointerException npe )
{
// Success!!