You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2016/11/01 17:17:29 UTC
svn commit: r1767521 -
/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/test/java/org/apache/uima/cas/impl/SerDesTest4.java
Author: schor
Date: Tue Nov 1 17:17:29 2016
New Revision: 1767521
URL: http://svn.apache.org/viewvc?rev=1767521&view=rev
Log:
no Jira, restore main method for rebuilding test data, comment change
Modified:
uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/test/java/org/apache/uima/cas/impl/SerDesTest4.java
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/test/java/org/apache/uima/cas/impl/SerDesTest4.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/test/java/org/apache/uima/cas/impl/SerDesTest4.java?rev=1767521&r1=1767520&r2=1767521&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/test/java/org/apache/uima/cas/impl/SerDesTest4.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/test/java/org/apache/uima/cas/impl/SerDesTest4.java Tue Nov 1 17:17:29 2016
@@ -68,6 +68,7 @@ import junit.framework.TestCase;
* for version 4 of Binary Compressed
*
* Has main method for creating resources to use in testing
+ * will update resources in SerDes4. If you do this by mistake, just revert those resources.
*/
public class SerDesTest4 extends TestCase {
@@ -1296,4 +1297,10 @@ public class SerDesTest4 extends TestCas
}
}
}
+
+ // disable to avoid accidentally overwriting test data
+ static public void main(String[] args) throws IOException {
+ (new SerDesTest4()).captureGenerated();
+ }
+
}
\ No newline at end of file