예제 #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void verify()
        public virtual void Verify()
        {
            QueryExecutionType executionType = _expected.type();

            assertEquals(_expected.isProfiled, executionType.Profiled);
            assertEquals(_expected.requestedExecutionPlanDescription, executionType.RequestedExecutionPlanDescription());
            assertEquals(_expected.isExplained, executionType.Explained);
            assertEquals(_expected.canContainResults, executionType.CanContainResults());
            assertEquals(_expected.canUpdateData, executionType.CanUpdateData());
            assertEquals(_expected.canUpdateSchema, executionType.CanUpdateSchema());
        }
예제 #2
0
 private static Assumptions ThatQueryOf(QueryExecutionType type)
 {
     return(new Assumptions(type, true));
 }
예제 #3
0
 internal Assumptions(QueryExecutionType type, bool convertToQuery)
 {
     this.TypeConflict   = type;
     this.ConvertToQuery = convertToQuery;
 }
예제 #4
0
 private static Assumptions That(QueryExecutionType type)
 {
     return(new Assumptions(type, false));
 }