This website works better with JavaScript.
首頁
探索
說明
登入
binhong
/
LibrarySystem
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
Further increase code coverage
master
BinHong Lee
7 年之前
父節點
003197131d
當前提交
d13c326cd9
共有
3 個文件被更改
,包括
3 次插入
和
7 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-5
src/main/java/libsys/Handler.java
+1
-1
src/test/java/libsys/BookFactoryTest.java
+1
-1
src/test/java/libsys/UserFactoryTest.java
+ 1
- 5
src/main/java/libsys/Handler.java
查看文件
@@ -108,15 +108,11 @@ class Handler
date[2]++;
}
}
else
if(date[2] == 28)
else
{
date[1]++;
date[2] = 1;
}
else
{
date[2]++;
}
}
else if(date[1] == 4 || date[1] == 6 || date[1] == 9 || date[1] == 11)
{
+ 1
- 1
src/test/java/libsys/BookFactoryTest.java
查看文件
@@ -113,7 +113,7 @@ public class BookFactoryTest extends TestCase
try
{
anotherBookFactory.getBook(
12
);
anotherBookFactory.getBook(
"No Such Book"
);
assert false;
}
catch (Exception e)
+ 1
- 1
src/test/java/libsys/UserFactoryTest.java
查看文件
@@ -47,9 +47,9 @@ public class UserFactoryTest extends TestCase
public void testApp()
{
newUserTest();
updateTest();
fileIOTest();
exceptionTest();
updateTest();
}
/**
Write
Preview
Loading…
取消
儲存