Skip to content

Testcases not working #6

Description

@MarcMil

The test cases seem to contain several hardcoded paths:

	String rtjar = "/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar";
	String appfolder = "/home/yingjun/Documents/StringAnalysis/Testing/";	
	String gt = "/home/yingjun/Documents/eclipse/workspace/StringTestCases/groundtruth/";

Also, it is not clear how to run the test cases. I've imported the project into eclipse using the m2e connector and added the test cases to the build path.
It would be better if tests were run via maven.

LoopNodeTest1 and 2 fail due to a null pointer:

java.lang.NullPointerException
	at usc.sql.string.LayerRegion.dfsReverse(LayerRegion.java:160)
	at usc.sql.string.LayerRegion.identifyLoopSet(LayerRegion.java:122)
	at usc.sql.string.test.LoopNodeTest2.test(LoopNodeTest2.java:135)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions