|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
net.firstpartners.rp.BaseTestCase
net.firstpartners.rp.mid.global.KnowledgeManagerTests
public class KnowledgeManagerTests
KnowledgeManager Tests
Field Summary | |
---|---|
private static int |
DEFAULT_ADD_WAIT_TIME
|
private KnowledgeSphereManager |
manager
|
Fields inherited from class net.firstpartners.rp.BaseTestCase |
---|
DEFAULT_CONTEXT_CONFIG_LOCATION |
Constructor Summary | |
---|---|
KnowledgeManagerTests()
|
Method Summary | |
---|---|
private void |
base_AddSearch(java.lang.String location,
java.lang.String query)
Test adding a location to the system and then search for a specific query |
void |
onSetup()
Set-up for the test after loading the application context by the base testcase |
void |
test_FirstPartnersPage()
Add the FirstPartners page firstpartners.net to the system and then search for "FirstPartners.Net" word |
void |
test_GoogleSearch_FirstParteners()
Add the google search for www.firstPartners.net to the system and then search for "FirstPartners" word |
void |
test_GoogleSearch_RedPiranha()
Add the google search for www.red-piranha.com to the system and then search for "FirstPartners" word |
void |
test_GoogleStartPage()
Add the google start page www.google.ie to the system and then search for "google" word |
void |
test_MicrosoftPage()
Add the microsoft start page www.microsoft.com to the system and then search for "microsoft" word |
void |
test_SunPage()
Add the sun page www.sun.com to the system and then search for "sun" word |
void |
testInit()
Test the initialization of the system |
Methods inherited from class net.firstpartners.rp.BaseTestCase |
---|
getContexDir, getContext, getContextConfigLocation, setUp |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final int DEFAULT_ADD_WAIT_TIME
private KnowledgeSphereManager manager
Constructor Detail |
---|
public KnowledgeManagerTests()
Method Detail |
---|
public void onSetup() throws java.lang.Exception
java.lang.Exception
- Exception in set-up the test casepublic void testInit()
private void base_AddSearch(java.lang.String location, java.lang.String query)
location
- Location to add to the systemquery
- Query to search forpublic void test_GoogleStartPage()
public void test_MicrosoftPage()
public void test_SunPage()
public void test_FirstPartnersPage()
public void test_GoogleSearch_FirstParteners()
public void test_GoogleSearch_RedPiranha()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |