public class CodeSetTest
extends junit.framework.TestCase
| Constructor and Description | 
|---|
CodeSetTest()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
setUp()  | 
void | 
testMondrianExceptionThrown_WhenCodeSetContainsNOCodeForDialect()
If SqlQuery.CodeSet contains no sql code with specified dialect at all
 (even 'generic'), the MondrianException should be thrown. 
 | 
void | 
testSucces_CodeSetContainsCodeForBothPostgresAndGenericDialects()
ISSUE MONDRIAN-2335 If SqlQuery.CodeSet contains sql code
 for both dialect="postgres" and dialect="generic",
 the code for dialect="postgres"should be chosen. 
 | 
void | 
testSucces_CodeSetContainsCodeForBothPostgresAndPostgresqlDialects()
ISSUE MONDRIAN-2335 If SqlQuery.CodeSet contains sql code
 for both dialect="postgres" and dialect="postgresql",
 the code for dialect="postgres"should be chosen. 
 | 
void | 
testSucces_CodeSetContainsOnlyCodeForGenericlDialect()
If SqlQuery.CodeSet contains sql code for dialect="generic" ,
 the code for dialect="generic" should be chosen. 
 | 
void | 
testSucces_CodeSetContainsOnlyCodeForPostgresDialect()
ISSUE MONDRIAN-2335 If SqlQuery.CodeSet contains only sql code
 for dialect="postgres", this code should be chosen. 
 | 
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failprotected void setUp()
              throws Exception
setUp in class junit.framework.TestCaseExceptionpublic void testSucces_CodeSetContainsOnlyCodeForPostgresDialect()
                                                          throws Exception
Exceptionpublic void testSucces_CodeSetContainsCodeForBothPostgresAndGenericDialects()
                                                                     throws Exception
Exceptionpublic void testSucces_CodeSetContainsCodeForBothPostgresAndPostgresqlDialects()
                                                                        throws Exception
Exceptionpublic void testSucces_CodeSetContainsOnlyCodeForGenericlDialect()
                                                          throws Exception
Exceptionpublic void testMondrianExceptionThrown_WhenCodeSetContainsNOCodeForDialect()
                                                                     throws Exception
Exception