org.alfresco.util.schemacomp
Class SchemaReferenceFileTest

java.lang.Object
  extended by org.alfresco.util.schemacomp.SchemaReferenceFileTest

public class SchemaReferenceFileTest
extends java.lang.Object

Test intended for use in the continuous integration system that checks whether the schema reference file (for whichever database the tests are being run against) is in sync with the actual schema. If the test fails (and the schema comparator is in working order) then the most likely cause is that a new up-to-date schema reference file needs to be created.

Schema reference files are created using the DbToXML tool.

Note: if no reference file exists then the test will pass, this is to allow piece meal introduction of schmea reference files.

See Also:
DbToXML

Constructor Summary
SchemaReferenceFileTest()
           
 
Method Summary
 void checkReferenceFile()
           
 void setUp()
           
 void tearDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaReferenceFileTest

public SchemaReferenceFileTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

public void tearDown()

checkReferenceFile

public void checkReferenceFile()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.