aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/unit/compressor/compressor_test.go (renamed from compressor/compressor_test.go)0
-rw-r--r--tests/unit/driver/lexer/lexer_test.go (renamed from driver/lexer/lexer_test.go)4
-rw-r--r--tests/unit/driver/parser/conflict_test.go (renamed from driver/parser/conflict_test.go)4
-rw-r--r--tests/unit/driver/parser/lac_test.go (renamed from driver/parser/lac_test.go)4
-rw-r--r--tests/unit/driver/parser/parser_test.go (renamed from driver/parser/parser_test.go)4
-rw-r--r--tests/unit/driver/parser/semantic_action_test.go (renamed from driver/parser/semantic_action_test.go)6
-rw-r--r--tests/unit/driver/parser/syntax_error_test.go (renamed from driver/parser/syntax_error_test.go)4
-rw-r--r--tests/unit/grammar/first_test.go (renamed from grammar/first_test.go)4
-rw-r--r--tests/unit/grammar/grammar_test.go (renamed from grammar/grammar_test.go)4
-rw-r--r--tests/unit/grammar/lalr1_test.go (renamed from grammar/lalr1_test.go)4
-rw-r--r--tests/unit/grammar/lexical/compiler_test.go (renamed from grammar/lexical/compiler_test.go)2
-rw-r--r--tests/unit/grammar/lexical/dfa/dfa_test.go (renamed from grammar/lexical/dfa/dfa_test.go)4
-rw-r--r--tests/unit/grammar/lexical/dfa/symbol_position_test.go (renamed from grammar/lexical/dfa/symbol_position_test.go)0
-rw-r--r--tests/unit/grammar/lexical/dfa/tree_test.go (renamed from grammar/lexical/dfa/tree_test.go)4
-rw-r--r--tests/unit/grammar/lexical/parser/lexer_test.go (renamed from grammar/lexical/parser/lexer_test.go)0
-rw-r--r--tests/unit/grammar/lexical/parser/parser_test.go (renamed from grammar/lexical/parser/parser_test.go)4
-rw-r--r--tests/unit/grammar/lr0_test.go (renamed from grammar/lr0_test.go)4
-rw-r--r--tests/unit/grammar/parsing_table_test.go (renamed from grammar/parsing_table_test.go)4
-rw-r--r--tests/unit/grammar/symbol/symbol_test.go (renamed from grammar/symbol/symbol_test.go)0
-rw-r--r--tests/unit/grammar/test_helper_test.go (renamed from grammar/test_helper_test.go)2
-rw-r--r--tests/unit/spec/grammar/parser/lexer_test.go (renamed from spec/grammar/parser/lexer_test.go)2
-rw-r--r--tests/unit/spec/grammar/parser/parser_test.go (renamed from spec/grammar/parser/parser_test.go)2
-rw-r--r--tests/unit/spec/test/parser_test.go (renamed from spec/test/parser_test.go)0
-rw-r--r--tests/unit/tester/tester_test.go (renamed from tester/tester_test.go)6
-rw-r--r--tests/unit/utf8/utf8_test.go (renamed from utf8/utf8_test.go)0
25 files changed, 36 insertions, 36 deletions
diff --git a/compressor/compressor_test.go b/tests/unit/compressor/compressor_test.go
index 621b731..621b731 100644
--- a/compressor/compressor_test.go
+++ b/tests/unit/compressor/compressor_test.go
diff --git a/driver/lexer/lexer_test.go b/tests/unit/driver/lexer/lexer_test.go
index d32b087..a3d0231 100644
--- a/driver/lexer/lexer_test.go
+++ b/tests/unit/driver/lexer/lexer_test.go
@@ -6,8 +6,8 @@ import (
"strings"
"testing"
- "grammar/lexical"
- spec "spec/grammar"
+ "urubu/grammar/lexical"
+ spec "urubu/spec/grammar"
)
func newLexEntry(modes []string, kind string, pattern string, push string, pop bool) *lexical.LexEntry {
diff --git a/driver/parser/conflict_test.go b/tests/unit/driver/parser/conflict_test.go
index 1a75483..0bc14d4 100644
--- a/driver/parser/conflict_test.go
+++ b/tests/unit/driver/parser/conflict_test.go
@@ -4,8 +4,8 @@ import (
"strings"
"testing"
- "grammar"
- "spec/grammar/parser"
+ "urubu/grammar"
+ "urubu/spec/grammar/parser"
)
func TestParserWithConflicts(t *testing.T) {
diff --git a/driver/parser/lac_test.go b/tests/unit/driver/parser/lac_test.go
index ed9a0b8..c2368e8 100644
--- a/driver/parser/lac_test.go
+++ b/tests/unit/driver/parser/lac_test.go
@@ -4,8 +4,8 @@ import (
"strings"
"testing"
- "grammar"
- "spec/grammar/parser"
+ "urubu/grammar"
+ "urubu/spec/grammar/parser"
)
func TestParserWithLAC(t *testing.T) {
diff --git a/driver/parser/parser_test.go b/tests/unit/driver/parser/parser_test.go
index cdfd922..bca0391 100644
--- a/driver/parser/parser_test.go
+++ b/tests/unit/driver/parser/parser_test.go
@@ -5,8 +5,8 @@ import (
"strings"
"testing"
- "grammar"
- "spec/grammar/parser"
+ "urubu/grammar"
+ "urubu/spec/grammar/parser"
)
func termNode(kind string, text string, children ...*Node) *Node {
diff --git a/driver/parser/semantic_action_test.go b/tests/unit/driver/parser/semantic_action_test.go
index 8c224e2..cb3ee70 100644
--- a/driver/parser/semantic_action_test.go
+++ b/tests/unit/driver/parser/semantic_action_test.go
@@ -5,9 +5,9 @@ import (
"strings"
"testing"
- "grammar"
- spec "spec/grammar"
- "spec/grammar/parser"
+ "urubu/grammar"
+ spec "urubu/spec/grammar"
+ "urubu/spec/grammar/parser"
)
type testSemAct struct {
diff --git a/driver/parser/syntax_error_test.go b/tests/unit/driver/parser/syntax_error_test.go
index c508be6..90e5bd2 100644
--- a/driver/parser/syntax_error_test.go
+++ b/tests/unit/driver/parser/syntax_error_test.go
@@ -6,8 +6,8 @@ import (
"strings"
"testing"
- "grammar"
- "spec/grammar/parser"
+ "urubu/grammar"
+ "urubu/spec/grammar/parser"
)
func TestParserWithSyntaxErrors(t *testing.T) {
diff --git a/grammar/first_test.go b/tests/unit/grammar/first_test.go
index ea1a61c..9625ef6 100644
--- a/grammar/first_test.go
+++ b/tests/unit/grammar/first_test.go
@@ -4,8 +4,8 @@ import (
"strings"
"testing"
- "grammar/symbol"
- "spec/grammar/parser"
+ "urubu/grammar/symbol"
+ "urubu/spec/grammar/parser"
)
type first struct {
diff --git a/grammar/grammar_test.go b/tests/unit/grammar/grammar_test.go
index 4a3c6a0..ddedb27 100644
--- a/grammar/grammar_test.go
+++ b/tests/unit/grammar/grammar_test.go
@@ -4,8 +4,8 @@ import (
"strings"
"testing"
- verr "error"
- "spec/grammar/parser"
+ verr "urubu/error"
+ "urubu/spec/grammar/parser"
)
func TestGrammarBuilderOK(t *testing.T) {
diff --git a/grammar/lalr1_test.go b/tests/unit/grammar/lalr1_test.go
index d08468d..fd09333 100644
--- a/grammar/lalr1_test.go
+++ b/tests/unit/grammar/lalr1_test.go
@@ -4,8 +4,8 @@ import (
"strings"
"testing"
- "grammar/symbol"
- "spec/grammar/parser"
+ "urubu/grammar/symbol"
+ "urubu/spec/grammar/parser"
)
func TestGenLALR1Automaton(t *testing.T) {
diff --git a/grammar/lexical/compiler_test.go b/tests/unit/grammar/lexical/compiler_test.go
index 3336048..b621cd2 100644
--- a/grammar/lexical/compiler_test.go
+++ b/tests/unit/grammar/lexical/compiler_test.go
@@ -5,7 +5,7 @@ import (
"fmt"
"testing"
- spec "spec/grammar"
+ spec "urubu/spec/grammar"
)
func TestLexSpec_Validate(t *testing.T) {
diff --git a/grammar/lexical/dfa/dfa_test.go b/tests/unit/grammar/lexical/dfa/dfa_test.go
index 9af9aeb..38577cf 100644
--- a/grammar/lexical/dfa/dfa_test.go
+++ b/tests/unit/grammar/lexical/dfa/dfa_test.go
@@ -4,8 +4,8 @@ import (
"strings"
"testing"
- "grammar/lexical/parser"
- spec "spec/grammar"
+ "urubu/grammar/lexical/parser"
+ spec "urubu/spec/grammar"
)
func TestGenDFA(t *testing.T) {
diff --git a/grammar/lexical/dfa/symbol_position_test.go b/tests/unit/grammar/lexical/dfa/symbol_position_test.go
index c867f64..c867f64 100644
--- a/grammar/lexical/dfa/symbol_position_test.go
+++ b/tests/unit/grammar/lexical/dfa/symbol_position_test.go
diff --git a/grammar/lexical/dfa/tree_test.go b/tests/unit/grammar/lexical/dfa/tree_test.go
index 188fe95..de3ebbb 100644
--- a/grammar/lexical/dfa/tree_test.go
+++ b/tests/unit/grammar/lexical/dfa/tree_test.go
@@ -5,8 +5,8 @@ import (
"strings"
"testing"
- "grammar/lexical/parser"
- spec "spec/grammar"
+ "urubu/grammar/lexical/parser"
+ spec "urubu/spec/grammar"
)
func TestByteTree(t *testing.T) {
diff --git a/grammar/lexical/parser/lexer_test.go b/tests/unit/grammar/lexical/parser/lexer_test.go
index 055466e..055466e 100644
--- a/grammar/lexical/parser/lexer_test.go
+++ b/tests/unit/grammar/lexical/parser/lexer_test.go
diff --git a/grammar/lexical/parser/parser_test.go b/tests/unit/grammar/lexical/parser/parser_test.go
index e876d3b..4c9557d 100644
--- a/grammar/lexical/parser/parser_test.go
+++ b/tests/unit/grammar/lexical/parser/parser_test.go
@@ -6,8 +6,8 @@ import (
"strings"
"testing"
- spec "spec/grammar"
- "ucd"
+ spec "urubu/spec/grammar"
+ "urubu/ucd"
)
func TestParse(t *testing.T) {
diff --git a/grammar/lr0_test.go b/tests/unit/grammar/lr0_test.go
index 798c2fa..0a9ec24 100644
--- a/grammar/lr0_test.go
+++ b/tests/unit/grammar/lr0_test.go
@@ -5,8 +5,8 @@ import (
"strings"
"testing"
- "grammar/symbol"
- "spec/grammar/parser"
+ "urubu/grammar/symbol"
+ "urubu/spec/grammar/parser"
)
type expectedLRState struct {
diff --git a/grammar/parsing_table_test.go b/tests/unit/grammar/parsing_table_test.go
index 098adf9..342e187 100644
--- a/grammar/parsing_table_test.go
+++ b/tests/unit/grammar/parsing_table_test.go
@@ -5,8 +5,8 @@ import (
"strings"
"testing"
- "grammar/symbol"
- "spec/grammar/parser"
+ "urubu/grammar/symbol"
+ "urubu/spec/grammar/parser"
)
type expectedState struct {
diff --git a/grammar/symbol/symbol_test.go b/tests/unit/grammar/symbol/symbol_test.go
index 31c3edd..31c3edd 100644
--- a/grammar/symbol/symbol_test.go
+++ b/tests/unit/grammar/symbol/symbol_test.go
diff --git a/grammar/test_helper_test.go b/tests/unit/grammar/test_helper_test.go
index 63fcafb..546d2c1 100644
--- a/grammar/test_helper_test.go
+++ b/tests/unit/grammar/test_helper_test.go
@@ -3,7 +3,7 @@ package grammar
import (
"testing"
- "grammar/symbol"
+ "urubu/grammar/symbol"
)
type testSymbolGenerator func(text string) symbol.Symbol
diff --git a/spec/grammar/parser/lexer_test.go b/tests/unit/spec/grammar/parser/lexer_test.go
index c0beaf9..c402b42 100644
--- a/spec/grammar/parser/lexer_test.go
+++ b/tests/unit/spec/grammar/parser/lexer_test.go
@@ -4,7 +4,7 @@ import (
"strings"
"testing"
- verr "error"
+ verr "urubu/error"
)
func TestLexer_Run(t *testing.T) {
diff --git a/spec/grammar/parser/parser_test.go b/tests/unit/spec/grammar/parser/parser_test.go
index 77863e8..4161f6b 100644
--- a/spec/grammar/parser/parser_test.go
+++ b/tests/unit/spec/grammar/parser/parser_test.go
@@ -4,7 +4,7 @@ import (
"strings"
"testing"
- verr "error"
+ verr "urubu/error"
)
func TestParse(t *testing.T) {
diff --git a/spec/test/parser_test.go b/tests/unit/spec/test/parser_test.go
index eddba92..eddba92 100644
--- a/spec/test/parser_test.go
+++ b/tests/unit/spec/test/parser_test.go
diff --git a/tester/tester_test.go b/tests/unit/tester/tester_test.go
index df5cb07..3c6b1db 100644
--- a/tester/tester_test.go
+++ b/tests/unit/tester/tester_test.go
@@ -5,9 +5,9 @@ import (
"strings"
"testing"
- "grammar"
- "spec/grammar/parser"
- tspec "spec/test"
+ "urubu/grammar"
+ "urubu/spec/grammar/parser"
+ tspec "urubu/spec/test"
)
func TestTester_Run(t *testing.T) {
diff --git a/utf8/utf8_test.go b/tests/unit/utf8/utf8_test.go
index 2dc8093..2dc8093 100644
--- a/utf8/utf8_test.go
+++ b/tests/unit/utf8/utf8_test.go