org.jboss.test.jmx.compliance.objectname
Class MalformedSUITE

java.lang.Object
  extended byjunit.framework.TestSuite
      extended byorg.jboss.test.jmx.compliance.objectname.MalformedSUITE
All Implemented Interfaces:
junit.framework.Test

public class MalformedSUITE
extends junit.framework.TestSuite

Hammer ObjectName, making sure it spots all malformed inputs. This may look like overkill but it's not. I want each permutation to run independantly for full test coverage. This suite has twice as many tests (about 60) as my last testcase - and for that it caught one extra bug for me.

Author:
Trevor Squires.

Nested Class Summary
static class MalformedSUITE.DomainHashtableExtraTEST
           
static class MalformedSUITE.DomainHashtableTEST
           
static class MalformedSUITE.DomainKeyValueTEST
           
static class MalformedSUITE.FullNameTEST
           
 
Field Summary
static String[] BAD_DOMAINS
           
static String[] BAD_FULLNAMES
           
static String[] BAD_KEYS
           
static String[] BAD_VALS
           
static String GOOD_DOMAIN
           
static String GOOD_KEY
           
static String GOOD_VALUE
           
 
Constructor Summary
MalformedSUITE()
           
 
Method Summary
static void main(String[] args)
           
static junit.framework.Test suite()
           
 
Methods inherited from class junit.framework.TestSuite
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GOOD_DOMAIN

public static final String GOOD_DOMAIN
See Also:
Constant Field Values

GOOD_KEY

public static final String GOOD_KEY
See Also:
Constant Field Values

GOOD_VALUE

public static final String GOOD_VALUE
See Also:
Constant Field Values

BAD_KEYS

public static final String[] BAD_KEYS

BAD_VALS

public static final String[] BAD_VALS

BAD_DOMAINS

public static final String[] BAD_DOMAINS

BAD_FULLNAMES

public static final String[] BAD_FULLNAMES
Constructor Detail

MalformedSUITE

public MalformedSUITE()
Method Detail

main

public static void main(String[] args)

suite

public static junit.framework.Test suite()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.