コード例 #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));
 }