【正文】
if(=) then begin 。 (39。++39。)。 showmessage(39。)。 end else showmessage(39。)。原始密碼錯(cuò)誤 39。 測(cè)試要點(diǎn) 對(duì)商品編碼入庫(kù)程序進(jìn)行測(cè)試,利用測(cè)試用例填入表單,對(duì)其進(jìn)行數(shù)據(jù)庫(kù)數(shù)據(jù)存儲(chǔ)測(cè)試,看看所填數(shù)據(jù)能否存入數(shù)據(jù)表中。 跟測(cè)試用例是否相符,相符則功能能夠?qū)崿F(xiàn),測(cè)試成功。 在模塊測(cè)試時(shí)我們主要從以下幾個(gè)方面考慮: 1. 模塊接口 2. 局部數(shù)據(jù)結(jié)構(gòu) 3. 重要執(zhí)行通道 4. 出錯(cuò)處理通道 5. 影響上述方面的邊界條件 測(cè)試時(shí)進(jìn)行代碼審查,從數(shù)據(jù)類(lèi)型,變量聲明,數(shù)據(jù)結(jié)構(gòu)進(jìn)行審查,然后進(jìn)行功能測(cè)試,從輸入一些簡(jiǎn)單的數(shù) 據(jù)開(kāi)始執(zhí)行一遍,觀測(cè)運(yùn)行期間變量的變化,運(yùn)行中值的變化范圍。 前臺(tái)模塊的測(cè)試 用戶登錄的測(cè)試 : 管理員輸入正確的用戶名和密碼 ,如輸入測(cè)試用例用戶名 001,密碼 00,則可自動(dòng)跳轉(zhuǎn)到銷(xiāo)售界面 。 (功能運(yùn)行正常) 銷(xiāo)售主頁(yè)面的測(cè)試 : 輸入正確的 ,存在的商品條碼 ,和數(shù)量 ,系統(tǒng)將從數(shù)據(jù)庫(kù)調(diào)出數(shù)據(jù) ,顯示相應(yīng)信息在下方導(dǎo)航框內(nèi) ,并在應(yīng)收金額 出現(xiàn)相應(yīng)價(jià)格計(jì)算總和 .若輸入錯(cuò)誤的條碼 ,則會(huì)彈出錯(cuò)誤提示框 。 (功能運(yùn)行正常) 后臺(tái)模塊的測(cè)試 采購(gòu)入庫(kù)的測(cè)試 : 若輸入存在的條碼 ,點(diǎn) ENTER,則會(huì)自動(dòng)調(diào)出相應(yīng)商品信息 ,輸入數(shù)量后點(diǎn)確定 ,則成功入庫(kù) ,若輸入錯(cuò)誤條碼 ,或不存在的條碼 ,則會(huì)彈出錯(cuò)誤提示框 。(功能運(yùn)行正常) 修改密碼的測(cè)試 : 用戶成功進(jìn)入自己的角色,就可以進(jìn)行密碼的修改了(功能運(yùn)行正常) 總體測(cè)試是組裝軟件的系統(tǒng)技術(shù),本系統(tǒng)測(cè)試采用漸增集成測(cè)試,即測(cè)試單一模塊,將測(cè)試完的模塊加入系統(tǒng)中,進(jìn)行一次系統(tǒng)測(cè)試,依次類(lèi)推將所有模塊加入系統(tǒng)中,在具體測(cè)試時(shí) ,采用自頂向下的結(jié)合方式,從主控模塊開(kāi)始,沿各控制層向下移動(dòng), 把所有模塊結(jié)合了。在這次編程的過(guò)程中,我查閱了大量的書(shū)籍,在網(wǎng)上也查了不少資料,使我的編程水平有了大幅度的提高。使用 Delphi 提供的 ADO 數(shù)據(jù)庫(kù)操作組件實(shí)現(xiàn)了對(duì)數(shù)據(jù)庫(kù)的各項(xiàng)操作,也熟悉了 Delphi 的開(kāi)發(fā)應(yīng)用環(huán)境和軟件開(kāi)發(fā)的一般流 程??傊?,這次的畢業(yè)設(shè)計(jì)使我的軟件設(shè)計(jì)水平有了巨大的提高 。 [ 2] Macro Cantu. Delphi 2021 從入門(mén)到精通 [M].北京: 電子工業(yè)出版社 [ 3] 啟明工作室. Delphi + SQL Server數(shù)據(jù)庫(kù)應(yīng)用系統(tǒng)開(kāi)發(fā)與實(shí)例 [M].北京: 人民郵電出版社。 [ 5] 宋坤,鄒天思. Delphi數(shù)據(jù)庫(kù)系統(tǒng)開(kāi)發(fā)完全手冊(cè) [M].北京: 人民郵電出版社。在此,感謝 游洪躍 老師和盛志偉老師的精心指導(dǎo)。在實(shí)習(xí)過(guò)程中,我也遇到了一些困難,主要表現(xiàn)了技術(shù)和經(jīng)驗(yàn)的欠缺,但通過(guò)努力和老師的指導(dǎo),終于一一克服了。文中除了特別加以標(biāo)注地方外,不包含他人已經(jīng)發(fā)表或撰寫(xiě)過(guò)的研究成果,也不包含為獲得成都信息工程學(xué)院或其他教學(xué)機(jī)構(gòu)的學(xué)位或證書(shū)而使用過(guò)的材料。 關(guān)于學(xué)位論文使用權(quán)和研究成果知識(shí)產(chǎn)權(quán)的說(shuō)明 本人完全了解成都信息工程學(xué)院有關(guān)保管使用學(xué)位論文的規(guī)定,其中包括 : ( 1)學(xué)校有權(quán)保管并向有關(guān)部門(mén)遞交學(xué)位論文的原件與復(fù)印件。 ( 3)學(xué)??梢詫W(xué)術(shù)交流為目的復(fù)制、贈(zèng)送和交換學(xué)位論文。 ( 5)學(xué)??梢怨紝W(xué)位論文的全部或部分內(nèi)容(保密學(xué)位論文在解密后遵守此規(guī)定)。 特此聲明! 作者簽名: 年 月 日 Are you hungry now? No, I am tired and lazy now。 words, realizing that they were a signal, he turned and began to run, splashing through the shallow water. Ignacio ran after him, much helped by his longer legs, his hair flying behind his dark young face, his square teetheach white as a bone and as big as Nicholas39。t run, N icholas, Dr. Island said with the voice of a wave. It only makes him angry that you run. N icholas did not answer, but cut to his left, up the beach and among the trunks of the palms, sprinting all the way because he had no way of knowing Ignacio was not right behind him, about to grab him by the neck. When he stopped it was in the thick jungle, among the boles of the hardwoods, where he leaned,.。 . sound in an atmosphere silent and unwa ked as Earth39。 there was none. He drew a deep breath then and said, Well, that39。 there was only the green hush. The light was still bright and strong and nearly, shadowless, but some interior sense told him the day, was nearly ove r, and he noticed that such faint shades as he could see stretched long, hor izontal distortions of their objects. He felt no hunger, but he had fasted be39。 he was not as strong as he had been only a day past, and by this time next day he would probably be unable to outrun Ignacio. He should, he now realized, have eaten the monkey he had ki lled。 he remembered his effort to open a coconuthe had failed, but it was surely not impossible. His mind was hazy as to what a coconut might contain, but there had to be an edible core, because they were eaten in books. He decided to make a wide sweep through the jungle that would bring him back to the beach well away from Ignacio。s head。 had Dr. Island used that sound to speak to him? He walked toward it and found a little rill that threaded a way among the trees, and followed it. In a hundred steps it grew broader, slowed, and ended in a long blind pool under a dome of leaves. . Diane was sitting on moss on the side opposite him。t mistaken after all, was I? I didn39。s Nicholas, and I called you. Then I thought I might be wrong, or that it might be Ignacio. Ignacio was chasing me. Maybe he still is, but h think he39。s a bit frightened of us. Have you ever talked to him, Nicholas? Today I did a little. He told me a story about a pet fish he used to have. Ignacio grew up all alone。s emptie than it used to be. Where Ignacio was, there would have been Red Indian hunters two or three hundred years ago。t anyone,` just the m achines. Now he doesn39。t want anyone around him. Nicholas said slowly, Dr. Island said lots of people wouldn39。t other people around all the time . Remember that? a Only there. are other people around all the time。s how the world is. Not in Brazil, maybe, Nicholas said. He was trying to remember something about Brazil, but the only thing he could think of was a parrot singing in a straw hat from the view cartoons。t he stay there? Did I tell you about the bird, Nicholas? She had been not listening again. What bird? I have a bird. Inside. She patted the flat stomach below her small breasts, and for a moment, Nicholas thought she had really found food. She sits in here. She has tangled a nest in my entrails, where she sits and tears at my breath with her beak. I look healthy to you, don39。m hollow and rotten and turning brown, dirt and old feathers, oozing away. Her beak will break through soon. Okay. Nicholas turned to go. I39。ve swallowed so much I couldn39。t even wet, and do you know something, N icholas? I39。m not really me, I39。t know. Two, three days ago. Ignacio gave me something. I39。ll bring you back some. When he reached the beach, Nicholas turned and walked slowly bac k in the direction of the dead fire, this time along the rim of dampened sand between the sea and the palms. He was thinking about machines. There were hundreds of thousands, perhaps millions, of machines out beyond the belt, but few or none of the sophisticated servant robots of Earththose were luxuries. Would Ignacio, in Brazil (whatever that was like), have had such luxuries ? N icholas thought not。s。 pulsive sweeping and scrubbing palliate its anxieties. It is a strength of Freud3