package com.alibaba.druid.bvt.sql.postgresql;

import com.alibaba.druid.sql.dialect.postgresql.ast.stmt.PGDeleteStatement;
import com.alibaba.druid.sql.dialect.postgresql.ast.stmt.PGFunctionTableSource;
import com.alibaba.druid.sql.dialect.postgresql.ast.stmt.PGSelectQueryBlock.FetchClause;
import com.alibaba.druid.sql.dialect.postgresql.ast.stmt.PGSelectQueryBlock.ForClause;
import com.alibaba.druid.sql.dialect.postgresql.visitor.PGASTVisitorAdapter;

import junit.framework.TestCase;

public class PGASTVisitorAdapterTest extends TestCase {
    public void test_adapter() throws Exception {
        PGASTVisitorAdapter adapter = new PGASTVisitorAdapter();

        new FetchClause().accept(adapter);
        new ForClause().accept(adapter);
        new PGDeleteStatement().accept(adapter);
        new PGFunctionTableSource().accept(adapter);
    }
}
