Adding infrastructure for unit testing.
diff --git a/com.google.eclipse.protobuf.test.lib/.classpath b/com.google.eclipse.protobuf.test.lib/.classpath
new file mode 100644
index 0000000..7aefe4e
--- /dev/null
+++ b/com.google.eclipse.protobuf.test.lib/.classpath
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <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 exported="true" kind="lib" path="junit-4.8.2.jar" sourcepath="junit-4.8.2-sources.jar"/>
+ <classpathentry exported="true" kind="lib" path="mockito-all-1.8.0.jar" sourcepath="mockito-all-1.8.0-sources.jar"/>
+ <classpathentry exported="true" kind="lib" path="fest-util-1.1.6.jar" sourcepath="fest-util-1.1.6-sources.jar"/>
+ <classpathentry exported="true" kind="lib" path="fest-assert-1.4.jar" sourcepath="fest-assert-1.4-sources.jar"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/com.google.eclipse.protobuf.test.lib/.project b/com.google.eclipse.protobuf.test.lib/.project
new file mode 100644
index 0000000..10bcb06
--- /dev/null
+++ b/com.google.eclipse.protobuf.test.lib/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>com.google.eclipse.protobuf.test.lib</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>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/com.google.eclipse.protobuf.test.lib/.settings/org.eclipse.jdt.core.prefs b/com.google.eclipse.protobuf.test.lib/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..6d217ca
--- /dev/null
+++ b/com.google.eclipse.protobuf.test.lib/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,8 @@
+#Sun Apr 24 23:51:21 PDT 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
diff --git a/com.google.eclipse.protobuf.test.lib/META-INF/MANIFEST.MF b/com.google.eclipse.protobuf.test.lib/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..cd73b25
--- /dev/null
+++ b/com.google.eclipse.protobuf.test.lib/META-INF/MANIFEST.MF
@@ -0,0 +1,96 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Testing Libraries
+Bundle-SymbolicName: com.google.eclipse.protobuf.test.lib
+Bundle-Version: 1.0.0
+Bundle-ClassPath: junit-4.8.2.jar,
+ mockito-all-1.8.0.jar,
+ fest-util-1.1.6.jar,
+ fest-assert-1.4.jar
+Export-Package: junit.extensions,
+ junit.framework,
+ junit.runner,
+ junit.textui,
+ org.fest.assertions,
+ org.fest.util,
+ org.hamcrest,
+ org.hamcrest.core,
+ org.hamcrest.internal,
+ org.junit,
+ org.junit.experimental,
+ org.junit.experimental.categories,
+ org.junit.experimental.max,
+ org.junit.experimental.results,
+ org.junit.experimental.runners,
+ org.junit.experimental.theories,
+ org.junit.experimental.theories.internal,
+ org.junit.experimental.theories.suppliers,
+ org.junit.internal,
+ org.junit.internal.builders,
+ org.junit.internal.matchers,
+ org.junit.internal.requests,
+ org.junit.internal.runners,
+ org.junit.internal.runners.model,
+ org.junit.internal.runners.statements,
+ org.junit.matchers,
+ org.junit.rules,
+ org.junit.runner,
+ org.junit.runner.manipulation,
+ org.junit.runner.notification,
+ org.junit.runners,
+ org.junit.runners.model,
+ org.mockito,
+ org.mockito.asm,
+ org.mockito.asm.signature,
+ org.mockito.asm.tree,
+ org.mockito.asm.tree.analysis,
+ org.mockito.asm.util,
+ org.mockito.cglib.beans,
+ org.mockito.cglib.core,
+ org.mockito.cglib.proxy,
+ org.mockito.cglib.reflect,
+ org.mockito.cglib.transform,
+ org.mockito.cglib.transform.impl,
+ org.mockito.cglib.util,
+ org.mockito.configuration,
+ org.mockito.exceptions,
+ org.mockito.exceptions.base,
+ org.mockito.exceptions.misusing,
+ org.mockito.exceptions.verification,
+ org.mockito.exceptions.verification.junit,
+ org.mockito.internal,
+ org.mockito.internal.configuration,
+ org.mockito.internal.creation,
+ org.mockito.internal.creation.cglib,
+ org.mockito.internal.creation.jmock,
+ org.mockito.internal.debugging,
+ org.mockito.internal.exceptions.base,
+ org.mockito.internal.invocation,
+ org.mockito.internal.invocation.realmethod,
+ org.mockito.internal.matchers,
+ org.mockito.internal.matchers.apachecommons,
+ org.mockito.internal.progress,
+ org.mockito.internal.reporting,
+ org.mockito.internal.runners,
+ org.mockito.internal.runners.util,
+ org.mockito.internal.stubbing,
+ org.mockito.internal.stubbing.answers,
+ org.mockito.internal.stubbing.defaultanswers,
+ org.mockito.internal.util,
+ org.mockito.internal.util.reflection,
+ org.mockito.internal.verification,
+ org.mockito.internal.verification.api,
+ org.mockito.internal.verification.argumentmatching,
+ org.mockito.internal.verification.checkers,
+ org.mockito.invocation,
+ org.mockito.runners,
+ org.mockito.stubbing,
+ org.objenesis,
+ org.objenesis.instantiator,
+ org.objenesis.instantiator.basic,
+ org.objenesis.instantiator.gcj,
+ org.objenesis.instantiator.jrockit,
+ org.objenesis.instantiator.sun,
+ org.objenesis.strategy
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-Vendor: Google
diff --git a/com.google.eclipse.protobuf.test.lib/build.properties b/com.google.eclipse.protobuf.test.lib/build.properties
new file mode 100644
index 0000000..7bb3cf2
--- /dev/null
+++ b/com.google.eclipse.protobuf.test.lib/build.properties
@@ -0,0 +1,9 @@
+bin.includes = META-INF/,\
+ junit-4.8.2.jar,\
+ mockito-all-1.8.0.jar,\
+ fest-util-1.1.6.jar,\
+ fest-assert-1.4.jar,\
+ fest-assert-1.4-sources.jar,\
+ fest-util-1.1.6-sources.jar,\
+ junit-4.8.2-sources.jar,\
+ mockito-all-1.8.0-sources.jar
diff --git a/com.google.eclipse.protobuf.test.lib/fest-assert-1.4-sources.jar b/com.google.eclipse.protobuf.test.lib/fest-assert-1.4-sources.jar
new file mode 100644
index 0000000..7a8168c
--- /dev/null
+++ b/com.google.eclipse.protobuf.test.lib/fest-assert-1.4-sources.jar
Binary files differ
diff --git a/com.google.eclipse.protobuf.test.lib/fest-assert-1.4.jar b/com.google.eclipse.protobuf.test.lib/fest-assert-1.4.jar
new file mode 100644
index 0000000..1d42207
--- /dev/null
+++ b/com.google.eclipse.protobuf.test.lib/fest-assert-1.4.jar
Binary files differ
diff --git a/com.google.eclipse.protobuf.test.lib/fest-util-1.1.6-sources.jar b/com.google.eclipse.protobuf.test.lib/fest-util-1.1.6-sources.jar
new file mode 100644
index 0000000..4e8c523
--- /dev/null
+++ b/com.google.eclipse.protobuf.test.lib/fest-util-1.1.6-sources.jar
Binary files differ
diff --git a/com.google.eclipse.protobuf.test.lib/fest-util-1.1.6.jar b/com.google.eclipse.protobuf.test.lib/fest-util-1.1.6.jar
new file mode 100644
index 0000000..e7fd2ab
--- /dev/null
+++ b/com.google.eclipse.protobuf.test.lib/fest-util-1.1.6.jar
Binary files differ
diff --git a/com.google.eclipse.protobuf.test.lib/junit-4.8.2-sources.jar b/com.google.eclipse.protobuf.test.lib/junit-4.8.2-sources.jar
new file mode 100644
index 0000000..72d5fee
--- /dev/null
+++ b/com.google.eclipse.protobuf.test.lib/junit-4.8.2-sources.jar
Binary files differ
diff --git a/com.google.eclipse.protobuf.test.lib/junit-4.8.2.jar b/com.google.eclipse.protobuf.test.lib/junit-4.8.2.jar
new file mode 100644
index 0000000..5b4bb84
--- /dev/null
+++ b/com.google.eclipse.protobuf.test.lib/junit-4.8.2.jar
Binary files differ
diff --git a/com.google.eclipse.protobuf.test.lib/mockito-all-1.8.0-sources.jar b/com.google.eclipse.protobuf.test.lib/mockito-all-1.8.0-sources.jar
new file mode 100644
index 0000000..947bc5e
--- /dev/null
+++ b/com.google.eclipse.protobuf.test.lib/mockito-all-1.8.0-sources.jar
Binary files differ
diff --git a/com.google.eclipse.protobuf.test.lib/mockito-all-1.8.0.jar b/com.google.eclipse.protobuf.test.lib/mockito-all-1.8.0.jar
new file mode 100644
index 0000000..3b336bf
--- /dev/null
+++ b/com.google.eclipse.protobuf.test.lib/mockito-all-1.8.0.jar
Binary files differ