org.jboss.test.jmx.compliance.loading
Class MLetTEST

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jboss.test.jmx.compliance.loading.MLetTEST
All Implemented Interfaces:
junit.framework.Test

public class MLetTEST
extends junit.framework.TestCase

MLet tests.

Author:
Juha Lindfors

Constructor Summary
MLetTEST(String s)
           
 
Method Summary
protected  void checkResult(Set result)
           
protected  void setUp()
           
 void testArchiveListInMLet()
           
 void testBasicMLetFileLoad()
           
 void testConflictingMLetFileLoad()
          Make sure the versioning MLet installer won't replace MBeans that were not registered with version information.
 void testCreateAndRegister()
           
 void testMalformedURLLoad()
           
 void testMissingEndMLetTag()
           
 void testMissingMandatoryArchiveTagInLoad()
           
 void testMissingMandatoryCodeTagInLoad()
           
 void testMissingMLetTagInLoad()
           
 void testMLetLoadClassFromURLInConstructor()
           
 void testUnexpectedEndOfFile()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MLetTEST

public MLetTEST(String s)
         throws Exception
Method Detail

setUp

protected void setUp()
              throws Exception
Throws:
Exception

testCreateAndRegister

public void testCreateAndRegister()
                           throws Exception
Throws:
Exception

testMLetLoadClassFromURLInConstructor

public void testMLetLoadClassFromURLInConstructor()
                                           throws Exception
Throws:
Exception

testBasicMLetFileLoad

public void testBasicMLetFileLoad()
                           throws Exception
Throws:
Exception

testConflictingMLetFileLoad

public void testConflictingMLetFileLoad()
                                 throws Exception
Make sure the versioning MLet installer won't replace MBeans that were not registered with version information.

Throws:
Exception

testMalformedURLLoad

public void testMalformedURLLoad()
                          throws Exception
Throws:
Exception

testMissingMLetTagInLoad

public void testMissingMLetTagInLoad()
                              throws Exception
Throws:
Exception

testMissingMandatoryArchiveTagInLoad

public void testMissingMandatoryArchiveTagInLoad()
                                          throws Exception
Throws:
Exception

testMissingMandatoryCodeTagInLoad

public void testMissingMandatoryCodeTagInLoad()
                                       throws Exception
Throws:
Exception

testArchiveListInMLet

public void testArchiveListInMLet()
                           throws Exception
Throws:
Exception

testUnexpectedEndOfFile

public void testUnexpectedEndOfFile()
                             throws Exception
Throws:
Exception

testMissingEndMLetTag

public void testMissingEndMLetTag()
                           throws Exception
Throws:
Exception

checkResult

protected void checkResult(Set result)


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