Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
vplauzon committed Oct 23, 2023
1 parent 8a6a7fa commit 6140ed8
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using DeltaKustoIntegration.Database;
using DeltaKustoLib.CommandModel;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Xunit;

namespace DeltaKustoAdxIntegrationTest.Policies.RowLevelSecurity
{
public class RowLevelSecurityPolicyTest : AdxAutoIntegrationTestBase
{
protected override string StatesFolderPath => "Policies/RowLevelSecurity";
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.create table MyRowLevelSecurityTable(TIMESTAMP: datetime, PreciseTimeStamp: datetime, Level: int)

.alter table MyRowLevelSecurityTable policy row_level_security disable "MyRowLevelSecurityTable"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Random comment

.create table MyRowLevelSecurityTable(TIMESTAMP: datetime, PreciseTimeStamp: datetime, Level: int)

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.create table MyRowLevelSecurityTable(TIMESTAMP: datetime, PreciseTimeStamp: datetime, Level: int)

.alter table MyRowLevelSecurityTable policy row_level_security enable "MyRowLevelSecurityTable"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.create table MyRowLevelSecurityTable(TIMESTAMP: datetime, PreciseTimeStamp: datetime, Level: int)

.alter table MyRowLevelSecurityTable policy row_level_security enable "MyRowLevelSecurityTable"

.create table MyRowLevelSecurityTable2(Id:string)

.alter table MyRowLevelSecurityTable policy row_level_security enable "MyRowLevelSecurityTable2"

0 comments on commit 6140ed8

Please sign in to comment.