changeset 689:70cfe98e9556

fixed compilation error
author Devel 1
date Mon, 27 Nov 2017 09:22:06 +0100
parents a10f49da9e45
children fdeaeb7d4da2
files stress-tester/src/main/java/com/passus/st/reader/nc/option/VarOptionCoder.java stress-tester/src/test/java/com/passus/st/reader/nc/option/OptionsReaderWriterTest.java
diffstat 2 files changed, 27 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/reader/nc/option/VarOptionCoder.java	Fri Nov 24 16:12:54 2017 +0100
+++ b/stress-tester/src/main/java/com/passus/st/reader/nc/option/VarOptionCoder.java	Mon Nov 27 09:22:06 2017 +0100
@@ -1,6 +1,7 @@
 package com.passus.st.reader.nc.option;
 
 import com.passus.data.ByteBuff;
+import com.passus.st.reader.nc.NcDataHelper;
 
 /**
  *
@@ -8,6 +9,8 @@
  */
 public class VarOptionCoder implements ValueCoder<VarOption> {
 
+    public static NcDataHelper NC_HELPER = NcDataHelper.getInstance();
+
     @Override
     public void encode(VarOption value, ByteBuff buff) {
         NC_HELPER.writeStringNullTerminated(value.getName(), buff);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/stress-tester/src/test/java/com/passus/st/reader/nc/option/OptionsReaderWriterTest.java	Mon Nov 27 09:22:06 2017 +0100
@@ -0,0 +1,24 @@
+package com.passus.st.reader.nc.option;
+
+import static org.testng.AssertJUnit.*;
+import org.testng.annotations.Test;
+
+/**
+ *
+ * @author mikolaj.podbielski
+ */
+public class OptionsReaderWriterTest {
+
+    @Test
+    public void testOptionWithCode() {
+        
+    }    
+    @Test
+    public void testOptionWithoutCode() {
+    }    
+
+    @Test
+    public void testDefaultCoder() {
+        
+    }    
+}