Repository: lucy
Updated Branches:
  refs/heads/master 63c45cc9a -> 4ad7e2fe6


Disable tests which use ByteBuf non-public API.

The Clownfish ByteBuf API is in flux.  Disable tests which rely on
methods of ByteBuf which have not yet been made public.


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/e351e2ac
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/e351e2ac
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/e351e2ac

Branch: refs/heads/master
Commit: e351e2ac73e89bebd768dff314959bde5ca1d2b2
Parents: 63c45cc
Author: Marvin Humphrey <[email protected]>
Authored: Fri Nov 6 19:36:38 2015 -0800
Committer: Marvin Humphrey <[email protected]>
Committed: Fri Nov 6 19:40:51 2015 -0800

----------------------------------------------------------------------
 go/lucy/store_test.go | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/e351e2ac/go/lucy/store_test.go
----------------------------------------------------------------------
diff --git a/go/lucy/store_test.go b/go/lucy/store_test.go
index d4ef42b..92a1867 100644
--- a/go/lucy/store_test.go
+++ b/go/lucy/store_test.go
@@ -20,9 +20,10 @@ import "testing"
 import "reflect"
 import "os"
 
-import 
"git-wip-us.apache.org/repos/asf/lucy-clownfish.git/runtime/go/clownfish"
+import _ 
"git-wip-us.apache.org/repos/asf/lucy-clownfish.git/runtime/go/clownfish"
 
 func TestRAMFileBasics(t *testing.T) {
+       /*
        fooBytes := []byte("foo")
        contents := clownfish.NewByteBuf(5)
        contents.Cat(fooBytes)
@@ -39,6 +40,7 @@ func TestRAMFileBasics(t *testing.T) {
        if got := ramFile.GetContents().YieldBlob(); !reflect.DeepEqual(got, 
fooBytes) {
                t.Errorf("GetContents: %v", got)
        }
+       */
 }
 
 func TestIOStreamOpenClose(t *testing.T) {
@@ -225,12 +227,14 @@ func TestIOStreamReadWrite(t *testing.T) {
        if err = outStream.WriteF64(1.5); err != nil {
                t.Errorf("WriteF64: %s", err)
        }
+       /*
        barContents := clownfish.NewByteBuf(5)
        barContents.Cat([]byte{3, 'b', 'a', 'r'})
        barInStream, _ := OpenInStream(NewRAMFile(barContents, true))
        if err = outStream.Absorb(barInStream); err != nil {
                t.Errorf("Aborb: %s", err)
        }
+       */
 
        outStream.Close()
        inStream, _ := OpenInStream(file)
@@ -273,9 +277,11 @@ func TestIOStreamReadWrite(t *testing.T) {
        if got, err := inStream.ReadF64(); got != 1.5 || err != nil {
                t.Errorf("ReadF64: %d, %s", got, err)
        }
+       /*
        if got, err := inStream.ReadString(); got != "bar" || err != nil {
                t.Errorf("WriteString/ReadString: %s, %v", got, err)
        }
+       */
 }
 
 func TestIOStreamMisc(t *testing.T) {

Reply via email to