public void TestFindTableNameFunctionNoSpaceAndEvaluate() { Assert.AreEqual("table", DaxLineParser.GetPreceedingTableName("evaluate filter(table")); }
public void TestFindTableNameQuotedFunctionNoSpaceAndOperator() { Assert.AreEqual("table2", DaxLineParser.GetPreceedingTableName("filter(table, table1[col1]='table2")); }
public void TestFindTableNameFunctionWithUnderscores() { Assert.AreEqual("Dim_D", DaxLineParser.GetPreceedingTableName("filter(Dim_D")); }
public void TestFindTableNameSimple() { Assert.AreEqual("table", DaxLineParser.GetPreceedingTableName("filter( table")); Assert.AreEqual("table2", DaxLineParser.GetPreceedingTableName("evaluate filter( table2")); }
public void TestFindTableNameEuropeanListSeparator() { Assert.AreEqual("table1", DaxLineParser.GetPreceedingTableName("filter(table;table1[col1")); }
public void TestFindTableNameUsListSeparator() { Assert.AreEqual("table1", DaxLineParser.GetPreceedingTableName("filter(table, table1[")); }