Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2002-10-03 08:04:16 -0400
committerMichael Valenta2002-10-03 08:04:16 -0400
commit6d618d681a721438a64469ae6cf6140973d77347 (patch)
treea2e291b1f325a99a8b666ab9d658a7fa4de1013c
parentbdde39bd488e4296828fb9979c41405af4b66c18 (diff)
downloadeclipse.platform.team-R2_0_1.tar.gz
eclipse.platform.team-R2_0_1.tar.xz
eclipse.platform.team-R2_0_1.zip
Fix test case un-randomnessR2_0_2_20021003R2_0_1
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/EclipseTest.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/EclipseTest.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/EclipseTest.java
index 5befa8e8c..c84c7e6e2 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/EclipseTest.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/EclipseTest.java
@@ -551,5 +551,13 @@ public class EclipseTest extends EclipseWorkspaceTest {
// Pause to ensure that future operations happen later than timestamp of committed resources
JUnitTestCase.waitMsec(1500);
}
+
+ /**
+ * Return an input stream with some random text to use
+ * as contents for a file resource.
+ */
+ public InputStream getRandomContents() {
+ return getRandomContents(RANDOM_CONTENT_SIZE);
+ }
}

Back to the top