test.java package lab22; import org.junit.Test; import org.openqa.selenium.By; import static org.junit.Assert.*; import java.io.BufferedReader; import java.io.FileReader; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; import java.util.ArrayList; public class test { public String[] getStudNum(){ String[] studNum =new String[118]; try{ BufferedReader reader = new BufferedReader(new FileReader("d:\Downloads\inputgit.csv"));//换成你的文件名 reader.readLine();//第一行信息,为标题信息,不用,如果需要,注释掉 String line = null; int m = 0; while((line=reader.readLine())!=null){ String item[] = line.split(",");//CSV格式文件为逗号分隔符文件,这里根据逗号切分 String num = item[0];//last代表了github地址 studNum[m] = num; m++; } reader.close(); } catch (Exception e) { e.printStackTrace(); } return studNum; } public String[] getStudPwd(){ String[] studpwd =new String[118]; try{ BufferedReader reader = new BufferedReader(new FileReader("d:\Downloads\inputgit.csv"));//换成你的文件名 reader.readLine();//第一行信息,为标题信息,不用,如果需要,注释掉 String line = null; int m = 0; while((line=reader.readLine())!=null){ String item[] = line.split(",");//CSV格式文件为逗号分隔符文件,这里根据逗号切分 String num = item[0];//last代表了github地址 String pwd = num.substring(4, 10); studpwd[m] = pwd; m++; } } catch (Exception e) { e.printStackTrace(); } return studpwd; } public String[] getStudAdd(){ String[] studadd =new String[118]; try{ BufferedReader reader = new BufferedReader(new FileReader("d:\Downloads\inputgit.csv"));//换成你的文件名 reader.readLine();//第一行信息,为标题信息,不用,如果需要,注释掉 String line = null; int m = 0; while((line=reader.readLine())!=null){ String item[] = line.split(",");//CSV格式文件为逗号分隔符文件,这里根据逗号切分 String last = item[2];//last代表了github地址 studadd[m] = last; m++; } } catch (Exception e) { e.printStackTrace(); } return studadd; } public int equals(String num, String pwdd,String add) { //如果火狐浏览器没有默认安装在C盘,需要制定其路径 //System.setProperty("webdriver.firefox.bin", "D:/Program Files/Mozilla firefox/firefox.exe"); System.setProperty("webdriver.firefox.bin", "C:\Program Files\Firefox\firefox.exe"); WebDriver driver = new FirefoxDriver(); driver.get("http://121.193.130.195:8080/"); driver.manage().window().maximize(); WebElement name = driver.findElement(By.id("name")); name.sendKeys(num); WebElement pwd = driver.findElement(By.id("pwd")); pwd.sendKeys(pwdd); WebElement btn = driver.findElement(By.id("submit")); btn.click(); String conten = driver.findElement(By.id("table-main")).findElement(By.xpath("//tr[3]")).findElement(By.xpath("td[2]")).getText(); driver.close(); if(add.equals(conten)){ System.out.println("学号"+" "+num+" "+"CSV文件和网络GITHUB地址验证相同"); return 1; }else return 0; } }
testCase.java package lab22; import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.Test; public class testTest { @Before public void setUp() { System.out.println("---begin test---"); } @Test public void test0() {test mot0 = new test();String[] address= mot0.getStudAdd();String[] num= mot0.getStudNum();String[] pwd = mot0.getStudPwd();assertEquals(1,mot0.equals(num[0],pwd[0],address[0]));} @Test public void test1() {test mot1 = new test();String[] address= mot1.getStudAdd();String[] num= mot1.getStudNum();String[] pwd = mot1.getStudPwd();assertEquals(1,mot1.equals(num[1],pwd[1],address[1]));} @Test public void test2() {test mot2 = new test();String[] address= mot2.getStudAdd();String[] num= mot2.getStudNum();String[] pwd = mot2.getStudPwd();assertEquals(1,mot2.equals(num[2],pwd[2],address[2]));} @Test public void test3() {test mot3 = new test();String[] address= mot3.getStudAdd();String[] num= mot3.getStudNum();String[] pwd = mot3.getStudPwd();assertEquals(1,mot3.equals(num[3],pwd[3],address[3]));} @Test public void test4() {test mot4 = new test();String[] address= mot4.getStudAdd();String[] num= mot4.getStudNum();String[] pwd = mot4.getStudPwd();assertEquals(1,mot4.equals(num[4],pwd[4],address[4]));} @Test public void test5() {test mot5 = new test();String[] address= mot5.getStudAdd();String[] num= mot5.getStudNum();String[] pwd = mot5.getStudPwd();assertEquals(1,mot5.equals(num[5],pwd[5],address[5]));} @Test public void test6() {test mot6 = new test();String[] address= mot6.getStudAdd();String[] num= mot6.getStudNum();String[] pwd = mot6.getStudPwd();assertEquals(1,mot6.equals(num[6],pwd[6],address[6]));} @Test public void test7() {test mot7 = new test();String[] address= mot7.getStudAdd();String[] num= mot7.getStudNum();String[] pwd = mot7.getStudPwd();assertEquals(1,mot7.equals(num[7],pwd[7],address[7]));} @Test public void test8() {test mot8 = new test();String[] address= mot8.getStudAdd();String[] num= mot8.getStudNum();String[] pwd = mot8.getStudPwd();assertEquals(1,mot8.equals(num[8],pwd[8],address[8]));} @Test public void test9() {test mot9 = new test();String[] address= mot9.getStudAdd();String[] num= mot9.getStudNum();String[] pwd = mot9.getStudPwd();assertEquals(1,mot9.equals(num[9],pwd[9],address[9]));} @Test public void test10() {test mot10 = new test();String[] address= mot10.getStudAdd();String[] num= mot10.getStudNum();String[] pwd = mot10.getStudPwd();assertEquals(1,mot10.equals(num[10],pwd[10],address[10]));} @Test public void test11() {test mot11 = new test();String[] address= mot11.getStudAdd();String[] num= mot11.getStudNum();String[] pwd = mot11.getStudPwd();assertEquals(1,mot11.equals(num[11],pwd[11],address[11]));} @Test public void test12() {test mot12 = new test();String[] address= mot12.getStudAdd();String[] num= mot12.getStudNum();String[] pwd = mot12.getStudPwd();assertEquals(1,mot12.equals(num[12],pwd[12],address[12]));} @Test public void test13() {test mot13 = new test();String[] address= mot13.getStudAdd();String[] num= mot13.getStudNum();String[] pwd = mot13.getStudPwd();assertEquals(1,mot13.equals(num[13],pwd[13],address[13]));} @Test public void test14() {test mot14 = new test();String[] address= mot14.getStudAdd();String[] num= mot14.getStudNum();String[] pwd = mot14.getStudPwd();assertEquals(1,mot14.equals(num[14],pwd[14],address[14]));} @Test public void test15() {test mot15 = new test();String[] address= mot15.getStudAdd();String[] num= mot15.getStudNum();String[] pwd = mot15.getStudPwd();assertEquals(1,mot15.equals(num[15],pwd[15],address[15]));} @Test public void test16() {test mot16 = new test();String[] address= mot16.getStudAdd();String[] num= mot16.getStudNum();String[] pwd = mot16.getStudPwd();assertEquals(1,mot16.equals(num[16],pwd[16],address[16]));} @Test public void test17() {test mot17 = new test();String[] address= mot17.getStudAdd();String[] num= mot17.getStudNum();String[] pwd = mot17.getStudPwd();assertEquals(1,mot17.equals(num[17],pwd[17],address[17]));} @Test public void test18() {test mot18 = new test();String[] address= mot18.getStudAdd();String[] num= mot18.getStudNum();String[] pwd = mot18.getStudPwd();assertEquals(1,mot18.equals(num[18],pwd[18],address[18]));} @Test public void test19() {test mot19 = new test();String[] address= mot19.getStudAdd();String[] num= mot19.getStudNum();String[] pwd = mot19.getStudPwd();assertEquals(1,mot19.equals(num[19],pwd[19],address[19]));} @Test public void test20() {test mot20 = new test();String[] address= mot20.getStudAdd();String[] num= mot20.getStudNum();String[] pwd = mot20.getStudPwd();assertEquals(1,mot20.equals(num[20],pwd[20],address[20]));} @Test public void test21() {test mot21 = new test();String[] address= mot21.getStudAdd();String[] num= mot21.getStudNum();String[] pwd = mot21.getStudPwd();assertEquals(1,mot21.equals(num[21],pwd[21],address[21]));} @Test public void test22() {test mot22 = new test();String[] address= mot22.getStudAdd();String[] num= mot22.getStudNum();String[] pwd = mot22.getStudPwd();assertEquals(1,mot22.equals(num[22],pwd[22],address[22]));} @Test public void test23() {test mot23 = new test();String[] address= mot23.getStudAdd();String[] num= mot23.getStudNum();String[] pwd = mot23.getStudPwd();assertEquals(1,mot23.equals(num[23],pwd[23],address[23]));} @Test public void test24() {test mot24 = new test();String[] address= mot24.getStudAdd();String[] num= mot24.getStudNum();String[] pwd = mot24.getStudPwd();assertEquals(1,mot24.equals(num[24],pwd[24],address[24]));} @Test public void test25() {test mot25 = new test();String[] address= mot25.getStudAdd();String[] num= mot25.getStudNum();String[] pwd = mot25.getStudPwd();assertEquals(1,mot25.equals(num[25],pwd[25],address[25]));} @Test public void test26() {test mot26 = new test();String[] address= mot26.getStudAdd();String[] num= mot26.getStudNum();String[] pwd = mot26.getStudPwd();assertEquals(1,mot26.equals(num[26],pwd[26],address[26]));} @Test public void test27() {test mot27 = new test();String[] address= mot27.getStudAdd();String[] num= mot27.getStudNum();String[] pwd = mot27.getStudPwd();assertEquals(1,mot27.equals(num[27],pwd[27],address[27]));} @Test public void test28() {test mot28 = new test();String[] address= mot28.getStudAdd();String[] num= mot28.getStudNum();String[] pwd = mot28.getStudPwd();assertEquals(1,mot28.equals(num[28],pwd[28],address[28]));} @Test public void test29() {test mot29 = new test();String[] address= mot29.getStudAdd();String[] num= mot29.getStudNum();String[] pwd = mot29.getStudPwd();assertEquals(1,mot29.equals(num[29],pwd[29],address[29]));} @Test public void test30() {test mot30 = new test();String[] address= mot30.getStudAdd();String[] num= mot30.getStudNum();String[] pwd = mot30.getStudPwd();assertEquals(1,mot30.equals(num[30],pwd[30],address[30]));} @Test public void test31() {test mot31 = new test();String[] address= mot31.getStudAdd();String[] num= mot31.getStudNum();String[] pwd = mot31.getStudPwd();assertEquals(1,mot31.equals(num[31],pwd[31],address[31]));} @Test public void test32() {test mot32 = new test();String[] address= mot32.getStudAdd();String[] num= mot32.getStudNum();String[] pwd = mot32.getStudPwd();assertEquals(1,mot32.equals(num[32],pwd[32],address[32]));} @Test public void test33() {test mot33 = new test();String[] address= mot33.getStudAdd();String[] num= mot33.getStudNum();String[] pwd = mot33.getStudPwd();assertEquals(1,mot33.equals(num[33],pwd[33],address[33]));} @Test public void test34() {test mot34 = new test();String[] address= mot34.getStudAdd();String[] num= mot34.getStudNum();String[] pwd = mot34.getStudPwd();assertEquals(1,mot34.equals(num[34],pwd[34],address[34]));} @Test public void test35() {test mot35 = new test();String[] address= mot35.getStudAdd();String[] num= mot35.getStudNum();String[] pwd = mot35.getStudPwd();assertEquals(1,mot35.equals(num[35],pwd[35],address[35]));} @Test public void test36() {test mot36 = new test();String[] address= mot36.getStudAdd();String[] num= mot36.getStudNum();String[] pwd = mot36.getStudPwd();assertEquals(1,mot36.equals(num[36],pwd[36],address[36]));} @Test public void test37() {test mot37 = new test();String[] address= mot37.getStudAdd();String[] num= mot37.getStudNum();String[] pwd = mot37.getStudPwd();assertEquals(1,mot37.equals(num[37],pwd[37],address[37]));} @Test public void test38() {test mot38 = new test();String[] address= mot38.getStudAdd();String[] num= mot38.getStudNum();String[] pwd = mot38.getStudPwd();assertEquals(1,mot38.equals(num[38],pwd[38],address[38]));} @Test public void test39() {test mot39 = new test();String[] address= mot39.getStudAdd();String[] num= mot39.getStudNum();String[] pwd = mot39.getStudPwd();assertEquals(1,mot39.equals(num[39],pwd[39],address[39]));} @Test public void test40() {test mot40 = new test();String[] address= mot40.getStudAdd();String[] num= mot40.getStudNum();String[] pwd = mot40.getStudPwd();assertEquals(1,mot40.equals(num[40],pwd[40],address[40]));} @Test public void test41() {test mot41 = new test();String[] address= mot41.getStudAdd();String[] num= mot41.getStudNum();String[] pwd = mot41.getStudPwd();assertEquals(1,mot41.equals(num[41],pwd[41],address[41]));} @Test public void test42() {test mot42 = new test();String[] address= mot42.getStudAdd();String[] num= mot42.getStudNum();String[] pwd = mot42.getStudPwd();assertEquals(1,mot42.equals(num[42],pwd[42],address[42]));} @Test public void test43() {test mot43 = new test();String[] address= mot43.getStudAdd();String[] num= mot43.getStudNum();String[] pwd = mot43.getStudPwd();assertEquals(1,mot43.equals(num[43],pwd[43],address[43]));} @Test public void test44() {test mot44 = new test();String[] address= mot44.getStudAdd();String[] num= mot44.getStudNum();String[] pwd = mot44.getStudPwd();assertEquals(1,mot44.equals(num[44],pwd[44],address[44]));} @Test public void test45() {test mot45 = new test();String[] address= mot45.getStudAdd();String[] num= mot45.getStudNum();String[] pwd = mot45.getStudPwd();assertEquals(1,mot45.equals(num[45],pwd[45],address[45]));} @Test public void test46() {test mot46 = new test();String[] address= mot46.getStudAdd();String[] num= mot46.getStudNum();String[] pwd = mot46.getStudPwd();assertEquals(1,mot46.equals(num[46],pwd[46],address[46]));} @Test public void test47() {test mot47 = new test();String[] address= mot47.getStudAdd();String[] num= mot47.getStudNum();String[] pwd = mot47.getStudPwd();assertEquals(1,mot47.equals(num[47],pwd[47],address[47]));} @Test public void test48() {test mot48 = new test();String[] address= mot48.getStudAdd();String[] num= mot48.getStudNum();String[] pwd = mot48.getStudPwd();assertEquals(1,mot48.equals(num[48],pwd[48],address[48]));} @Test public void test49() {test mot49 = new test();String[] address= mot49.getStudAdd();String[] num= mot49.getStudNum();String[] pwd = mot49.getStudPwd();assertEquals(1,mot49.equals(num[49],pwd[49],address[49]));} @Test public void test50() {test mot50 = new test();String[] address= mot50.getStudAdd();String[] num= mot50.getStudNum();String[] pwd = mot50.getStudPwd();assertEquals(1,mot50.equals(num[50],pwd[50],address[50]));} @Test public void test51() {test mot51 = new test();String[] address= mot51.getStudAdd();String[] num= mot51.getStudNum();String[] pwd = mot51.getStudPwd();assertEquals(1,mot51.equals(num[51],pwd[51],address[51]));} @Test public void test52() {test mot52 = new test();String[] address= mot52.getStudAdd();String[] num= mot52.getStudNum();String[] pwd = mot52.getStudPwd();assertEquals(1,mot52.equals(num[52],pwd[52],address[52]));} @Test public void test53() {test mot53 = new test();String[] address= mot53.getStudAdd();String[] num= mot53.getStudNum();String[] pwd = mot53.getStudPwd();assertEquals(1,mot53.equals(num[53],pwd[53],address[53]));} @Test public void test54() {test mot54 = new test();String[] address= mot54.getStudAdd();String[] num= mot54.getStudNum();String[] pwd = mot54.getStudPwd();assertEquals(1,mot54.equals(num[54],pwd[54],address[54]));} @Test public void test55() {test mot55 = new test();String[] address= mot55.getStudAdd();String[] num= mot55.getStudNum();String[] pwd = mot55.getStudPwd();assertEquals(1,mot55.equals(num[55],pwd[55],address[55]));} @Test public void test56() {test mot56 = new test();String[] address= mot56.getStudAdd();String[] num= mot56.getStudNum();String[] pwd = mot56.getStudPwd();assertEquals(1,mot56.equals(num[56],pwd[56],address[56]));} @Test public void test57() {test mot57 = new test();String[] address= mot57.getStudAdd();String[] num= mot57.getStudNum();String[] pwd = mot57.getStudPwd();assertEquals(1,mot57.equals(num[57],pwd[57],address[57]));} @Test public void test58() {test mot58 = new test();String[] address= mot58.getStudAdd();String[] num= mot58.getStudNum();String[] pwd = mot58.getStudPwd();assertEquals(1,mot58.equals(num[58],pwd[58],address[58]));} @Test public void test59() {test mot59 = new test();String[] address= mot59.getStudAdd();String[] num= mot59.getStudNum();String[] pwd = mot59.getStudPwd();assertEquals(1,mot59.equals(num[59],pwd[59],address[59]));} @Test public void test60() {test mot60 = new test();String[] address= mot60.getStudAdd();String[] num= mot60.getStudNum();String[] pwd = mot60.getStudPwd();assertEquals(1,mot60.equals(num[60],pwd[60],address[60]));} @Test public void test61() {test mot61 = new test();String[] address= mot61.getStudAdd();String[] num= mot61.getStudNum();String[] pwd = mot61.getStudPwd();assertEquals(1,mot61.equals(num[61],pwd[61],address[61]));} @Test public void test62() {test mot62 = new test();String[] address= mot62.getStudAdd();String[] num= mot62.getStudNum();String[] pwd = mot62.getStudPwd();assertEquals(1,mot62.equals(num[62],pwd[62],address[62]));} @Test public void test63() {test mot63 = new test();String[] address= mot63.getStudAdd();String[] num= mot63.getStudNum();String[] pwd = mot63.getStudPwd();assertEquals(1,mot63.equals(num[63],pwd[63],address[63]));} @Test public void test64() {test mot64 = new test();String[] address= mot64.getStudAdd();String[] num= mot64.getStudNum();String[] pwd = mot64.getStudPwd();assertEquals(1,mot64.equals(num[64],pwd[64],address[64]));} @Test public void test65() {test mot65 = new test();String[] address= mot65.getStudAdd();String[] num= mot65.getStudNum();String[] pwd = mot65.getStudPwd();assertEquals(1,mot65.equals(num[65],pwd[65],address[65]));} @Test public void test66() {test mot66 = new test();String[] address= mot66.getStudAdd();String[] num= mot66.getStudNum();String[] pwd = mot66.getStudPwd();assertEquals(1,mot66.equals(num[66],pwd[66],address[66]));} @Test public void test67() {test mot67 = new test();String[] address= mot67.getStudAdd();String[] num= mot67.getStudNum();String[] pwd = mot67.getStudPwd();assertEquals(1,mot67.equals(num[67],pwd[67],address[67]));} @Test public void test68() {test mot68 = new test();String[] address= mot68.getStudAdd();String[] num= mot68.getStudNum();String[] pwd = mot68.getStudPwd();assertEquals(1,mot68.equals(num[68],pwd[68],address[68]));} @Test public void test69() {test mot69 = new test();String[] address= mot69.getStudAdd();String[] num= mot69.getStudNum();String[] pwd = mot69.getStudPwd();assertEquals(1,mot69.equals(num[69],pwd[69],address[69]));} @Test public void test70() {test mot70 = new test();String[] address= mot70.getStudAdd();String[] num= mot70.getStudNum();String[] pwd = mot70.getStudPwd();assertEquals(1,mot70.equals(num[70],pwd[70],address[70]));} @Test public void test71() {test mot71 = new test();String[] address= mot71.getStudAdd();String[] num= mot71.getStudNum();String[] pwd = mot71.getStudPwd();assertEquals(1,mot71.equals(num[71],pwd[71],address[71]));} @Test public void test72() {test mot72 = new test();String[] address= mot72.getStudAdd();String[] num= mot72.getStudNum();String[] pwd = mot72.getStudPwd();assertEquals(1,mot72.equals(num[72],pwd[72],address[72]));} @Test public void test73() {test mot73 = new test();String[] address= mot73.getStudAdd();String[] num= mot73.getStudNum();String[] pwd = mot73.getStudPwd();assertEquals(1,mot73.equals(num[73],pwd[73],address[73]));} @Test public void test74() {test mot74 = new test();String[] address= mot74.getStudAdd();String[] num= mot74.getStudNum();String[] pwd = mot74.getStudPwd();assertEquals(1,mot74.equals(num[74],pwd[74],address[74]));} @Test public void test75() {test mot75 = new test();String[] address= mot75.getStudAdd();String[] num= mot75.getStudNum();String[] pwd = mot75.getStudPwd();assertEquals(1,mot75.equals(num[75],pwd[75],address[75]));} @Test public void test76() {test mot76 = new test();String[] address= mot76.getStudAdd();String[] num= mot76.getStudNum();String[] pwd = mot76.getStudPwd();assertEquals(1,mot76.equals(num[76],pwd[76],address[76]));} /*@Test public void test77() {test mot77 = new test();String[] address= mot77.getStudAdd();String[] num= mot77.getStudNum();String[] pwd = mot77.getStudPwd();assertEquals(1,mot77.equals(num[77],pwd[77],address[77]));} @Test public void test78() {test mot78 = new test();String[] address= mot78.getStudAdd();String[] num= mot78.getStudNum();String[] pwd = mot78.getStudPwd();assertEquals(1,mot78.equals(num[78],pwd[78],address[78]));} @Test public void test79() {test mot79 = new test();String[] address= mot79.getStudAdd();String[] num= mot79.getStudNum();String[] pwd = mot79.getStudPwd();assertEquals(1,mot79.equals(num[79],pwd[79],address[79]));} @Test public void test80() {test mot80 = new test();String[] address= mot80.getStudAdd();String[] num= mot80.getStudNum();String[] pwd = mot80.getStudPwd();assertEquals(1,mot80.equals(num[80],pwd[80],address[80]));} @Test public void test81() {test mot81 = new test();String[] address= mot81.getStudAdd();String[] num= mot81.getStudNum();String[] pwd = mot81.getStudPwd();assertEquals(1,mot81.equals(num[81],pwd[81],address[81]));} @Test public void test82() {test mot82 = new test();String[] address= mot82.getStudAdd();String[] num= mot82.getStudNum();String[] pwd = mot82.getStudPwd();assertEquals(1,mot82.equals(num[82],pwd[82],address[82]));} @Test public void test83() {test mot83 = new test();String[] address= mot83.getStudAdd();String[] num= mot83.getStudNum();String[] pwd = mot83.getStudPwd();assertEquals(1,mot83.equals(num[83],pwd[83],address[83]));} @Test public void test84() {test mot84 = new test();String[] address= mot84.getStudAdd();String[] num= mot84.getStudNum();String[] pwd = mot84.getStudPwd();assertEquals(1,mot84.equals(num[84],pwd[84],address[84]));} @Test public void test85() {test mot85 = new test();String[] address= mot85.getStudAdd();String[] num= mot85.getStudNum();String[] pwd = mot85.getStudPwd();assertEquals(1,mot85.equals(num[85],pwd[85],address[85]));} @Test public void test86() {test mot86 = new test();String[] address= mot86.getStudAdd();String[] num= mot86.getStudNum();String[] pwd = mot86.getStudPwd();assertEquals(1,mot86.equals(num[86],pwd[86],address[86]));} @Test public void test87() {test mot87 = new test();String[] address= mot87.getStudAdd();String[] num= mot87.getStudNum();String[] pwd = mot87.getStudPwd();assertEquals(1,mot87.equals(num[87],pwd[87],address[87]));} @Test public void test88() {test mot88 = new test();String[] address= mot88.getStudAdd();String[] num= mot88.getStudNum();String[] pwd = mot88.getStudPwd();assertEquals(1,mot88.equals(num[88],pwd[88],address[88]));} @Test public void test89() {test mot89 = new test();String[] address= mot89.getStudAdd();String[] num= mot89.getStudNum();String[] pwd = mot89.getStudPwd();assertEquals(1,mot89.equals(num[89],pwd[89],address[89]));} @Test public void test90() {test mot90 = new test();String[] address= mot90.getStudAdd();String[] num= mot90.getStudNum();String[] pwd = mot90.getStudPwd();assertEquals(1,mot90.equals(num[90],pwd[90],address[90]));} @Test public void test91() {test mot91 = new test();String[] address= mot91.getStudAdd();String[] num= mot91.getStudNum();String[] pwd = mot91.getStudPwd();assertEquals(1,mot91.equals(num[91],pwd[91],address[91]));} @Test public void test92() {test mot92 = new test();String[] address= mot92.getStudAdd();String[] num= mot92.getStudNum();String[] pwd = mot92.getStudPwd();assertEquals(1,mot92.equals(num[92],pwd[92],address[92]));} @Test public void test93() {test mot93 = new test();String[] address= mot93.getStudAdd();String[] num= mot93.getStudNum();String[] pwd = mot93.getStudPwd();assertEquals(1,mot93.equals(num[93],pwd[93],address[93]));} @Test public void test94() {test mot94 = new test();String[] address= mot94.getStudAdd();String[] num= mot94.getStudNum();String[] pwd = mot94.getStudPwd();assertEquals(1,mot94.equals(num[94],pwd[94],address[94]));} @Test public void test95() {test mot95 = new test();String[] address= mot95.getStudAdd();String[] num= mot95.getStudNum();String[] pwd = mot95.getStudPwd();assertEquals(1,mot95.equals(num[95],pwd[95],address[95]));} @Test public void test96() {test mot96 = new test();String[] address= mot96.getStudAdd();String[] num= mot96.getStudNum();String[] pwd = mot96.getStudPwd();assertEquals(1,mot96.equals(num[96],pwd[96],address[96]));} @Test public void test97() {test mot97 = new test();String[] address= mot97.getStudAdd();String[] num= mot97.getStudNum();String[] pwd = mot97.getStudPwd();assertEquals(1,mot97.equals(num[97],pwd[97],address[97]));} @Test public void test98() {test mot98 = new test();String[] address= mot98.getStudAdd();String[] num= mot98.getStudNum();String[] pwd = mot98.getStudPwd();assertEquals(1,mot98.equals(num[98],pwd[98],address[98]));} @Test public void test99() {test mot99 = new test();String[] address= mot99.getStudAdd();String[] num= mot99.getStudNum();String[] pwd = mot99.getStudPwd();assertEquals(1,mot99.equals(num[99],pwd[99],address[99]));} @Test public void test100() {test mot100 = new test();String[] address= mot100.getStudAdd();String[] num= mot100.getStudNum();String[] pwd = mot100.getStudPwd();assertEquals(1,mot100.equals(num[100],pwd[100],address[100]));} @Test public void test101() {test mot101 = new test();String[] address= mot101.getStudAdd();String[] num= mot101.getStudNum();String[] pwd = mot101.getStudPwd();assertEquals(1,mot101.equals(num[101],pwd[101],address[101]));} @Test public void test102() {test mot102 = new test();String[] address= mot102.getStudAdd();String[] num= mot102.getStudNum();String[] pwd = mot102.getStudPwd();assertEquals(1,mot102.equals(num[102],pwd[102],address[102]));} @Test public void test103() {test mot103 = new test();String[] address= mot103.getStudAdd();String[] num= mot103.getStudNum();String[] pwd = mot103.getStudPwd();assertEquals(1,mot103.equals(num[103],pwd[103],address[103]));} @Test public void test104() {test mot104 = new test();String[] address= mot104.getStudAdd();String[] num= mot104.getStudNum();String[] pwd = mot104.getStudPwd();assertEquals(1,mot104.equals(num[104],pwd[104],address[104]));} @Test public void test105() {test mot105 = new test();String[] address= mot105.getStudAdd();String[] num= mot105.getStudNum();String[] pwd = mot105.getStudPwd();assertEquals(1,mot105.equals(num[105],pwd[105],address[105]));} @Test public void test106() {test mot106 = new test();String[] address= mot106.getStudAdd();String[] num= mot106.getStudNum();String[] pwd = mot106.getStudPwd();assertEquals(1,mot106.equals(num[106],pwd[106],address[106]));} @Test public void test107() {test mot107 = new test();String[] address= mot107.getStudAdd();String[] num= mot107.getStudNum();String[] pwd = mot107.getStudPwd();assertEquals(1,mot107.equals(num[107],pwd[107],address[107]));} @Test public void test108() {test mot108 = new test();String[] address= mot108.getStudAdd();String[] num= mot108.getStudNum();String[] pwd = mot108.getStudPwd();assertEquals(1,mot108.equals(num[108],pwd[108],address[108]));} @Test public void test109() {test mot109 = new test();String[] address= mot109.getStudAdd();String[] num= mot109.getStudNum();String[] pwd = mot109.getStudPwd();assertEquals(1,mot109.equals(num[109],pwd[109],address[109]));} @Test public void test110() {test mot110 = new test();String[] address= mot110.getStudAdd();String[] num= mot110.getStudNum();String[] pwd = mot110.getStudPwd();assertEquals(1,mot110.equals(num[110],pwd[110],address[110]));} @Test public void test111() {test mot111 = new test();String[] address= mot111.getStudAdd();String[] num= mot111.getStudNum();String[] pwd = mot111.getStudPwd();assertEquals(1,mot111.equals(num[111],pwd[111],address[111]));} @Test public void test112() {test mot112 = new test();String[] address= mot112.getStudAdd();String[] num= mot112.getStudNum();String[] pwd = mot112.getStudPwd();assertEquals(1,mot112.equals(num[112],pwd[112],address[112]));} @Test public void test113() {test mot113 = new test();String[] address= mot113.getStudAdd();String[] num= mot113.getStudNum();String[] pwd = mot113.getStudPwd();assertEquals(1,mot113.equals(num[113],pwd[113],address[113]));} @Test public void test114() {test mot114 = new test();String[] address= mot114.getStudAdd();String[] num= mot114.getStudNum();String[] pwd = mot114.getStudPwd();assertEquals(1,mot114.equals(num[114],pwd[114],address[114]));} @Test public void test115() {test mot115 = new test();String[] address= mot115.getStudAdd();String[] num= mot115.getStudNum();String[] pwd = mot115.getStudPwd();assertEquals(1,mot115.equals(num[115],pwd[115],address[115]));} */ }
测试结果:
本测试因为时间原因只测试了78位同学的github信息是否相符。