Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Fails as ClassAndTypeBasedSchemaBlockerTest Fails #2

Open
aijdissanayake opened this issue May 5, 2018 · 1 comment
Open

Comments

@aijdissanayake
Copy link

I tried to build the project and the build fails as the following assertion

//check for size
 assertEquals(4, blockedPairs.size());

in ClassAndTypeBasedSchemaBlockerTest.java test file fails.

Error:

Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.19 sec <<< FAILURE! - in de.uni_mannheim.informatik.dws.t2k.match.blocking.ClassAndTypeBasedSchemaBlockerTest
testRunBlocking(de.uni_mannheim.informatik.dws.t2k.match.blocking.ClassAndTypeBasedSchemaBlockerTest)  Time elapsed: 0.189 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected:<4> but was:<0>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:282)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:201)
	at junit.framework.Assert.assertEquals(Assert.java:207)
	at de.uni_mannheim.informatik.dws.t2k.match.blocking.ClassAndTypeBasedSchemaBlockerTest.testRunBlocking(ClassAndTypeBasedSchemaBlockerTest.java:75)
@olehmberg
Copy link
Owner

Hi and thanks for the feedback. I just compiled the code and ran the tests without problems. Are you running the tests with maven? If not, please try. It could be that your working directory is not set correctly an the test didn't load the data files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants