/*
 * Stratio Meta
 *
 * Copyright (c) 2014, Stratio, All rights reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3.0 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library.
 */

package com.stratio.meta.core.validator.statements;

import com.stratio.meta.core.validator.BasicValidatorTest;
import org.testng.annotations.Test;

public class ListStatementTest extends BasicValidatorTest {

    @Test
    public void validateNotSupported(){
        String inputText = "LIST PROCESS;";
        validateFail(inputText, "validateNotSupported");
    }
}
/*
 * Stratio Meta
 *
 * Copyright (c) 2014, Stratio, All rights reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3.0 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library.
 */

package com.stratio.meta.core.validator.statements;

import com.stratio.meta.core.validator.BasicValidatorTest;
import org.testng.annotations.Test;

public class ListStatementTest extends BasicValidatorTest {

    @Test
    public void validateOk(){
        String inputText = "LIST PROCESS;";
      validateOk(inputText, "validateNotSupported");
    }
  @Test
  public void validateNotSopportedTriggerYet(){

    String inputText = "LIST TRIGGER;";
    validateFail(inputText, "NotSupportTriggerYet");
  }
  @Test
  public void validateNotSopportedUdfYet(){

    String inputText = "LIST UDF;";
    validateFail(inputText, "NotSupportUdfYet");
  }
}
Test List Process.