org.eigenbase.test
Class SqlTestGen.SqlValidatorSpooler

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.eigenbase.test.SqlValidatorTestCase
              extended by org.eigenbase.test.SqlValidatorTest
                  extended by org.eigenbase.test.SqlTestGen.SqlValidatorSpooler
All Implemented Interfaces:
Test
Enclosing class:
SqlTestGen

private static class SqlTestGen.SqlValidatorSpooler
extends SqlValidatorTest

Subversive subclass, which spools restuls to a writer rather than running tests. It is not a valid JUnit test because it does not have a public constructor.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eigenbase.test.SqlValidatorTestCase
SqlValidatorTestCase.Tester, SqlValidatorTestCase.TesterImpl
 
Field Summary
private  PrintWriter pw
           
 
Fields inherited from class org.eigenbase.test.SqlValidatorTest
logger, todo, todoTypeInference
 
Fields inherited from class org.eigenbase.test.SqlValidatorTestCase
NL, tester
 
Constructor Summary
private SqlTestGen.SqlValidatorSpooler(String testName, PrintWriter pw)
           
 
Method Summary
 SqlValidatorTestCase.Tester getTester(SqlConformance conformance)
          Returns a tester.
 
Methods inherited from class org.eigenbase.test.SqlValidatorTest
_testAmbiguousColumnInIn, _testCharsetAndCollateMismatch, _testConvertAndTranslate, _testDyadicCollateCompare, _testDyadicCollateOperator, _testDyadicCompareCollateFails, _testGroupExpressionEquivalenceCorrelated, _testGroupExpressionEquivalenceParams, _testJoinUsing, _testLikeAndSimilarFails, _testSimpleCollate, _testSubqueryInOnClause, _testValuesWithAggFuncs, _testWinPartClause, checkWin, checkWinClauseExp, checkWinFuncExp, checkWinFuncExpWithWinClause, subTestIntervalDayNegative, subTestIntervalDayPositive, subTestIntervalDayToHourNegative, subTestIntervalDayToHourPositive, subTestIntervalDayToMinuteNegative, subTestIntervalDayToMinutePositive, subTestIntervalDayToSecondNegative, subTestIntervalDayToSecondPositive, subTestIntervalHourNegative, subTestIntervalHourPositive, subTestIntervalHourToMinuteNegative, subTestIntervalHourToMinutePositive, subTestIntervalHourToSecondNegative, subTestIntervalHourToSecondPositive, subTestIntervalMinuteNegative, subTestIntervalMinutePositive, subTestIntervalMinuteToSecondNegative, subTestIntervalMinuteToSecondPositive, subTestIntervalMonthNegative, subTestIntervalMonthPositive, subTestIntervalSecondNegative, subTestIntervalSecondPositive, subTestIntervalYearNegative, subTestIntervalYearPositive, subTestIntervalYearToMonthNegative, subTestIntervalYearToMonthPositive, testAggregateInGroupByFails, testAggregateInOrderByFails, testAmbiguousColumn, testAndOrIllegalTypesFails, testArithmeticOperators, testArithmeticOperatorsFails, testAsColumnList, testBetween, testBinaryString, testBinaryStringFails, testBind, testBooleans, testCardinality, testCaseExpression, testCaseExpressionFails, testCaseExpressionTypes, testCastBinaryLiteral, testCastFails, testCastToInterval, testCastTypeToType, testCharLength, testCharsetMismatch, testCoalesce, testCoalesceFails, testCoalesceWithoutRewrite, testCoalesceWithRewrite, testCollect, testCollectionTable, testCollectionTableWithCursorParam, testConcat, testConcatFails, testConcatWithCharset, testCorrelatingVariables, testCorrelationJoin, testCountFunction, testCrossJoinOnFails, testCrossJoinUsingFails, testDateTime, testDateTimeCast, testDoubleNoAlias, testDuplicateColumnAliasIsOK, testDuplicateTableAliasFails, testElement, testEqualNotEqual, testEqualNotEqualFails, testExpandStar, testExplicitTable, testExtract, testFloorCeil, testFromReferenceFails, testFunctionalDistinct, testFusion, testGroup, testGroupAgg, testGroupByCorrelatedColumnFails, testGroupExpressionEquivalence, testGroupExpressionEquivalenceId, testGroupExpressionEquivalenceLiteral, testGroupExpressionEquivalenceStringLiteral, testHaving, testHavingBetween, testInlineWinDef, testInList, testInnerJoinWithoutUsingOrOnFails, testInSubquery, testIntervalCompare, testIntervalLiterals, testIntervalMillisConversion, testIntervalMonthsConversion, testIntervalOperators, testIntervalTimeUnitEnumeration, testInvalidFunction, testInvalidGroupBy, testIs, testIsASet, testIsFails, testJdbcFunctionCall, testJoinRowType, testJoinUsing, testJoinUsingDupColsFails, testJoinUsingIncompatibleDatatype, testJoinUsingInvalidColsFails, testLarge, testLastFunction, testLateral, testLikeAndSimilar, testMemberOf, testMinMaxFunctions, testMinusDateOperator, testMultipleDifferentAs, testMultipleSameAsPass, testMultiset, testMultisetSetOperators, testNameResolutionInValuesClause, testNaturalCrossJoinFails, testNaturalJoinIncompatibleDatatype, testNaturalJoinWithOnFails, testNaturalJoinWithUsing, testNestedAggFails, testNestedFrom, testNew, testNotIllegalTypeFails, testNull, testNullCast, testNullIf, testNumbers, testNumericOperators, testObscuredAliasFails, testOn, testOneWinFunc, testOrder, testOrderGroup, testOrderUnion, testOverlaps, testOverlay, testPartitionByExpr, testPosition, testPrefix, testQuotedFunction, testRecordType, testRewriteWithColumnReferenceExpansion, testRewriteWithColumnReferenceExpansionAndFromAlias, testRewriteWithIdentifierExpansion, testRewriteWithoutIdentifierExpansion, testRow, testRowtype, testSample, testScalars, testScalarsFails, testScalarSubQuery, testSelectDistinct, testSingleNoAlias, testStringCompare, testStringCompareType, testStringLiteral, testStringLiteralBroken, testStructuredTypes, testSubMultisetOf, testSubstring, testSubstringFails, testTrim, testTrimFails, testTypeOfAs, testTypesLiterals, testUnionCountMismatchFails, testUnionCountMismatcWithValuesFails, testUnionNameResolution, testUnionTypeMismatchFails, testUnionTypeMismatchWithStarFails, testUnionTypeMismatchWithValuesFails, testUnnest, testUpperLower, testValuesRewrite, testValuesTypeMismatchFails, testWhere, testWhereReference, testWindowClause, testWindowClause2, testWindowClauseWithSubquery, testWindowFunctions, testWindowNegative, testWindowPartial
 
Methods inherited from class org.eigenbase.test.SqlValidatorTestCase
assertExceptionIsThrown, check, checkCharset, checkCollation, checkColumnType, checkEx, checkExp, checkExpFails, checkExpType, checkFails, checkIntervalConv, checkResultType, checkWholeExpFails
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pw

private final PrintWriter pw
Constructor Detail

SqlTestGen.SqlValidatorSpooler

private SqlTestGen.SqlValidatorSpooler(String testName,
                                       PrintWriter pw)
Method Detail

getTester

public SqlValidatorTestCase.Tester getTester(SqlConformance conformance)
Description copied from class: SqlValidatorTestCase
Returns a tester. Derived classes should override this method to run the same set of tests in a different testing environment.

Overrides:
getTester in class SqlValidatorTestCase
Parameters:
conformance - Language version tests should check compatibility with