Skip to content

Unit test for plugin and then some

Robin Rosenberg git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Drop unneeded GitTreeStorageorg.spearce.egit.core/src/org/spearce/egit/core/GitTreeStorage.java+0 -4840 replies
2/4Use the Git sort order.org.spearce.egit.core/src/org/spearce/egit/core/GitBlobStorage.java org.spearce.egit.core/src/org/spearce/egit/core/GitMoveDeleteHook.java org.spearce.egit.core/src/org/spearce/egit/core/GitStorage.java +14 more+160 -1152 replies
3/4Add writeRef method and make writeSymref public.org.spearce.jgit/src/org/spearce/jgit/lib/Repository.java+30 -10 replies
4/4Add a JUnit test project for egit.org.spearce.egit.core.test/.classpath org.spearce.egit.core.test/.project org.spearce.egit.core.test/.settings/org.eclipse.jdt.core.prefs +9 more+918 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [EGIT PATCH 0/4] Unit test for plugin and then some

This adds a JUnit test for the plugin. It doesn't test much yet, but rather than having more people add the infrastructure I submit the skeleton and two small samples here. A writeRef method is implemented to be able to set up the test repository without using native Git.

I also found an unneeded class when using Eclipse 3.3M6. Exterminated.

I also dropped the non-git sort order of trees. This isn't too good looking, but I expect it to be improved in later versions.

-- robin