Skip to content

jeffbswope/resource-ordering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

resource-ordering

Run ./gradlew cleanTest test

Classpath is displayed with the following in expected order:

  1. build/classes/test
  2. build/resources/test
  3. build/classes/main
  4. build/resources/main.

Output of test is:

 Test run read: FROM TEST RESOURCES

Import project into Intellij 14.0 (Build #IU-139.224, built on November 4, 2014)

Run ResourceTest using Gradle Test Executor

Same as above.

Run ResourceTest using Junit runner

Classpath sent on java command to execute tests has following in incorrect order:

  1. build/classes/test
  2. build/classes/main
  3. build/resources/main
  4. build/resources/test

Therefore output is:

 Test run read: FROM MAIN RESOURCES

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages