Skip to content

[LPhy Junit] Unit tests in NucleotideGenotypeHelperTest failing #92

@kche309

Description

@kche309

Running unit tests for NucleotideGenotypeHelperTest on Intellij causes an error message.

Tests that are failing in my Junit:

  • getPhasedGenotypeStateTest
  • getNucleotideStateTest

Error message:

java.lang.reflect.InaccessibleObjectException: Unable to make jebl.evolution.sequences.NucleotideState(java.lang.String,java.lang.String,int,byte) accessible: module jebl does not "opens jebl.evolution.sequences" to module phylonco.lphy

	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
	at java.base/java.lang.reflect.Constructor.checkCanSetAccessible(Constructor.java:188)
	at java.base/java.lang.reflect.Constructor.setAccessible(Constructor.java:181)
	at phylonco.lphy/phylonco.lphy.evolution.alignment.NucleotideGenotypeHelperTest.getPhasedGenotypeStateTest(NucleotideGenotypeHelperTest.java:424)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)

We could either delete or fix these unit tests?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions