Commit 62d552b0 authored by Zoltan Ujhelyi's avatar Zoltan Ujhelyi Committed by Balazs Grill
Browse files

Extracted test workspaces in the repository



In order to make the test updates easier to review, it is a good idea to
extract the test workspaces. This required to update the workspace
preparation code to be able to handle the option of the workspace data
provided as a folder.

Change-Id: I7621a5c9189d9d1c73188951f5b7bce149b2744b
Signed-off-by: default avatarBalazs Varnai <balazs_varnai@mentor.com>
Signed-off-by: default avatarZoltan Ujhelyi <zoltan.ujhelyi@incquerylabs.com>
parent 1883365c
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
 */
package org.eclipse.sphinx.tests.platform.integration.resource;

import java.io.ByteArrayInputStream;
import java.util.List;
import java.util.Map;
import java.util.Set;
@@ -298,14 +299,16 @@ public class ResourceDeltaVisitorTest extends DefaultIntegrationTestCase {

	// ----Private platform resource change
	public void testPrivatePlatformResourceChanged() throws Exception {
		IFolder svnFolder = refWks.hbProject20_D.getFolder(".svn");
		svnFolder.create(true, true, new NullProgressMonitor());
		IFile svnFile = refWks.hbProject20_D.getFile(".svn/entries");
		svnFile.create(new ByteArrayInputStream("entry".getBytes()), false, new NullProgressMonitor());

		handler.clearResourcesHandledMap();
		IFolder svnFolder = refWks.hbProject20_D.getFolder(".svn");
		assertNotNull(svnFolder);
		assertTrue(svnFolder.exists());

		// delete file
		IFile svnFile = refWks.hbProject20_D.getFile(".svn/entries");
		assertNotNull(svnFile);
		assertTrue(svnFile.isAccessible());

−30.8 KiB

File deleted.

+7 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
	<classpathentry kind="src" path="src"/>
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
	<classpathentry kind="output" path="bin"/>
</classpath>
+35 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>hummingbird20.codegen.xpand</name>
	<comment></comment>
	<projects>
	</projects>
	<buildSpec>
		<buildCommand>
			<name>org.eclipse.jdt.core.javabuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.pde.ManifestBuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.pde.SchemaBuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.xtend.shared.ui.xtendBuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
	</buildSpec>
	<natures>
		<nature>org.eclipse.pde.PluginNature</nature>
		<nature>org.eclipse.jdt.core.javanature</nature>
		<nature>org.eclipse.xtend.shared.ui.xtendXPandNature</nature>
		<nature>org.eclipse.sphinx.examples.hummingbird.ide.HummingbirdNature</nature>
	</natures>
</projectDescription>
+6 −0
Original line number Diff line number Diff line
#Wed Mar 23 17:07:22 CET 2011
eclipse.preferences.version=1
encoding//design/default.ecore=UTF-8
encoding//design/resources.ecore_diagram=UTF-8
encoding/<project>=Cp1252
encoding/templates=UTF-8
Loading