Skip to content

Testcases not working #6

@MarcMil

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions