uk.ac.cam.juliet.twitter.testing
Class BayesLearnerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by uk.ac.cam.juliet.twitter.testing.BayesLearnerTest
All Implemented Interfaces:
junit.framework.Test

public class BayesLearnerTest
extends junit.framework.TestCase


Field Summary
(package private)  MockDatabase db
           
(package private)  BayesLearner learner
           
 
Constructor Summary
BayesLearnerTest()
           
 
Method Summary
 void testAddTrainingTweet()
          tests BayesLearner.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

db

MockDatabase db

learner

BayesLearner learner
Constructor Detail

BayesLearnerTest

public BayesLearnerTest()
Method Detail

testAddTrainingTweet

public void testAddTrainingTweet()
tests BayesLearner. addTrainingTweet(Status, Classification)