Adempiere 3.5.2a

org.compiere.model
Class AccessSqlParserTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.compiere.model.AccessSqlParserTest
All Implemented Interfaces:
junit.framework.Test

public class AccessSqlParserTest
extends junit.framework.TestCase

AccessSqlParserTest tests the class AccessSqlParser

Version:
$Id: AccessSqlParserTest.java,v 1.2 2006/07/30 00:58:04 jjanke Exp $
Author:
Jorg Janke

Constructor Summary
AccessSqlParserTest(String name)
          Construct new test instance
 
Method Summary
static void main(String[] args)
          Launch the test.
protected  void setUp()
          Perform pre-test initialization
 void testEmbeddedFrom()
          Run the embeddedFrom test
 void testEmbeddedSelect()
          Run the embeddedSelect test
 void testExists()
          Run the exists test
 void testExistsSyn()
          Run the exists test with syn
 void testHinttech()
           
 void testJoinInner()
          Run the joinInner test
 void testJoinOuter()
          Run the joinOuter test
 void testOneTable()
          Run the oneTable test
 void testOneTableSyn()
          Run the oneTableSyn test
 void testOneTableSynAS()
          Run the oneTableSyn test
 void testProductAttributeQuery()
          Run the Product Attribute Query
 void testProductInstanceAttributeQuery()
          Run the Product & Instance Attribute Query
 void testTableNameParsing()
          teo_sarca - [ 1652623 ] AccessSqlParser.getTableInfo(String) - tablename parsing bug teo_sarca - [ 1964496 ] AccessSqlParser is not parsing well JOIN CLAUSE
 void testTwoTable()
          Run the twoTable test
 void testTwoTableSyn()
          Run the twoTableSyn test
 
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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccessSqlParserTest

public AccessSqlParserTest(String name)
Construct new test instance

Parameters:
name - the test name
Method Detail

main

public static void main(String[] args)
Launch the test.

Parameters:
args - String[]

setUp

protected void setUp()
              throws Exception
Perform pre-test initialization

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception
See Also:
TestCase.setUp()

testOneTable

public void testOneTable()
Run the oneTable test


testOneTableSyn

public void testOneTableSyn()
Run the oneTableSyn test


testOneTableSynAS

public void testOneTableSynAS()
Run the oneTableSyn test


testTwoTable

public void testTwoTable()
Run the twoTable test


testTwoTableSyn

public void testTwoTableSyn()
Run the twoTableSyn test


testJoinInner

public void testJoinInner()
Run the joinInner test


testJoinOuter

public void testJoinOuter()
Run the joinOuter test


testExists

public void testExists()
Run the exists test


testExistsSyn

public void testExistsSyn()
Run the exists test with syn


testEmbeddedSelect

public void testEmbeddedSelect()
Run the embeddedSelect test


testEmbeddedFrom

public void testEmbeddedFrom()
Run the embeddedFrom test


testProductInstanceAttributeQuery

public void testProductInstanceAttributeQuery()
Run the Product & Instance Attribute Query


testProductAttributeQuery

public void testProductAttributeQuery()
Run the Product Attribute Query


testHinttech

public void testHinttech()

testTableNameParsing

public void testTableNameParsing()
  • teo_sarca - [ 1652623 ] AccessSqlParser.getTableInfo(String) - tablename parsing bug
  • teo_sarca - [ 1964496 ] AccessSqlParser is not parsing well JOIN CLAUSE


  • Adempiere 3.5.2a

    Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.