|
CFEngine API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.recommender.test.GetRecommendationsTest
Test for getRecommendations()
Constructor Summary | |
GetRecommendationsTest(CFEngine s)
|
Method Summary | |
int |
fiftyItemTest(int user)
fiftyItemTest() Get 50 item, 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: 1. |
int |
tenItemTest(int user)
tenItemTest() Get 10 item, compare with predicted value and the one in DB |
void |
testSeq()
testSeq() |
int |
twentyItemTest(int user)
twentyItemTest() Get 20 item, 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 GetRecommendationsTest(CFEngine s)
Method Detail |
public int tenItemTest(int user)
public int twentyItemTest(int user)
public int fiftyItemTest(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 |