public void TestCreateDropPlSqlBlock() { CollectionAssert.AreEqual( new[] { "create table t (number a, varchar2(10) )", "drop table t", PlSqlBlock.Replace("\r", "").Trim() }, ScriptSplitter.Process(CreateDrop + "\n" + PlSqlBlock).ToArray() ); }
public void TestPlSqlBlock() { CollectionAssert.AreEqual( new[] { PlSqlBlock.Replace("\r", "").Trim() }, ScriptSplitter.Process(PlSqlBlock).ToArray() ); }
public void TestCreateDrop() { CollectionAssert.AreEqual( new[] { "create table t (number a, varchar2(10) )", "drop table t" }, ScriptSplitter.Process(CreateDrop).ToArray() ); }
public void TestSimpleStatement() { CollectionAssert.AreEqual( new[] { SimpleStatement }, ScriptSplitter.Process(SimpleStatement).ToArray() ); }
public void TestPilsql_MultipleStatement_ManyDelim() { CollectionAssert.AreEqual( new[] { NullPilsqlblock, NullPilsqlblock }, ScriptSplitter.Process(NullPilsqlblock + "\n/\n" + "\n/\n" + "\n;\n" + "\n/\n" + NullPilsqlblock).ToArray() ); }
public void TestPilsql_SingleStatement() { CollectionAssert.AreEqual( new[] { NullPilsqlblock }, ScriptSplitter.Process(NullPilsqlblock).ToArray() ); }