Files
pit/libpit/test/com/jdbernard/pit/xml/XmlIssueTest.groovy
Jonathan Bernard 09319cb2e7 Added walkProject to core. Updated classes to interface changes.
* Implemented `walkProject` on `com.jdbernard.pit.Project`
* Updated several classes to fit the new interfaces/abstract classes.
* Still not finished with XML issue repository code.
2011-10-24 20:02:49 -05:00

28 lines
777 B
Groovy
Executable File

package com.jdbernard.pit.xml
import com.jdbernard.pit.*
import groovy.util.Node
import org.junit.Test
import static org.junit.Assert.assertEquals
import static org.junit.Assert.assertFalse
import static org.junit.Assert.assertTrue
public class XmlIssueTest {
Node issueNode = new Node(null, 'Issue',
[id: '0000', category: 'BUG', status: 'RESOLVED', priority: 1],
'Test Issue')
@Test public void testDummyTest() {}
/*@Test public void testNodeConstructor() {
XmlIssue issue = new XmlIssue(issueNode)
assertEquals issue.text, 'Test Issue'
assertEquals issue.id, '0000'
assertEquals issue.category, Category.BUG
assertEquals issue.status, Status.RESOLVED
assertEquals issue.priority, 1
}*/
}