예제 #1
0
 def test_101_InsertDeleteFieldCount(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_101)
 def test_039_FetchRowIndexPosNested_02(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_039)
예제 #3
0
 def test_300_ServerInfo(self):
   obj = IbmDbTestFunctions()
   obj.assert_expectf(self.run_test_300)
 def test_144_BindParamInsertStmtPARAM_FILE(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_144)
 def test_012_KeysetDrivenCursorSelect01(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_012)
 def test_162_FetchBothNestedSelects_02(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_162)
 def test_082_ConnWrongPwd(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_082)
예제 #8
0
 def test_200_MultipleRsltsetsUniformColDefs(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_200)
     self.maxDiff = None
 def test_InsertRetrieveDateTimeTypeColumn(self):
     obj = IbmDbTestFunctions()
     obj.assert_expectf(self.run_test_InsertRetrieveDateTimeTypeColumn)
 def test_005_ConnBadUserBadPwd(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_005)
 def test_082_ConnWrongPwd(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_082)
 def test_148_CallSPDiffBindPattern_01(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_148)
예제 #13
0
 def test_recreateDB(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_recreateDB)
예제 #14
0
 def test_bool_callproc(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_bool_callproc)
	def test_trusted_context_connect(self):
		obj = IbmDbTestFunctions()
		obj.assert_expectf(self.run_test_trusted_context_connect)
예제 #16
0
 def test_008_ColumnInfo(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_008)
 def test_022_RollbackInsert(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_022)
예제 #18
0
 def test_decfloat(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_decfloat)
 def test_145_BindRetrieveNoneEmptyString(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_145)
예제 #20
0
 def test_execute_many(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_execute_many)
 def test_102_NumFieldsSelect_01(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_102)
예제 #22
0
 def test_054_CursorType(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_054)
 def test_008_ColumnInfo(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_008)
예제 #24
0
 def test_024_ForeignKeys(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_024)
 def test_201_MultipleRsltsetsDiffColDefs(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_201)
 def test_006_ConnPassingOpts(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_006)
예제 #27
0
 def test_040_FetchTuple(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_040)
예제 #28
0
 def test_231_FieldTypeName(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_231)
 def test_221_100PersistentConns(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_221)
예제 #30
0
 def test_createdbNX(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_createdbNX)
 def test_133_ExecuteLongInputParams(self):
   obj = IbmDbTestFunctions()
   obj.assert_expectf(self.run_test_133)
 def test_049_InsertNoneParam(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_049)
 def test_031_ResultIndexPosition(self):
    obj = IbmDbTestFunctions()
    obj.assert_expect(self.run_test_031)
 def test_createdbNX(self):
     obj = IbmDbTestFunctions()
     if ((obj.server.DBMS_NAME == "DB2")
             or (obj.server.DBMS_NAME[0:3] != "DB2")):
         raise unittest.SkipTest("createdbNX not Supported")
     obj.assert_expect(self.run_test_createdbNX)
예제 #35
0
 def test_034_FetchAssoc(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_034)
 def test_125_FieldNamePos_03(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_125)
 def test_265_NoAffectedRows(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_265)
예제 #38
0
 def test_191_ColumnsTable_02(self):
     obj = IbmDbTestFunctions()
     obj.assert_expectf(self.run_test_191)
 def test_017_selectRowcountPrefetchSTMTOpt(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_017)
 def test_103_NumFieldsSelect_02(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_103)
 def test_6528_ScopingProblemBindParam(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_6528)
예제 #42
0
 def test_033_ResultOutSequenceColumn(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_033)
 def test_155_FetchAssocSelect_05(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_155)
예제 #44
0
 def test_155_FetchAssocSelect_05(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_155)
예제 #45
0
 def test_116_ConnActive(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_116)
 def test_017_selectRowcountPrefetchSTMTOpt(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_017)
 def test_062_Tables_03(self):
   obj = IbmDbTestFunctions()
   obj.assert_expectf(self.run_test_062)
 def test_141_BindParamSelectStmtMultipleParams_01(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_141)
 def test_6561_InsertNULLValues(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_6561)
 def test_048_FetchTupleBinaryData_02(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_048)
 def test_131_PrepareExecuteSelectStatementParams(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_131)
 def test_311_InsertSelectDeleteNumLiterals(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_311)
 def test_044_FetchTupleMany_04(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_044)
예제 #54
0
 def test_180_StmtErrMsg(self):
     obj = IbmDbTestFunctions()
     obj.assert_expectf(self.run_test_180)
예제 #55
0
 def test_createDropDB(self):
     obj = IbmDbTestFunctions()
     if (obj.server.DBMS_NAME == "DB2") or (obj.server.DBMS_NAME[0:3] != "DB2"):
         raise unittest.SkipTest("createdb, dropdb not Supported")
     obj.assert_expect(self.run_test_createDropDB)
예제 #56
0
 def test_251_FreeResult_02(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_251)
 def test_025_PrimaryKeys(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_025)
예제 #58
0
 def test_035_FetchRow_01(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_035)
 def test_091_ConnmsgWrongUser(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_091)
예제 #60
0
 def test_SPInOutZero(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_SPInOutZero)