blob: 84cca9337120abbb67ec8e8219161d9b68048f99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package org.openecomp.appc.tools.generator.impl;
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
public class CodeGenWriterTest {
@Test
public void writeTest() throws IOException {
CodeGenWriter codeGenWriter = new CodeGenWriter("destination");
char[] cbuf = {'t','e','s','t'};
int off = 1;
int len = 3;
codeGenWriter.write(cbuf,off,len);
codeGenWriter.flush();
codeGenWriter.close();
Assert.assertNotNull(codeGenWriter);
}
}
|