Esempio n. 1
0
 @Test(expected = NullPointerException.class)
 public void testCharactersThrowsNullPointerException() throws Throwable {
   char[] buf = new char[1];
   XMLTopicFactory xMLTopicFactory =
       new XMLTopicFactory(
           "testXMLTopicFactoryVirtualWiki", new WikiUser(), "testXMLTopicFactoryAuthorIpAddress");
   xMLTopicFactory.characters(buf, 100, 1000);
 }
Esempio n. 2
0
 @Test(expected = NullPointerException.class)
 public void testEndElementThrowsNullPointerException1() throws Throwable {
   XMLTopicFactory xMLTopicFactory =
       new XMLTopicFactory(
           "testXMLTopicFactoryVirtualWiki", new WikiUser(), "testXMLTopicFactoryAuthorIpAddress");
   xMLTopicFactory.endElement(
       "testXMLTopicFactoryNamespaceURI", "testXMLTopicFactorySName", "title");
 }
Esempio n. 3
0
 @Test(expected = NullPointerException.class)
 public void testStartElementThrowsNullPointerException() throws Throwable {
   XMLTopicFactory xMLTopicFactory =
       new XMLTopicFactory(
           "testXMLTopicFactoryVirtualWiki",
           new WikiUser(""),
           "testXMLTopicFactoryAuthorIpAddress");
   xMLTopicFactory.startElement(
       "testXMLTopicFactoryNamespaceURI",
       "testXMLTopicFactoryLName",
       "testXMLTopicFactoryQName",
       null);
 }