Revision: 20022
http://sourceforge.net/p/gate/code/20022
Author: markagreenwood
Date: 2017-01-31 10:41:20 +0000 (Tue, 31 Jan 2017)
Log Message:
-----------
another test to check none file URLs are persisted properly inside
ResourceReference instances
Modified Paths:
--------------
gate/branches/sawdust2/gate-core/src/test/java/gate/creole/TestResourceReference.java
Modified:
gate/branches/sawdust2/gate-core/src/test/java/gate/creole/TestResourceReference.java
===================================================================
---
gate/branches/sawdust2/gate-core/src/test/java/gate/creole/TestResourceReference.java
2017-01-31 10:39:06 UTC (rev 20021)
+++
gate/branches/sawdust2/gate-core/src/test/java/gate/creole/TestResourceReference.java
2017-01-31 10:41:20 UTC (rev 20022)
@@ -210,6 +210,9 @@
rr = new ResourceReference(creolePlugin,"resources/file.txt");
checkPersistence(xgappFile, rr,
"creole://group;artifact;version/resources/file.txt");
+
+ rr = new ResourceReference(new
URL("http://gate.ac.uk/resource/file.txt"));
+ checkPersistence(xgappFile, rr, "http://gate.ac.uk/resource/file.txt");
}
public void checkPersistence(File xgappFile, ResourceReference rr1, String
expected) throws Exception {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs