|
CFEngine API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.recommender.test.GetRecommendationsByTypeTest
Test for getRecommendationsByType()
Constructor Summary | |
GetRecommendationsByTypeTest(CFEngine s)
|
Method Summary | |
int |
fiftyItemTest1(int user)
fiftyItemTest1() Get 20 items for 1 type, compare with predicted value and the one in DB |
int |
fiftyItemTest2(int user)
fiftyItemTest2() Get 50 items for 3 types, compare with predicted value and the one in DB |
int |
illegalParamTest()
illegalParamTest() 1. |
int |
multiUserTest1()
multiUserTest1() Test 5 users for 10 recommendations: 1. |
int |
multiUserTest2()
multiUserTest2() Test 5 users for 20 recommendations: 1. |
int |
multiUserTest3()
multiUserTest3() Test 5 users for 50 recommendations. |
int |
tenItemTest1(int user)
tenItemTest1() Get 10 items for 1 type, compare with predicted value and the one in DB |
int |
tenItemTest2(int user)
tenItemTest2() Get 10 items for 3 types, compare with predicted value and the one in DB |
void |
testSeq()
testSeq() |
int |
twentyItemTest1(int user)
twentyItemTest1() Get 20 items for 1 type, compare with predicted value and the one in DB |
int |
twentyItemTest2(int user)
twentyItemTest2() Get 20 items for 3 types, compare with predicted value and the one in DB |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GetRecommendationsByTypeTest(CFEngine s)
Method Detail |
public int tenItemTest1(int user)
public int tenItemTest2(int user)
public int twentyItemTest1(int user)
public int twentyItemTest2(int user)
public int fiftyItemTest1(int user)
public int fiftyItemTest2(int user)
public int multiUserTest1()
public int multiUserTest2()
public int multiUserTest3()
public int illegalParamTest()
public void testSeq()
|
CFEngine API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |